US7925633B2

Disaster recovery system suitable for database system

Summary by NHIP

Database disaster recovery and takeover

The method copies database update logs to a remote site and applies them continuously until a failover instruction arrives. Upon receiving that instruction, the system interrupts the log application, marks an oldest uncommitted transaction as a checkpoint, and starts a second server with a second DBMS to take over the recovered database.

Claim Score by NHIP

Read claim 5, the broadest

Abstract

To reduce operational and management costs during normal operations while recovering a database without loss and maintaining on-line performance on a site. A first system includes a primary storage system (103) that stores a DB (107) and a main computer (100) that executes a primary DBMS (101), which provides a DB. A second system includes a secondary (113) that receives from the primary storage system (103) a copy of a log, which shows update differences of the DB (107), and stores a secondary DBMS (117), and a subset (500) that recovers the secondary DB (117) according to the log that is copied from the primary storage system (103). When a failure occurs in the first system, the first system is switched to the second system. A second computer (110) that executes a second DBMS (111) is added to the second system, and the secondary DB (117) that is recovered or is being recovered in the subset (500) is taken over to the second computer (110).

US7925633B2, drawing sheet 1
Sheet 1 of 17

Term

Term ended

Expired 12 September 2026, 0 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

16 claims: 4 independent, 12 dependent

  1. 1
    A data recovery and takeover method in a disaster recovery system including a primary site having a first storage system storing a first database and a first server provided with a first database management system (DBMS) managing the first database, and a secondary site, located remotely from the primary site, having a second storage system storing a second database which duplicates the first database and a recovery module, the method comprising:copying a log indicating an update difference in said first database into a log file formed in the second storage system by a remote copy via an inter storage network which connects the first storage system and the second storage system, when the update difference is generated in said first database;when the log indicating the update difference is copied by the remote copy, reading out the copy of the log from the log file formed in the second storage system by the recovery module and applying the log on said second database by the recovery module, in a log applying process which is kept alive until the second site receives a failover instruction;upon a time when the second site receives the failover instruction, interrupting the log applying operation of the data recovery process and marking a log record indicating a start of an oldest uncommitted transaction at that time as a check point;according to the failover instruction, starting in the secondary site a second server which is provided with a second DBMS which is to take over the first DBMS;informing the second server of execution condition of the interrupted data recovery process including information of the check point from the recovery module, taking over by the second DBMS provided in the second server a data recovery of the second database.
  2. 3
    A data recovery and takeover method in a disaster recovery system including a primary site having a first storage system storing a first database and a first server provided with a first database management system (DBMS) managing the first database, and a secondary site, located remotely from the primary site, having a second storage system storing a second database which duplicates the first database and a recovery module, the method comprising:copying a log indicating an update difference in said first database into a log file formed in the second storage system by a remote copy via an inter storage network which connects the first storage system and the second storage system, when the update difference is generated in said first database;when the log indicating the update difference is copied by the remote copy, reading out the copy of the log from the log file formed in the second storage system by the recovery module, and applying the log on said second database by the recovery module, in a log applying process which is kept alive until the second site receives a failover instruction;when the second site receives the failover instruction, continuing the log applying operation until a completion up to an end of the logs copied in said log file, and undoing logs concerned in uncommitted transactions by the recovery module;according to the failover instruction, starting in the secondary site a second server which is provided with a second DBMS which is to take over the first DBMS;and after confirming a completion of the log applying operation and undoing the logs concerned in the uncommitted transactions, informing the second server of a completion of the data recovery process from the recovery module.
  3. 5
    Broadest claimClaim Score 35, narrow(NHIP)A data recovery and takeover method in a disaster recovery system including a primary site having a first storage system storing a first database and a first server provided with a first database management system (DBMS) managing the first database, and a secondary site, located remotely from the primary site, having a second storage system storing a second database which duplicates the first database and a recovery module, the method comprising:copying a log indicating an update difference in said first database into a log file formed in the second storage system by a remote copy via an inter storage network which connects the first storage system and the second storage system, when the update difference is generated in said first database;when the log indicating the update different is copied by the remote copy, reading out the copy of the log from the log file and buffering the log;analyzing buffered logs to find committed transactions;applying the logs concerned in the committed transactions on said second database by the data recovery process;when the second site receives the failover instruction, continuing the log applying operation until a completion up to an end of logs copies in said log file by said recovery module;according to the failover instruction, starting in the secondary site a second server which is provided with a second DBMS which is to take over the first DBMS;and after confirming a completion of the log applying operation, informing the second server of a completion of the data recovery process from the recovery module.
  4. 16
    A data recovery and takeover method in a disaster recovery system including a primary site having a first storage system storing a first database and a first server provided with a first database management system (DBMS) managing the first database, and a secondary site, located remotely from the primary site, having a second storage system storing a second database which duplicates the first database and normally not having an operational second server, the method comprising:copying a log indicating an update difference in said first database into a log file formed in the second storage system by a remote copy via an inter storage network which connects the first storage system and the second storage system, when the update difference is generated in said first database;using a recovery module at the secondary site, where the recovery module is a surrogate component different from, and providing fewer DBMS services than, the first and second servers, the recovery module being operational full-time to read out the copy of the log from the log file formed in the second storage system by the recovery module, and apply the log on said second database by the recovery module, in a log applying process, until the second site receives a failover instruction;when the second site receives the failover instruction, continuing the log applying operation until a completion up to an end of the logs copied in said log file, and undoing logs concerned in uncommitted transactions by the recovery module;according to the failover instruction, starting in the secondary site a second server which is provided with a second DBMS which is to take over the first DBMS;and after confirming a completion of the log applying operation and undoing the logs concerned in the uncommitted transactions, informing the second server of a completion of the data recovery process from the recovery module.