Enforcing temporal uniqueness of index keys utilizing key-valued locking in the presence of pseudo-deleted keys
AssigneeInternational Business Machines Corporation
InventorsRobert W. LYLE, Ping WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsRobert W. LYLE, Ping WANG
Estimating the term…
Techniques are described for identifying conflicts between an index of temporal keys and a prospective temporal key. The prospective temporal key specifies a prospective range of time. Embodiments scan the index to identify a first temporal key that potentially conflicts with the prospective temporal key. The first temporal key specifies a first range of time and is identified based on a comparison between the first range of time and the prospective range of time. Embodiments determine whether the prospective temporal key conflicts with any temporal keys in the index, where the prospective temporal key conflicts with the first temporal key if the first range of time overlaps with the prospective range of time and the first temporal key is not a pseudo-deleted key, and such that the prospective temporal key does not conflict with any temporal keys if the temporal key does not conflict with the first temporal key.
A method for identifying conflicts between an index of temporal keys and a prospective temporal key to be inserted into the index, wherein the temporal keys in the index are sorted based at least in part on a time value associated with each of the temporal keys, and wherein the prospective temporal key specifies a prospective range of time, comprising:
A computer-readable storage medium containing computer program code that, when executed, performs an operation for identifying conflicts between an index of temporal keys and a prospective temporal key to be inserted into the index, wherein the temporal keys in the index are sorted based at least in part on a time value associated with each of the temporal keys, and wherein the prospective temporal key specifies a prospective range of time, the operation comprising:
A system, comprising:
Dependencies are inferred from the claim text.