DBMS backup without suspending updates and corresponding recovery using separately stored log and data files
First Claim
1. A database management system comprising:
- a mainline database system that makes modifications to data in the database management system using a write-ahead logging protocol;
stores data on a first set of storage volumes and stores log records on a second set of storage volumes;
restores consistency between the log records and the data during a restart, and while a backup system lock is held by a backup utility, continues updating objects except for suspending actions that change an external file system catalog, suspending writing updates of objects that extend across a storage volume boundary; and
freezing a REDO log point in checkpoint information while the backup system lock is taken by the backup utility.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for performing a system level backup of a log-ahead database management system (DBMS) without suspending updates by application programs is described. The DBMS comprises a database mainline system, a backup utility and a restore utility. The data and log records are stored on separate storage volumes. Log records are written to identify objects that require special handling during the point-in-time recovery. The database engine operates normally during a backup except for suspending actions that would alter the file system catalog or write updates across a storage volume boundary; and by freezing the REDO log point in its checkpoint information. The backup utility copies the data volumes first and optionally the log volumes second while updates are allowed. The resulting inconsistencies are resolved either during a DBMS restart or during a point-in-time (PIT) recovery performed by the restore utility.
-
Citations
33 Claims
-
1. A database management system comprising:
a mainline database system that makes modifications to data in the database management system using a write-ahead logging protocol;
stores data on a first set of storage volumes and stores log records on a second set of storage volumes;
restores consistency between the log records and the data during a restart, and while a backup system lock is held by a backup utility, continues updating objects except for suspending actions that change an external file system catalog, suspending writing updates of objects that extend across a storage volume boundary; and
freezing a REDO log point in checkpoint information while the backup system lock is taken by the backup utility.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A database management system, that performs a backup without suspending updates and the backup can be restored using a write-ahead logging protocol restart, comprising:
-
means for modifying data in the database management system using a write-ahead logging protocol;
means for restoring consistency between the log records and the data during a restart;
means for storing data on a first set of storage volumes and storing log records on a second set of storage volumes;
means for freezing a REDO log point in checkpoint information while a backup system lock is taken; and
means for continuing to update the data while the backup system lock is taken, except for suspending actions that change an external file system catalog, and except for suspending writing updates of objects that extend across a storage volume boundary. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A method of operating a database management system comprising the steps of:
-
modifying data in the database management system using a write-ahead logging protocol;
restoring consistency between log records and the data during a restart;
storing data on a first set of storage volumes and storing log records on a second set of storage volumes;
freezing a REDO log point in checkpoint information while a backup system lock is taken; and
continuing to update the data while the backup system lock is taken, except for suspending actions that change an external file system catalog, and except for suspending writing updates of objects that extend across a storage volume boundary. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. An article of manufacture comprising computer usable media including at least one computer program recorded therein that is capable of causing a computer system to perform a method of operating a database management system comprising the steps of:
-
modifying data in the database management system using a write-ahead logging protocol;
restoring consistency between log records and the data during a restart;
storing data on a first set of storage volumes and storing log records on a second set of storage volumes;
freezing a REDO log point in checkpoint information while a backup system lock is taken; and
continuing to update the data while the backup system lock is taken, except for suspending actions that change an external file system catalog, and except for suspending writing updates of objects that extend across a storage volume boundary. - View Dependent Claims (27, 28, 31, 32, 33)
-
- 29. The article of manufacture of claim 34 wherein the method further comprises backing up log records, after backing up the data, by copying the second set of storage volumes to a second set of backup volumes.
Specification