×

Database recovery and index rebuilds

  • US 10,140,189 B2
  • Filed: 04/28/2015
  • Issued: 11/27/2018
  • Est. Priority Date: 04/28/2015
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×