High speed on-line backup when using logical log operations
First Claim
1. In a database computer system having a non-volatile memory including a stable log and a stable database comprising a plurality of objects, a cache manager for flushing objects to the stable database, and a backup database, a computer-implemented method comprising the following steps:
- (a) copying objects from a first region of the stable database to the backup database while a first update activity continues, in accordance with at least a first logical log operation, the first region of the stable database bounded by a first boundary value and a second boundary value;
(b) adjusting the first boundary value and adjusting the second boundary value to define a further region of the stable database; and
(c) copying objects from the further region of the stable database to the backup database while a second update activity continues, in accordance with at least a second logical log operation.
2 Assignments
0 Petitions
Accused Products
Abstract
A database computer system and a high speed method for backup is provided for use when general logical operations are logged. Data is copied from the active stable database to a backup database while update activity continues. The stable database is divided into disjoint partitions, and backup progress is independently tracked in each partition. For each partition in which backup progress is to be tracked independently, two boundary values are maintained that separate objects into categories of pending, backed up, or in doubt. To permit backup to proceed with little synchronization between it and the cache manager, backup reports its progress only from time to time. Depending on system tuning considerations, the reporting can be made more or less precise by varying the granularity of the steps in which backup progress is reported.
75 Citations
28 Claims
-
1. In a database computer system having a non-volatile memory including a stable log and a stable database comprising a plurality of objects, a cache manager for flushing objects to the stable database, and a backup database, a computer-implemented method comprising the following steps:
-
(a) copying objects from a first region of the stable database to the backup database while a first update activity continues, in accordance with at least a first logical log operation, the first region of the stable database bounded by a first boundary value and a second boundary value;
(b) adjusting the first boundary value and adjusting the second boundary value to define a further region of the stable database; and
(c) copying objects from the further region of the stable database to the backup database while a second update activity continues, in accordance with at least a second logical log operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16)
-
- 9. A computer-implemented method as recited in 7, wherein the copying of objects is responsive to a plurality of logical operations that are restricted to tree operations.
-
17. A database computer system comprising:
-
a non-volatile memory including a stable log and a stable database comprising a plurality of objects;
a backup database; and
a resource manager including a cache manager which flushes objects to the stable database, the resource manager being configured to copy objects from a first region of the stable database to the backup database while a first update activity continues, in accordance with at least a first logical log operation, the first region of the stable database bounded by a first boundary value and a second boundary value;
adjust the first boundary value and adjust the second boundary value to define a further region of the stable database; and
copy objects from the further region of the stable database to the backup database while a second update activity continues, in accordance with at least a second logical log operation.- View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification