Database concurrency control through hash-bucket latching
Assigneesalesforce.com, inc.
InventorsThomas Fanghaenel, Patrick James Helland, James E. Mace
Life of this patent
Estimating the term…
Loading patent…
Assigneesalesforce.com, inc.
InventorsThomas Fanghaenel, Patrick James Helland, James E. Mace
Estimating the term…
Techniques are disclosed relating to efficiently processing of concurrent database transactions. In one embodiment, a database system receives a first key-value pair for a database transaction and stores the key-value pair in a data structure for active database transactions. The storing may include indexing into a hash table of the data structure with a key of the key-value pair to identify a hash bucket of the hash table corresponding to the key, acquiring a latch associated with the identified hash bucket, and, based on a state of the acquired latch, appending, to the hash bucket, a record specifying the key-value pair. The database system may cause the key-value pair from the data structure to be committed to persistent storage in response to the database transaction being committed.
A method for storing data in a data structure for a plurality of active database transactions of a computer system for use in association with a persistent storage for a database system for database transactions by the computer system, the method comprising:
A non-transitory computer readable medium having program instructions stored thereon that are capable of causing a computing system to implement operations comprising:
A non-transitory computer readable medium having program instructions stored thereon that are capable of causing a computing system to implement operations comprising:
A non-transitory computer readable medium having program instructions stored thereon that are capable of causing a database system to implement operations comprising:
Dependencies are inferred from the claim text.