Transaction log management in a disconnectable computer and network
First Claim
1. A method for managing a transaction log, the log representing a sequence of transactions in a network of connectable computers, each transaction containing at least one update targeting a target database object in a distributed hierarchical target database that contains convergently consistent replicas residing on separate computers in the network, the method comprising the steps of:
- identifying an incompressible sequence of updates in the transaction log;
ruling out those updates in the incompressible sequence as candidates for removal from the transaction log;
identifying at least one redundant update in the transaction log which is not in the incompressible sequence; and
removing the redundant update from the transaction log.
5 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are disclosed for managing a transaction log which contains updates representing operations performed on a database replica in a network of disconnectable computers. The invention provides for compression of the log by the identification and removal of redundant updates. Log compression removes apparent inconsistencies between operations performed on disconnected computers, reduces storage requirements on each computer, and speeds up transaction synchronization when the computers are reconnected. The invention also provides for restoration of prior versions of database objects using the log.
-
Citations
36 Claims
-
1. A method for managing a transaction log, the log representing a sequence of transactions in a network of connectable computers, each transaction containing at least one update targeting a target database object in a distributed hierarchical target database that contains convergently consistent replicas residing on separate computers in the network, the method comprising the steps of:
-
identifying an incompressible sequence of updates in the transaction log;
ruling out those updates in the incompressible sequence as candidates for removal from the transaction log;
identifying at least one redundant update in the transaction log which is not in the incompressible sequence; and
removing the redundant update from the transaction log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for managing a transaction log, the log representing a sequence of transactions in a network of connectable computers, each transaction containing at least one update targeting a target database object in a distributed target database that contains replicas residing on separate computers in the network, the method comprising the steps of:
-
identifying an incompressible sequence of updates in the transaction log;
identifying for consolidation at least two target database updates in the log, the identified updates being not all adjacent one another, and the identified updates including at least one candidate redundant update which is not in the incompressible sequence;
repositioning for consolidation at least one of the identified updates so the repositioned update is adjacent to at least one other update which was identified for consolidation; and
consolidating at least two target database updates by replacing the repositioned update and an adjacent update by a single equivalent update, thereby removing the candidate redundant update from the transaction log. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A computer-readable storage medium having a configuration that represents data and instructions which cause a disconnectable computer to perform method steps for managing a transaction log, the log representing a sequence of transactions in a network of connectable computers, each transaction containing at least one update targeting a target database object in a distributed hierarchical target database that contains replicas residing on separate computers in the network, the method comprising the steps of:
-
identifying an incompressible sequence of updates in the transaction log;
creating a log database representing at least a specified portion of the transaction log, the log database containing a log database object corresponding to an update in the specified portion and also containing a log database object corresponding to a transaction in the specified portion of the transaction log; and
creating an update history structure which associates each target database object with the log database objects, if any, that correspond to updates referencing the given target database object. - View Dependent Claims (27)
-
-
28. A system for managing a transaction log, comprising:
-
a transaction log representing a sequence of transactions in a network of connectable computers, each transaction containing at least one update targeting a target database object in a distributed target database that contains convergently consistent replicas residing on separate computers in the network, a computer means for storing the log; and
a computer means for executing programmed instructions for identifying at least one redundant update in the transaction log and removing the redundant update from the transaction log, comprising a means for identifying an incompressible sequence of updates in the transaction log. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36)
-
Specification