Automatic mode switching in a synchronous replication environment

US9792346B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9792346-B2
Application numberUS-201414462870-A
CountryUS
Kind codeB2
Filing dateAug 19, 2014
Priority dateJun 26, 2014
Publication dateOct 17, 2017
Grant dateOct 17, 2017

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; 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; reducing a rate of processing of the set of database tasks running in parallel, the rate of processing reduced by a replication agent causing throttling the processing of one or more database tasks of the set of database tasks until a second triggering event is detected; determining a second triggering event in response to reducing the rate of processing of the set of database tasks; and responsive to determining the second triggering event, reverting to the first replication mode. 2. The method of claim 1 , wherein the second replication mode is an asynchronous replication mode and the second triggering event is an improvement in a network connection with the external replication component. 3. The method of claim 1 , wherein the method further comprises: identifying a previous database change made by the one or more database tasks prior to identifying the triggering event; and replicating the previous database change to the external replication component according to the first replication mode. 4. The method of claim 3 , wherein the second replication mode is an asynchronous mode, the first replication mode is a synchronous mode, and the second triggering event is reaching an end of a database change log. 5. The method of claim 3 , wherein the first replication mode is a synchronous mode, the second replication mode is an asynchronous mode, and the triggering event is an expiry of a timer set to await confirmation of a replication of the previous database change. 6. The method of claim 3 , wherein the first replication mode is a synchronous mode, the second replication mode is an asynchronous mode, and the triggering event is a shutdown of a replication agent. 7. The method of claim 1 , wherein the triggering event is responsive to a user request to change the replication mode. 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: determine a first replication mode associated with the replication agent; identify a triggering event; determine 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, determine 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; replicate a database change to an external replication component according to the second replication mode; 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 reducing a rate of processing of the set of database tasks running in parallel, the rate of processing reduced by a replication agent causing throttling the processing of one or more database tasks of the set of database tasks until a second triggering event is detected; determining a second triggering event in response to reducing the rate of processing of the set of database tasks; and responsive to determining the second triggering event, reverting to the first replication mode. 9. The RDMS of claim 8 , wherein the second replication mode is an asynchronous replication mode and the second triggering event is an improvement in a network connection with the external replication component. 10. The RDMS of claim 8 , wherein the replication agent is configured to: identify a previous database change made by one or more database tasks prior to identifying the triggering event; and replicate the previous database change to the external replication component according to the first replication mode. 11. The RDMS of claim 10 , wherein the second replication mode is an asynchronous mode, the first replication mode is a synchronous mode, and the second triggering event is reaching the end of a database change log. 12. The RDMS of claim 10 , wherein the first replication mode is a synchronous mode, the second replication mode is an asynchronous mode, and the triggering event is an expiry of a timer set to await confirmation of the replication of the previous database change. 13. The RDMS of claim 10 , wherein the first replication mode is a synchronous mode, the second replication mode is an asynchronous mode, and the triggering event is a shutdown of the replication agent. 14. The RDMS of claim 8 , wherein the triggering event is responsive to a user request to change the replication mode. 15. A machine readable medium that stores instructions which, when performed by a machine, cause the machine to perform operations comprising: identifying a triggering event; determining that the triggering event indicates a change in a first replication mode associated with a replication agent; responsive to determining that the triggering event indicates a change in the first replication mode, determining a second 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; 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; reducing a rate of processing of the set of database tasks running in parallel, the rate of processing reduced by a replication agent causing throttling the processing of one or more database tasks of the set of database tasks until a second triggering event is detected; determining a second triggering event i

Assignees

Inventors

Classifications

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

  • G06F16/275Primary

    Synchronous replication · CPC title

  • Asynchronous replication or reconciliation · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

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 US9792346B2 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?
Rank Christopher H, Quakkelaar Rene, Lora-Gallardo Elena, and 1 more
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 Oct 17 2017 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).