Database recovery and index rebuilds
First Claim
1. A computer-implemented method for recovering data and concurrently rebuilding indexes for the recovered data in a database for a system configured to store fewer than all indexes in backup files, comprising:
- copying data from one or more database files and storing the copied data to one or more backup files;
reading the copied data from the one or more backup files, by a recovery manager executing on a processor, and writing the copied data to the one or more database files by the recovery manager, wherein the data is recovered to the one or more database files, and wherein one or more indexes are not recovered;
in response to and at substantially the same time as the reading, initiating a rebuilding of the one or more indexes for the copied data, by an index manager executing on the processor, wherein initiating the rebuilding of the one or more indexes at substantially the same time reduces a quantity of 1/0 operations needed for data recovery; and
in response to finishing the rebuilding of the one or more indexes, applying a first set of log records from a transaction log to the one or more database files, the one or more log records specify a particular point in time for recovery.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method for recovering data and concurrently rebuilding indexes for the recovered data in a database for a system configured to store fewer than all indexes in backup files may include copying data from one or more database files and storing the copied data to one or more backup files. A recovery manager executing on a processor may read the copied data from the one or more backup files and write the copied data to the one or more database files, wherein the data is recovered to the one or more database files. In response to the reading, an index manager executing on the processor may initiate a rebuilding of one or more indexes for the copied data at substantially the same time as the reading of the copied data.
10 Citations
7 Claims
-
1. A computer-implemented method for recovering data and concurrently rebuilding indexes for the recovered data in a database for a system configured to store fewer than all indexes in backup files, comprising:
- copying data from one or more database files and storing the copied data to one or more backup files;
reading the copied data from the one or more backup files, by a recovery manager executing on a processor, and writing the copied data to the one or more database files by the recovery manager, wherein the data is recovered to the one or more database files, and wherein one or more indexes are not recovered;
in response to and at substantially the same time as the reading, initiating a rebuilding of the one or more indexes for the copied data, by an index manager executing on the processor, wherein initiating the rebuilding of the one or more indexes at substantially the same time reduces a quantity of 1/0 operations needed for data recovery; and
in response to finishing the rebuilding of the one or more indexes, applying a first set of log records from a transaction log to the one or more database files, the one or more log records specify a particular point in time for recovery. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- copying data from one or more database files and storing the copied data to one or more backup files;
Specification