METHOD FOR MIRRORING A LOG FILE BY THRESHOLD DRIVEN SYNCHRONIZATION
First Claim
1. A method of mirroring log data from a primary storage subsystem to a secondary storage subsystem, the method comprising:
- initiating a transaction;
determining a value of the transaction;
adding the value of the transaction to a cumulative value of transaction values since a most recent synchronous mirroring;
performing an asynchronous mirroring of said log data when the cumulative value does not exceed a damage threshold; and
performing a synchronous mirroring of said log data when the cumulative value exceeds the damage threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for of accelerating database log hardening using specific per block data protection and damage control is provided. A per write specification is implemented to determine when database log data is mirrored synchronously or asynchronously. Synchronous mirroring is performed upon reaching a predetermined threshold, based on one or more parameters such as transaction value, both individual and cumulative, and the quantity of data written since the last synchronous mirroring. As data is added to the database log, it is written specifying asynchronous mirroring to the primary log file. Once a threshold is met, a write specifying synchronous mirroring is performed to both the primary and secondary log files, thereby hardening the log file in both primary and secondary storage subsystem.
6 Citations
25 Claims
-
1. A method of mirroring log data from a primary storage subsystem to a secondary storage subsystem, the method comprising:
-
initiating a transaction; determining a value of the transaction; adding the value of the transaction to a cumulative value of transaction values since a most recent synchronous mirroring; performing an asynchronous mirroring of said log data when the cumulative value does not exceed a damage threshold; and performing a synchronous mirroring of said log data when the cumulative value exceeds the damage threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for mirroring log data from a primary storage subsystem to a secondary storage subsystem, comprising:
a non-transitory computer usable medium having computer usable code embodied therewith, the computer program product comprising; computer usable code configured for initiating a transaction; computer usable code configured for determining a value of the transaction; computer usable code configured for adding the value of the transaction to a cumulative value of transaction values since a most recent synchronous mirroring; computer usable code configured for asynchronously mirroring of said log data when the cumulative value does not exceed a damage threshold; computer usable code configured for synchronously mirroring said log data when the cumulative value exceeds the damage threshold. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
16. A method of mirroring database transaction log data from a primary storage subsystem to a secondary storage subsystem, the method comprising:
-
initializing a damage counter; initiating several transactions; upon initiating each transaction, determining a value of the transaction; upon determining the value of each transaction, updating the damage counter based on the value of the transaction to a cumulative value of the transactions processed after a most recent synchronous mirroring; and performing a synchronous mirroring of said log data when a value of said damage counter is greater than a damage threshold. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A method of mirroring database transaction log data from a primary storage subsystem to a secondary storage subsystem, the method comprising:
-
initiating a transaction; determining whether a physical data threshold is reached; performing an asynchronous mirroring of said log data when the physical data threshold is not yet reached; and performing a synchronous mirroring of said log data when said physical data threshold is reached. - View Dependent Claims (22, 23, 24, 25)
-
Specification