Transaction completion in a synchronous replication environment

US9910733B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9910733-B2
Application numberUS-201414444904-A
CountryUS
Kind codeB2
Filing dateJul 28, 2014
Priority dateJun 26, 2014
Publication dateMar 6, 2018
Grant dateMar 6, 2018

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.

Systems and methods are presented for completing transactions in a synchronous replication environment. In some embodiments, a computer-implemented method can include generating in a database server, an identifier to identify a database transaction. The method can also include transmitting the identifier to a replication server; receiving acknowledgement that the identifier is acknowledged by the replication server; storing the transaction in the database server; and executing the transaction after receiving acknowledgement from the replication server and after determining the transaction is stored in the database server; wherein transmitting the identifier to the replication server occurs in parallel with storing the transaction in the database server.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method comprising: generating in a database server, an identifier to identify a database task; transmitting the identifier to a replication server; receiving acknowledgement that the identifier is acknowledged by the replication server; in parallel to transmitting the identifier to the replication server, committing a first portion of the database task in a computer-readable storage medium of the database server and placing a second portion of the database task in a waiting state, the first portion of the database task comprising at least a portion of a transaction and the second portion of the database task comprising one or more post-commit instructions; and executing the one or more post-commit instructions of the database task in response to receiving acknowledgement from the replication server and determining the first portion of the database task is committed in the computer-readable storage medium of the database server, wherein the acknowledgement indicates the replication server committed the first portion of the database task. 2. The method of claim 1 , wherein the identifier comprises an origin queue identifier (OQID). 3. The method of claim 1 , further comprising instructing the transaction to sleep prior to receiving acknowledgement from the replication server and prior to storing the transaction in the database server. 4. The method of claim 1 , further comprising transitioning from an asynchronous replication mode to a synchronous replication mode. 5. The method of claim 4 , wherein the transitioning occurs automatically. 6. The method of claim 1 , further comprising sending the transaction to a component interface library within the database server in parallel to storing the transaction in the database server. 7. The method of claim 1 further comprising: determining the first portion of the transaction is committed in the database server; and in response to determining the first portion of the transaction is committed, placing the second portion of the transaction in a processing queue for execution of the one or more post-commit instructions. 8. The method of claim 1 further comprising: determining the first portion of the transaction is committed in the database server; determining receipt of the acknowledgement from the replication server; and in response to committing the first portion and receipt of the acknowledgement, placing the second portion of the transaction in a processing queue for execution of the one or more post-commit instructions. 9. A system comprising: a first memory coupled to a first processor configured to execute a database server; and a second memory coupled to a second processor configured to execute a replication server; wherein the database server is configured to: generate an identifier to identify a database task; transmit the identifier to the replication server; receive acknowledgement that the identifier is acknowledged by the replication server; in parallel to transmitting the identifier to the replication server, commit a first portion of the database task in a computer-readable storage medium of the database server and placing a second portion of the database task in a waiting state, the first portion of the database task comprising at least a portion of a transaction and the second portion of the database task comprising one or more post-commit instructions; and execute the one or more post-commit instructions of the database task in response to receiving acknowledgement from the replication server and determining the first portion of the database task is committed in the computer-readable storage medium of the database server, wherein the acknowledgement indicates the replication server committed the first portion of the database task. 10. The system of claim 9 , wherein the identifier comprises an origin queue identifier (OQID). 11. The system of claim 9 , wherein the database server is further configured to instruct the transaction to sleep prior to receiving acknowledgement from the replication server and prior to storing the transaction in the database server. 12. The system of claim 9 , wherein the database server is further configured to transition from an asynchronous replication mode to a synchronous replication mode. 13. The system of claim 12 , wherein the transitioning occurs automatically. 14. The method of claim 9 , wherein the database server is further configured to send the transaction to a component interface library within the database server in parallel to storing the transaction in the database server. 15. The system of claim 9 , wherein the database server is further configured to: determine the first portion of the transaction is committed in the database server; and in response to determining the first portion of the transaction is committed, place the second portion of the transaction in a processing queue for execution of the one or more post-commit instructions. 16. The system of claim 9 , wherein the database server is further configured to: determine the first portion of the transaction is committed in the database server; determine receipt of the acknowledgement from the replication server; and in response to committing the first portion and receipt of the acknowledgement, place the second portion of the transaction in a processing queue for execution of the one or more post-commit instructions. 17. A non-transitory machine-readable medium embodying instructions that, when executed by a processor perform operations comprising: generating in a database server, an identifier to identify a database task; transmitting the identifier to a replication server; receiving acknowledgement that the identifier is acknowledged by the replication server; in parallel to transmitting the identifier to the replication server, committing a first portion of the database task in a computer-readable storage medium of the database server and placing a second portion of the database task in a waiting state, the first portion of the database task comprising at least a portion of a transaction and the second portion of the database task comprising one or more post-commit instructions; and executing the one or more post-commit instructions of the database task in response to receiving acknowledgement from the replication server and determining the first portion of the database task is committed in the computer-readable storage medium of the database server, wherein the acknowledgement indicates the replication server committed the first portion of the database task. 18. The non-transitory machine-readable medium of claim 17 , wherein the identifier comprises an origin queue identifier (OQID). 19. The non-transitory machine-readable medium of claim 17 , wherein the operations further comprise instructing the transaction to sleep prior to receiving acknowledgement from the replication server and prior to storing the transaction in the database server. 20. The non-transitory machine-readable medium of claim 17 , wherein the operations further comprise transitioning from an asynchronous replication mode to a synchronous replication mode. 21. The non-transitory machine-readable medium of claim 20 , wherein the transitioning occurs automatically. 22. The non-transitory machine-readable medium of claim 17 , wherein the operations further comprise sending the transaction to a component interface library within the database server in parallel to

Assignees

Inventors

Classifications

  • Database-specific techniques · CPC title

  • Synchronous replication · CPC title

  • maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups) · CPC title

  • Saving, restoring, recovering or retrying · CPC title

  • with a single idle spare processing component · 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 US9910733B2 cover?
Systems and methods are presented for completing transactions in a synchronous replication environment. In some embodiments, a computer-implemented method can include generating in a database server, an identifier to identify a database transaction. The method can also include transmitting the identifier to a replication server; receiving acknowledgement that the identifier is acknowledged by t…
Who is the assignee on this patent?
Quakkelaar Rene, Lora Gallardo Elena, Rank Christopher H, and 1 more
What technology area does this patent fall under?
Primary CPC classification G06F11/1402. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 06 2018 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).