×

Replication for on-line hot-standby database

  • US 9,798,792 B2
  • Filed: 03/18/2014
  • Issued: 10/24/2017
  • Est. Priority Date: 06/25/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer system for replicating a database image from an operational primary node in a distributed database environment, said computer system comprising:

  • one or more computer processors; and

    one or more computer-readable storage media;

    wherein program instructions are stored on the computer-readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising instructions to cause the at least one of the one or more computer processors to;

    define a checkpoint image of the primary node including a database structure and a plurality of database pages;

    create a replica database on a backup node by initiating a backup node and saving the defined database structure on the initiated backup node;

    send each database page of the checkpoint image to the backup node for saving;

    save, after creation of a checkpoint image is started, each subsequent transaction on the primary node thereby creating a corresponding REDO transaction for sending to the backup node;

    identify each data page operated on by each subsequent transaction;

    send, in parallel with the sending of the database pages, each created REDO transaction to the backup node in the order in which the corresponding transaction occurred so that the backup node can replicate the transactions in the correct order; and

    prioritize each identified database page so that it arrives at the backup node before or substantially at the same time as a corresponding REDO transaction whereby the corresponding REDO transaction can operate on the identified database page without waiting for every database page to be saved on the backup node.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×