Automatic mode switching in a synchronous replication environment

US10650026B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10650026-B2
Application numberUS-201715720897-A
CountryUS
Kind codeB2
Filing dateSep 29, 2017
Priority dateJun 26, 2014
Publication dateMay 12, 2020
Grant dateMay 12, 2020

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.

Disclosed in some examples is a method of database replication, the method including at a Relational Database Management System (RDMS), determining a first replication mode; identifying a triggering event; determining that the triggering event indicates a change in the first replication mode; responsive to determining that the triggering event indicates a change in the first replication mode, determining a second replication mode, the second replication mode being a different replication mode than the first replication mode; identifying a database change made by one or more database tasks; and replicating the database change to an external replication component according to the second replication mode.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of database replication, the method comprising: at a Relational Database Management System (RDMS), using one or more computer processors: determining a first replication mode associated with a replication agent; identifying a triggering event; determining that the triggering event indicates a change in the first replication mode of the replication agent; responsive to determining that the triggering event indicates a change in the first replication mode, determining a second replication mode, the second replication mode being a different replication mode than the first replication mode; in response to determining the triggering event, identifying a set of database tasks being processed in parallel, one or more database tasks of the set of database tasks being associated with a database change; determining a task replication mode for at least one of the one or more database tasks; replicating the database change to an external replication component according to the second replication mode; and passing a notification to the one or more database tasks of the set of database tasks associated with the database change, the notification simulating the first replication mode regardless of receipt of confirmation from the external replication component. 2. The method of claim 1 , wherein the second replication mode is an asynchronous replication mode and the first replication mode is a synchronous replication mode. 3. The method of claim 1 , wherein the triggering event is identified in response to a network condition of a communications network coupled to the RDMS. 4. The method of claim 3 , further comprising: in response to identifying the triggering event, monitoring the network condition of the communications network; determining a change in the network condition of the communications network; and reverting from the second replication mode to the first replication mode. 5. The method of claim 1 , wherein identifying the triggering event further comprises: detecting a shutdown process of the replication agent; and in response to the shutdown process of the replication agent, determining the second replication mode as a replication mode for the RDMS. 6. The method of claim 1 , wherein the triggering event is a first triggering event and the second replication mode is associated with a second triggering event, the method further comprising: detecting the second triggering event associated with the second replication mode; and in response to the second triggering event, replicating the database change to the external replication component according to the second replication mode. 7. The method of claim 1 , wherein determining the second replication mode further comprises transmitting a notification of the second replication mode to the external replication component. 8. A Relational Database Management System (RDMS) comprising: one or more computer processors; and a replication agent executed by the one or more computer processors to perform operations comprising: determining a first replication mode associated with a replication agent; identifying a triggering event; determining that the triggering event indicates a change in the first replication mode of the replication agent; responsive to determining that the triggering event indicates a change in the first replication mode, determining a second replication mode, the second replication mode being a different replication mode than the first replication mode; in response to determining the triggering event, identifying a set of database tasks being processed in parallel, one or more database tasks of the set of database tasks being associated with a database change; determining a task replication mode for at least one of the one or more database tasks; replicating the database change to an external replication component according to the second replication mode; and passing a notification to the one or more database tasks of the set of database tasks associated with the database change, the notification simulating the first replication mode regardless of receipt of confirmation from the external replication component. 9. The RDMS of claim 8 , wherein the second replication mode is an asynchronous replication mode and the first replication mode is a synchronous replication mode. 10. The RDMS of claim 8 , wherein the triggering event is identified in response to a network condition of a communications network coupled to the RDMS. 11. The RDMS of claim 10 , wherein the operations further comprise: in response to identifying the triggering event, monitoring the network condition of the communications network; determining a change in the network condition of the communications network; and reverting from the second replication mode to the first replication mode. 12. The RDMS of claim 8 , wherein identifying the triggering event further comprises: detecting a shutdown process of the replication agent; and in response to the shutdown process of the replication agent, determining the second replication mode as a replication mode for the RDMS. 13. The RDMS of claim 8 , wherein the triggering event is a first triggering event and the second replication mode is associated with a second triggering event, the operations further comprising: detecting the second triggering event associated with the second replication mode; and in response to the second triggering event, replicating the database change to the external replication component according to the second replication mode. 14. The RDMS of claim 8 , wherein determining the second replication mode further comprises transmitting a notification of the second replication mode to the external replication component. 15. A non-transitory machine-readable medium that stores instructions which, when performed by one or more processors of a machine, cause the machine to perform operations comprising: determining a first replication mode associated with a replication agent; identifying a triggering event; determining that the triggering event indicates a change in the first replication mode of the replication agent; responsive to determining that the triggering event indicates a change in the first replication mode, determining a second replication mode, the second replication mode being a different replication mode than the first replication mode; in response to determining the triggering event, identifying a set of database tasks being processed in parallel, one or more database tasks of the set of database tasks being associated with a database change; determining a task replication mode for at least one of the one or more database tasks; replicating the database change to an external replication component according to the second replication mode; and passing a notification to the one or more database tasks of the set of database tasks associated with the database change, the notification simulating the first replication mode regardless of receipt of confirmation from the external replication component. 16. The machine-readable medium of claim 15 , wherein the triggering event is identified in response to a network condition of a communications network. 17. The machine-readable medium of claim 16 , wherein the operations further comprise: in response to identifying the triggering event, monitoring the network condition of the communications network; determining a change in the network condition of the communications network; and reverting from the second replication mode to the first replication mode.

Assignees

Inventors

Classifications

  • G06F16/275Primary

    Synchronous replication · CPC title

  • Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor · CPC title

  • Asynchronous replication or reconciliation · 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 US10650026B2 cover?
Disclosed in some examples is a method of database replication, the method including at a Relational Database Management System (RDMS), determining a first replication mode; identifying a triggering event; determining that the triggering event indicates a change in the first replication mode; responsive to determining that the triggering event indicates a change in the first replication mode, d…
Who is the assignee on this patent?
Sybase Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/275. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 12 2020 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).