Invention Grant
- Patent Title: Method for serializing transactions to enforce general-purpose integrity constraints
-
Application No.: US16247434Application Date: 2019-01-14
-
Publication No.: US11080268B2Publication Date: 2021-08-03
- Inventor: Toon Koppelaars
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Becker Bingham Ledesma LLP
- Main IPC: G06F16/23
- IPC: G06F16/23 ; G06F16/2455 ; G06F16/22

Abstract:
Techniques are disclosed for serializing assertion-triggering transactions by locking special purpose resources (i.e. other than rows or tables), which enables a high level of concurrency for these transactions while at the same time ensuring correctness of the SQL assertion validation code. The techniques involve creating objects referred to therein as “Assertion-Locking Memory-Objects” or “ALMOs”. The database server causes each assertion-triggering transaction to obtain locks on one or more ALMOs prior to determining whether the changes made by assertion-triggering transaction violates the assertion. Because locks on the ALMOs are finer than the table locks, fewer transactions are blocked by ALMO locks.
Public/Granted literature
- US20200226122A1 METHOD FOR SERIALIZING TRANSACTIONS TO ENFORCE GENERAL-PURPOSE INTEGRITY CONSTRAINTS Public/Granted day:2020-07-16
Information query