Dependent commit queue for a database
First Claim
Patent Images
1. A database, comprising:
- a database interface; and
a processor configured to;
determine a first update to a first set of information in the database, wherein the first update further comprises a first condition for submitting to a commit queue, wherein the first condition comprises limits to changes that can be made to the first set of information, wherein the first condition further comprises reading a first value of a first database entry in the database in order to be evaluated, wherein the first condition is dependent on the first value of the first database entry;
determine a second update to a second set of information in the database, wherein a first element of the first set of information comprises a second element of the second set of information, wherein the second update is dependent on the first update, wherein the second update further comprises a second condition for submitting to the commit queue, wherein the second condition comprises limits to changes that can be made to the second set of information, wherein the second condition comprises reading a second value of a second database entry in the database in order to be evaluated, wherein the second condition is dependent on the second value of the second database entry;
submit a first update request for the first update to the first set of information to the commit queue in the event that the first condition is passed;
submit a second update request for the second update to the second set of information to the commit queue in the event that the second condition is passed;
determine whether the first update has been committed;
in the event that the first update has been successfully committed, commit the second update to the second set of information;
in the event that the first update has not been successfully committed, remove dependent update requests from the commit queue, wherein the dependent update requests include the second update request, and indicate an error in updating.
6 Assignments
0 Petitions
Accused Products
Abstract
A database comprises a database interface and a database updater. The database interface receives a first set of information and a second set of information to be updated in the database. The database updater updates a second set of information in the database based at least in part on a condition that a first set of information in the database has been previously updated.
-
Citations
41 Claims
-
1. A database, comprising:
-
a database interface; and a processor configured to; determine a first update to a first set of information in the database, wherein the first update further comprises a first condition for submitting to a commit queue, wherein the first condition comprises limits to changes that can be made to the first set of information, wherein the first condition further comprises reading a first value of a first database entry in the database in order to be evaluated, wherein the first condition is dependent on the first value of the first database entry; determine a second update to a second set of information in the database, wherein a first element of the first set of information comprises a second element of the second set of information, wherein the second update is dependent on the first update, wherein the second update further comprises a second condition for submitting to the commit queue, wherein the second condition comprises limits to changes that can be made to the second set of information, wherein the second condition comprises reading a second value of a second database entry in the database in order to be evaluated, wherein the second condition is dependent on the second value of the second database entry; submit a first update request for the first update to the first set of information to the commit queue in the event that the first condition is passed; submit a second update request for the second update to the second set of information to the commit queue in the event that the second condition is passed; determine whether the first update has been committed; in the event that the first update has been successfully committed, commit the second update to the second set of information; in the event that the first update has not been successfully committed, remove dependent update requests from the commit queue, wherein the dependent update requests include the second update request, and indicate an error in updating. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method for a database, comprising:
-
determining a first update to a first set of information in the database, wherein the first update further comprises a first condition for submitting to a commit queue, wherein the first condition comprises limits to changes that can be made to the first set of information, wherein the first condition further comprises reading a first value of a first database entry in the database in order to be evaluated, wherein the first condition is dependent on the first value of the first database entry; determining a second update to a second set of information in the database, wherein a first element of the first set of information comprises a second element of the second set of information, wherein the second update is dependent on the first update, wherein the second update further comprises a second condition for submitting to the commit queue, wherein the second condition comprises limits to changes that can be made to the second set of information, wherein the second condition comprises reading a second value of a second database entry in the database in order to be evaluated, wherein the second condition is dependent on the second value of the second database entry; submitting a first update request for the first update to the first set of information to the commit queue in the event that the first condition is passed; submitting a second update request for the second update to the second set of information to the commit queue in the event that the second condition is passed; determining whether the first update has been committed; in the event that the first update has been successfully committed, committing the second update to the second set of information; in the event that the first update has not been successfully committed, removing dependent update requests from the commit queue, wherein the dependent update requests include the second update request, and indicating an error in updating. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41)
-
-
22. A computer program product for committing a plurality of updates, the computer program product being embodied in a non-transitory computer readable storage medium and comprising executable computer instructions when executed by a computer processor to perform the steps of:
-
determining a first update to a first set of information in the database, wherein the first update further comprises a first condition for submitting to a commit queue, wherein the first condition comprises limits to changes that can be made to the first set of information, wherein the first condition further comprises reading a first value of a first database entry in the database in order to be evaluated, wherein the first condition is dependent on the first value of the first database entry; determining a second update to a second set of information in the database, wherein a first element of the first set of information comprises a second element of the second set of information, wherein the second update is dependent on the first update, wherein the second update further comprises a second condition for submitting to the commit queue, wherein the second condition comprises limits to changes that can be made to the second set of information, wherein the second condition comprises reading a second value of a second database entry in the database in order to be evaluated, wherein the second condition is dependent on the second value of the second database entry; submit a first update request for the first update to the first set of information to the commit queue in the event that the first condition is passed; submit a second update request for second update to the second set of information to the commit queue in the event that the second condition is passed; determine whether the first update has been committed; in the event that the first update has been successfully committed, committing the second update to the second set of information; in the event that the first update has not been successfully committed, removing dependent update requests from the commit queue, wherein the dependent update requests include the second update request, and indicating an error in updating.
-
Specification