Recovering different types of objects with one pass of the log
First Claim
1. A method of restoring a database in a computer, the database containing objects and being stored on a primary data storage device connected to the computer, the method comprising the steps of:
- copying objects of different types in the database from the primary data storage device to a secondary data storage device, wherein one of the objects is a table index for locating data in a table, and wherein one of the objects is a partitioning index for defining a scope of each partition and thereby assigning a row of the table to its respective partition;
logging modifications to the objects, including the table index and the partitioning index, in a log file;
receiving a recovery indicator indicating that recovery of the objects in the database is required;
copying the objects, including the table index and the partitioning index, from the secondary data storage device to the database on the primary data storage device; and
applying the modifications in the log file to the copied objects, including the table index and the partitioning index, during one pass through the log file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and article of manufacture for a computer implemented recovery system for restoring a database in a computer. The database contains objects and is stored on a primary data storage device connected to the computer. Objects of different types in the database are copied from the primary data storage device to a secondary data storage device. Modifications to the objects are logged in a log file. A recovery indicator is received that indicates that recovery of the objects in the database is required. The objects are copied from the secondary data storage device to the database on the primary data storage device. Modifications in the log file are applied to the copied objects during one pass through the log file.
78 Citations
24 Claims
-
1. A method of restoring a database in a computer, the database containing objects and being stored on a primary data storage device connected to the computer, the method comprising the steps of:
-
copying objects of different types in the database from the primary data storage device to a secondary data storage device, wherein one of the objects is a table index for locating data in a table, and wherein one of the objects is a partitioning index for defining a scope of each partition and thereby assigning a row of the table to its respective partition; logging modifications to the objects, including the table index and the partitioning index, in a log file; receiving a recovery indicator indicating that recovery of the objects in the database is required; copying the objects, including the table index and the partitioning index, from the secondary data storage device to the database on the primary data storage device; and applying the modifications in the log file to the copied objects, including the table index and the partitioning index, during one pass through the log file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for restoring a database in a computer, comprising:
-
a computer having a primary data storage device connected thereto, wherein the primary data storage device stores a database containing objects; one or more computer programs, performed by the computer, for copying objects of different types in the database from the primary data storage device to a secondary data storage device, wherein one of the objects is a table index for locating data in a table, and wherein one of the objects is a partitioning index for defining a scope of each partition and thereby assigning a row of the table to its respective partition, logging modifications to the objects, including the table index and the partitioning index, in a log file, receiving a recovery indicator indicating that recovery of the objects in the database is required, copying the objects, including the table index and the partitioning index, from the secondary data storage device to the database on the primary data storage device, and applying the modifications in the log file to the copied objects, including the table index and the partitioning index, during one pass through the log file. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer to perform method steps for restoring a database, the database containing objects and being stored on a primary data storage device connected to the computer, the method comprising the steps of:
-
copying objects of different types in the database from the primary data storage device to a secondary data storage device, wherein one of the objects is a table index for locating data in a table, and wherein one of the objects is a partitioning index for defining a scope of each partition and thereby assigning a row of the table to its respective partition; logging modifications to the objects, including the table index and the partitioning index, in a log file; receiving a recovery indicator indicating that recovery of the objects in the database is required; copying the objects, including the table index and the partitioning index, from the secondary data storage device to the database on the primary data storage device; and applying the modifications in the log file to the copied objects, including the table index and the partitioning index, during one pass through the log file. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification