Techniques for increasing the usefulness of transaction logs
AssigneeOracle International Corporation
InventorsJoydip Kundu, Qinqin Wang, Goutam Kulkarni
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsJoydip Kundu, Qinqin Wang, Goutam Kulkarni
Estimating the term…
Techniques for making light-weight checkpoints in logs of streams of transactions and for extending the logs from the checkpoints. The state saved in the light weight checkpoint need only include the state of all transactions that are active at a prior point in the log and are still active at the checkpoint. A log is extended from the checkpoint by processing new transactions in the transaction stream beginning at the prior point to produce the extending log. When the checkpoint is reached, the state saved at the checkpoint is used to continue to produce the extending log. Techniques are further disclosed for selecting points in the stream of transactions at which the checkpoints may be made and for determining the distance between checkpoints. As disclosed, the log in which the checkpoints are used is a logical log made from a physical log produced by a relational database system. The logical log may be used for replication and for data mining.
A method of making a checkpoint in a log of a stream of transactions, the method being executed by a computer processor in a database management system, the checkpoint representing a point in the transaction stream and specifying saved state, the specified saved state being used to extend the log from the specified point, and the method comprising:
A method of making a log of a stream of transactions that extends a previously-made log from a checkpoint in the previously-made log, the method being executed by a computer processor in a database management system, the checkpoint representing a point in the stream of transactions and providing access to saved state that is required only to include the state of all transactions that are active both at the point represented by the checkpoint and at a prior point in the previously-made log that corresponds to a prior point in the stream, the method comprising the steps of:
A method of determining where to make checkpoint from which a log of a transaction stream can be extended, the method being executed by a computer processor in a database management system, extension of a log from a given checkpoint requiring processing of information about the transaction stream beginning from a checkpoint prior to the given checkpoint and the method comprising the steps of;
A method of creating a checkpoint in a logical log of a stream of transactions that is made using a physical log of the stream of transactions, the method being executed by a computer processor in a database management system, the checkpoint representing a point in the physical log and specifying saved state, the specified saved state being used to extend the logical log from the specified point, and the method comprising the steps of:
A method of making a logical log of a stream of transactions that extends a previously-made logical log from a checkpoint in the previously-made logical log, the method being executed by a computer processor in a database management system, the logical logs being made from a physical log of the stream of transactions, the checkpoint representing a point in the physical log, and the checkpoint providing access to saved state that is required to include only the state of all transactions that are uncommitted at both the point represented by the checkpoint and a prior point in the physical log, the method comprising the steps of:
A database management system comprising:
A database management system comprising:
A method of determining where to make a checkpoint in a logical log of a stream of transactions, the method being executed by a computer processor in a database management system, the logical log being made from a physical log comprising blocks indicating changes made by transactions in the stream and certain of the blocks being unsafe for checkpointing, the method comprising the steps of:
A database management system comprising:
A database management system comprising:
Dependencies are inferred from the claim text.