×

Retrieving point-in-time copies of a source database for creating virtual databases

  • US 10,346,369 B2
  • Filed: 03/13/2013
  • Issued: 07/09/2019
  • Est. Priority Date: 10/11/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for storing copies of databases in a storage system, the method comprising:

  • maintaining, by a storage system, a plurality of copies of a source database on a storage system, each copy including a plurality of database blocks received by the storage system from a production database system, the plurality of database blocks representing the source database at a point in time, wherein one or more database blocks are associated with at least two copies, and wherein the source database is a relational database, the maintaining comprising;

    receiving, by the storage system from the production database system, transaction logs of the source database;

    determining, by the storage system, that the transaction logs of the source database are defective by;

    determining that at least one transaction log is missing responsive to determining that sequence numbers of two consecutive transaction logs of the transaction logs differ by a value greater than one,applying the transaction logs to a copy of the source database, anddetermining that the transactions are corrupted responsive to receiving an indication of failure to process the transaction logs as result of applying the transaction logs to the copy of the source database;

    responsive to determining that the transaction logs are defective, receiving, by the storage system from the production database system, a latest copy of data from the source database comprising a plurality of database blocks, and for one or more database blocks received in the latest copy;

    determining, by the storage system, that the database block of the latest copy fails to match a corresponding database block of a previously stored copy of the source database, andresponsive to determining that the database block from the latest copy fails to match the corresponding database block of the previously stored copy of the source database, storing, by the storage system, the database block of the latest copy on the storage system; and

    creating, by the storage system, a snapshot on the storage system representing the latest copy of the source database.

View all claims
  • 14 Assignments
Timeline View
Assignment View
    ×
    ×