Synchronization mechanism for serialized data log replay in database systems

US10762107B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10762107-B2
Application numberUS-201715409234-A
CountryUS
Kind codeB2
Filing dateJan 18, 2017
Priority dateNov 29, 2016
Publication dateSep 1, 2020
Grant dateSep 1, 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.

A computer implemented method for updating a secondary database includes receiving transaction log information from a primary database system at a secondary database system. The transaction log information comprises a first marker identifying a beginning of an operation comprising a plurality of sub-operations and a second marker identifying an end of the operation. The transaction log information is sequentially parsed, a first marker is identified, and a lock state is created after replaying the first marker to ensure proper serialization of the plurality of sub-operations. The lock state is terminated after replaying the second marker. Related apparatus, systems, techniques and articles are also described.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method comprising: receiving transaction log information from a primary database system at a secondary database system, the transaction log information comprising a first marker identifying a beginning of an operation comprising a plurality of sub-operations and a second marker identifying an end of the operation; parsing the transaction log information one operation at a time in an order operations appear in the transaction log; identifying the first marker; creating a lock state after replaying the first marker to ensure proper serialization of the plurality of sub-operations; and terminating the lock state after replaying the second marker, wherein: the lock state locks tables on the secondary database system, the first marker is a Data Definition Language (Data Definition Language) Start (DDLStart) transaction log record and the second marker is a DDL End (DDLEnd) transaction log record; and a DDL Operation Scope object on a DDL Operation thread stack controls writing of the DDLStart and DDLEnd transaction log records so that that the DDLEnd is always written regardless of how the DDL operation thread exits. 2. The method of claim 1 , wherein the transaction log information is parsed in a continuous replay context. 3. The method of claim 1 , wherein the primary database system and the secondary database system are configured to operate in a load balancing operation. 4. The method of claim 1 , wherein the secondary database actively responds to queries delegated to the secondary database system by the primary database system based on data contained in the main memory. 5. The method of claim 1 , wherein the secondary database system is configured as a back-up database system. 6. The method of claim 1 , wherein the transaction log information is generated by the primary database system based on queries received by the primary database system. 7. The method of claim 1 , wherein the operations are data definition language (DDL) queries. 8. The method of claim 1 , wherein the first marker and the second marker are inserted into the transaction log information by the primary database system. 9. The method of claim 1 , wherein the primary database system and the secondary database system are in memory database (IMDB) systems. 10. The method of claim 1 , wherein the primary database system and the secondary database system are column oriented database systems. 11. A system comprising: a processor; and a non-transitory computer readable media having computer executable instructions stored therein, which, when executed by the processor, causes the system to perform operations comprising: receiving transaction log information from a primary database system at a secondary database system, the transaction log information comprising a first marker identifying a beginning of an operation comprising a plurality of sub-operations and a second marker identifying an end of the operation; parsing the transaction log information one operation at a time in an order operations appear in the transaction log; identifying the first marker; creating a lock state after replaying the first marker to ensure proper serialization of the plurality of sub-operations; and terminating the lock state after replaying the second marker, wherein: the lock state locks tabes on the secondary database system, the first marker is a Data Definition Language (Data Definition Language) Start (DDLStart) transaction log record and the second marker is a DDL End (DDLEnd) transaction log record; and a DDL Operation Scope object on a DDL Operation thread stack controls writing of the DDLStart and DDLEnd transaction log records so that that the DDLEnd is always written regardless of how the DDL operation thread exits. 12. The system of claim 11 , wherein the transaction log information is parsed in a continuous replay context. 13. The system of claim 11 , wherein the primary database system and the secondary database system are configured to operate in a load balancing operation. 14. The system of claim 11 , wherein the secondary database actively responds to queries delegated to the secondary database system by the primary database system based on data contained in the main memory. 15. The system of claim 11 , wherein the secondary database system is configured as a back-up database system. 16. The system of claim 11 , wherein the transaction log information is generated by the primary database system based on queries received by the primary database system. 17. The system of claim 11 , wherein the operations are data definition language (DDL) queries. 18. The system of claim 11 , wherein the first marker and the second marker are inserted into the transaction log information by the primary database system. 19. The system of claim 11 , wherein the primary database system and the secondary database system are in memory database (IMDB) systems. 20. The system of claim 11 , wherein the primary database system and the secondary database system are column oriented database systems.

Assignees

Inventors

Classifications

  • G06F16/273Primary

    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 US10762107B2 cover?
A computer implemented method for updating a secondary database includes receiving transaction log information from a primary database system at a secondary database system. The transaction log information comprises a first marker identifying a beginning of an operation comprising a plurality of sub-operations and a second marker identifying an end of the operation. The transaction log informat…
Who is the assignee on this patent?
Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/273. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 01 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).