Claims
- 1. A method for concurrency control in a computerized database system, said method comprising:
receiving a database access request message from a transaction; generating an element to correspond to the access request message, wherein said element is selected from a group consisting of: a read element, a commit element, a validated element, and a restart element; posting said element to a read-commit (RC) queue; invoking an intervening validation of said transaction upon the posting of said commit element to said RC-queue; and performing the requested database access upon said transaction passing said intervening validation.
- 2. The method of claim 1, wherein said element is always posted to a bottom of said RC-queue.
- 3. The method of claim 1, wherein said intervening validation comprises:
failing validation of said transaction upon said transaction having at least two elements that conflict with intervening elements of another transaction; and passing validation of said transaction upon having only one element that conflicts with intervening elements of another transaction.
- 4. The method of claim 1, wherein a write database access request message from said transaction is contained within said commit element.
- 5. The method of claim 1, wherein the requested database access is performed in the same order as the postings to said RC-queue.
- 6. The method of claim 1, wherein said intervening validation process ensures that a validated transaction is represented by only one element in said RC-queue.
- 7. A concurrency control system, comprising:
a client, wherein said client produces a transaction having a database access request message; a server in communication with said client, said server having a scheduler and a data manager, wherein said scheduler:
generates an element corresponding to said database access request message, said element selected from a group consisting of: a read element, a commit element, a validated element, and a restart element; posts said element to a read-commit (RC) queue; and performs an intervening validation of said transaction when said element comprises said commit element; and, wherein said data manager performs the requested database access upon said transaction passing said intervening validation.
- 8. The system of claim 7, wherein the generated element is always posted to the bottom of said RC-queue.
- 9. The system of claim 7, wherein said intervening validation fails upon said transaction having at least two elements that conflict with intervening elements of another transaction and wherein said intervening validation passes upon said transaction having only one element that conflicts with intervening elements of another transaction.
- 10. The system of claim 7, wherein a write database access request message corresponds to a commit element.
- 11. The system of claim 7, wherein the requested database access is performed in the same order as the postings to said RC-queue.
- 12. The system of claim 7, wherein the performance of said intervening validation ensures that a validated transaction is represented by only one element in said RC-queue.
- 13. A system for concurrency control of a computerized database, comprising:
transaction means for producing a transaction incorporating a database access request message; and data handling means for receiving said database access request message from said transaction means, for generating an element corresponding to said database access request message wherein said element selected from a group consisting of: a read element, a commit element, a validated element, and a restart element, for posting the corresponding element to a read-commit (RC) queue, for performing an intervening validation of said transaction when said element comprises a commit element, and for performing the requested database access upon said commit element passing said intervening validation.
- 14. The system of claim 13, wherein the generated element is always posted to the bottom of the RC-queue.
- 15. The system of claim 13, wherein said intervening validation fails upon said transaction having at least two elements that conflict with intervening elements of another transaction and wherein said intervening validation passes upon said transaction having only one element that conflicts with intervening elements of another transaction.
- 16. The system of claim 13, wherein a write database access request message corresponds to a commit element.
- 17. The system of cl aim 13, wherein the requested database access is performed in the same order as the postings to said RC-queue.
- 18. The system of claim 13, wherein the performance of said intervening validation ensures that a validated transaction is represented by only one element.
- 19. A method for concurrency control in a computerized database system, comprising the steps of:
receiving a database access request message from a transaction; generating an element to correspond to the access request message; posting said element to a read-commit (RC) queue; performing an intervening validation of said transaction when said element comprises a commit element; and performing the requested database access upon said transaction passing said intervening validation.
- 20. The method of claim 19, wherein said element is selected from a group consisting of: a read element, a commit element, a validation element, and a restart element.
CLAIM TO PRIORITY
[0001] The present application claims priority to United States Provisional Patent Application No. 60/249,084, filed Nov. 15, 2000, and entitled “Read-Commit Concurrency Control System and Method.” The identified provisional patent application is hereby incorporated by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60249084 |
Nov 2000 |
US |