Method and mechanism for rolling back a transaction on a row of data
First Claim
Patent Images
1. A computer implemented method to compensate for changes to data in a database system made by a committed transaction, comprising:
- identifying a data item accessed by the committed transaction;
identifying the committed transaction using the identified data item;
using the identified committed transaction to identify one or more other data items accessed by the committed transaction;
determining whether a dependency exists with respect to another committed transaction based upon compensating for any access made by the committed transaction to the data item or the one or more other data items; and
compensating for an access made by the committed transaction to the data item or the one or more other data items, wherein the access made by the committed transaction is compensated by performing a roll-back operation.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and mechanism to compensate for the effects of a transaction in a database system is disclosed. Also disclosed is a method and mechanism for identifying one or more transactions that have modified or created an object in a database system. The disclosed approach can be applied to perform auditing for queries in a database system and for identifying the scope of changes and data accesses made by a transaction in the system.
-
Citations
48 Claims
-
1. A computer implemented method to compensate for changes to data in a database system made by a committed transaction, comprising:
-
identifying a data item accessed by the committed transaction; identifying the committed transaction using the identified data item; using the identified committed transaction to identify one or more other data items accessed by the committed transaction; determining whether a dependency exists with respect to another committed transaction based upon compensating for any access made by the committed transaction to the data item or the one or more other data items; and compensating for an access made by the committed transaction to the data item or the one or more other data items, wherein the access made by the committed transaction is compensated by performing a roll-back operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer implemented method to compensate for changes to data in a database system made by a committed transaction, comprising:
-
committing a transaction; determining whether a critical dependency exists for the committed transaction, wherein the critical dependency comprises an intervening transaction; and without restoring an entire database archive, rolling back changes made by the committed transaction based at least in part on a result of the act of determining, thereby compensating for the changes to the data. - View Dependent Claims (16, 17, 18, 19, 20, 41, 42, 43)
-
-
21. A computer program product comprising a tangible computer usable medium having executable code to execute a process on a computer to compensate for changes to data in a database system made by a committed transaction, the process comprising the steps of:
-
committing a transaction; determining whether a critical dependency exists for the committed transaction, wherein the critical dependency comprises an intervening transaction; and without restoring an entire database archive, rolling back changes made by the committed transaction based at least in part on a result of the act of determining, thereby compensating for the changes to the data. - View Dependent Claims (25, 26, 27, 28, 29, 44, 45, 46)
-
-
22. A system to compensate for changes to data in a database system made by a committed transaction, comprising:
-
means for committing a transaction; means for determining whether a critical dependency exists for the committed transaction, wherein the critical dependency comprises an intervening transaction; and means for rolling back changes made by the committed transaction without restoring an entire database archive based at least in part on a result of the act of determining, thereby compensating for the changes to the data. - View Dependent Claims (30, 47, 48)
-
-
23. A computer program product comprising a tangible computer usable medium having executable code to execute a process to compensate for changes to data in a database system made by a committed transaction, the process comprising the steps of:
-
identifying a data item accessed by the committed transaction; identifying the committed transaction using the identified data item; using the identified committed transaction to identify one or more other data items accessed by the committed transaction; determining whether a dependency exists with respect to another committed transaction based upon compensating for any access made by the committed transaction to the data item or the one or more other data items; and compensating for an access made by the committed transaction to the data item or the one or more other data items, wherein the access made by the committed transaction is compensated by performing a roll-back operation. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37)
-
-
24. A system to compensate for changes to data in a database system made by a committed transaction, comprising:
-
means for identifying a data item accessed by the committed transaction; means for identifying the committed transaction using the identified data item; means for using the identified committed transaction to identify one or more other data items were accessed by the committed transaction; means for determining whether a dependency exists with respect to another committed transaction based upon compensating for any access made by the committed transaction to the data item or the one or more other data items; and means for compensating for an access made by the committed transaction to the data item or the one or more other data items, wherein the means for compensating is configured to perform a roll-back operation. - View Dependent Claims (38, 39, 40)
-
Specification