Ensuring consistent replication of updates in databases

US10970266B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10970266-B2
Application numberUS-201715827296-A
CountryUS
Kind codeB2
Filing dateNov 30, 2017
Priority dateNov 30, 2017
Publication dateApr 6, 2021
Grant dateApr 6, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method includes reading, by a capture engine, log data. The log data can be synchronously hardware-replicated. The log data reflects that an update was started for a database of a first site. The capture engine corresponds to a capture engine of a second site. The method also includes identifying, by the capture engine, the update. The method also includes determining whether the update was committed to the database of the first site. The method also includes replicating, by an apply engine, the update to a database of the second site based on the determining. The update is replicated to the database of the second site based on a determination that the update was committed to the database of the first site. The committed update corresponds to a consistent replication of updates across two or more databases that reside in multiple database management systems.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, the method comprising: reading, by a capture engine, log data, wherein the log data comprises a hardware-replicated set of log data, and the log data reflects that an update was started for a database of a first site, and wherein the capture engine corresponds to a capture engine of a second site, wherein the first site corresponds to an active site and the second site corresponds to a standby site; identifying, by the capture engine, the update by identifying a recovery token that corresponds to the update; determining whether the update was committed to the database of the first site, wherein the update uses a two-phase commit protocol process and the determination that the update was committed is determined based on detecting an end of the two-phase commit protocol process in the log data; replicating, by an apply engine, the update to a database of the second site based on the determining, wherein the update is replicated to the database of the second site based on a determination that the update was committed to the database of the first site, and the committed update corresponds to a consistent replication of updates across two or more databases, wherein replicating the update to the database of the second site corrects an inconsistency between the database of the first site and the database of the second site, wherein the apply engine and the capture engine are part of a replication engine that is implemented at the standby site; and communicating the identified recovery token to another replication engine. 2. The computer-implemented method of claim 1 , wherein the log data comprises logs for one or more unique databases that are managed by different database management systems. 3. The computer-implemented method of claim 1 , wherein the update for the database of the first site is performed by a global transaction. 4. A computer system comprising: a memory; and a processor system communicatively coupled to the memory; the processor system configured to perform a method comprising: reading log data, wherein the log data comprises a hardware-replicated set of log data, and the log data reflects that an update was started for a database of a first site, and wherein the processor system corresponds to a processor system of a second site, wherein the first site corresponds to an active site and the second site corresponds to a standby site; identifying the update by identifying a recovery token that corresponds to the update; determining whether the update was committed to the database of the first site, wherein the update uses a two-phase commit protocol process and the determination that the update was committed is determined based on detecting an end of the two-phase commit protocol process in the log data; replicating the update to a database of the second site based on the determining, wherein the update is replicated to the database of the second site based on a determination that the update was committed to the database of the first site, and the committed update corresponds to a consistent replication of updates across two or more databases, wherein replicating the update to the database of the second site corrects an inconsistency between the database of the first site and the database of the second site, wherein the apply engine and the capture engine are part of a replication engine that is implemented at the standby site; and communicating the identified recovery token to another replication engine. 5. The computer system of claim 4 , wherein the log data comprises logs for one or more unique databases that are managed by different database management systems. 6. The computer system of claim 4 , wherein the update for the database of the first site is performed by a global transaction. 7. A computer program product comprising: a computer-readable storage medium having program instructions embodied therewith, wherein the computer-readable storage medium is not a transitory signal per se, the program instructions readable by a processor system to cause the processor system to perform a method comprising: reading, by a capture engine, log data, wherein the log data comprises a hardware-replicated set of log data, and the log data reflects that an update was started for a database of a first site, and wherein the capture engine corresponds to a capture engine of a second site, wherein the first site corresponds to an active site and the second site corresponds to a standby site; identifying, by the capture engine, the update by identifying a recovery token that corresponds to the update; determining whether the update was committed to the database of the first site, wherein the update uses a two-phase commit protocol process and the determination that the update was committed is determined based on detecting an end of the two-phase commit protocol process in the log data; replicating, by an apply engine, the update to a database of the second site based on the determining, wherein the update is replicated to the database of the second site based on a determination that the update was committed to the database of the first site, and the committed update corresponds to a consistent replication of updates across two or more databases, wherein replicating the update to the database of the second site corrects an inconsistency between the database of the first site and the database of the second site, wherein the apply engine and the capture engine are part of a replication engine that is implemented at the standby site; and communicating the identified recovery token to another replication engine. 8. The computer program product of claim 7 , wherein the log data comprises logs for one or more unique databases that are managed by different database management systems.

Assignees

Inventors

Classifications

  • Change logging, detection, and notification (replication G06F16/27) · CPC title

  • Synchronous replication · CPC title

  • Concurrency control (transaction processing G06F9/466) · CPC title

  • Ensuring data consistency and integrity · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10970266B2 cover?
A method includes reading, by a capture engine, log data. The log data can be synchronously hardware-replicated. The log data reflects that an update was started for a database of a first site. The capture engine corresponds to a capture engine of a second site. The method also includes identifying, by the capture engine, the update. The method also includes determining whether the update was c…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/2308. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 06 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).