Invention Grant
- Patent Title: Reader bias based locking technique enabling high read concurrency for read-mostly workloads
-
Application No.: US17020655Application Date: 2020-09-14
-
Publication No.: US11170816B2Publication Date: 2021-11-09
- Inventor: David Dice , Alex Kogan
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G11B27/36
- IPC: G11B27/36 ; G11B20/10 ; G11C16/26 ; G06F16/23 ; G06F9/52 ; G06F16/43

Abstract:
A data object has a lock and a condition indicator associated with it. Based at least partly on detecting a first setting of the condition indicator, a reader stores an indication that the reader has obtained read access to the data object in an element of a readers structure and reads the data object without acquiring the lock. A writer detects the first setting and replaces it with a second setting, indicating that the lock is to be acquired by readers before reading the data object. Prior to performing a write on the data object, the writer verifies that one or more elements of the readers structure have been cleared.
Information query