Handling large writes to distributed logs

US10360145B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10360145-B2
Application numberUS-201615180816-A
CountryUS
Kind codeB2
Filing dateJun 13, 2016
Priority dateJun 13, 2016
Publication dateJul 23, 2019
Grant dateJul 23, 2019

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 system includes writing of log data in chunks over a first range of heap log sequence positions of a heap log stored in the non-volatile memory system, and writing of a heap anchor marker in a first anchor stream of a transaction log stored in the non-volatile memory system, at a first transaction log sequence position of the transaction log, wherein the first anchor stream is associated with a first stream of the transaction log, and the heap anchor marker identifies the first range of heap log sequence positions of the heap log.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a non-volatile memory system; and one or more processors to execute processor-executable process steps to cause the system to: write log data in chunks, by a log writer, over a first range of heap log sequence positions of a heap log stored in the non-volatile memory system; and write a heap anchor marker, by a heap log writer, in a first anchor stream of a transaction log stored in the non-volatile memory system, at a first transaction log sequence position of the transaction log, wherein the first anchor stream is associated with a first stream of the transaction log, and the heap anchor marker identifies the first range of heap log sequence positions of the heap log. 2. The system according to claim 1 , the one or more processors to execute processor-executable process steps to cause the system to: write a heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log, wherein writing the heap anchor marker in the first anchor stream comprises writing the heap anchor marker in the garbage collection stream at the first transaction log sequence position. 3. The system according to claim 1 , the one or more processors to execute processor-executable process steps to cause the system to: write second log data in chunks over a second range of heap log sequence positions of the heap log, wherein writing the heap anchor marker in the first anchor stream comprises writing a second heap anchor marker in a second anchor stream of the transaction log, at the first transaction log sequence position of the transaction log, wherein the second anchor stream is associated with a second stream of the transaction log, and the second heap anchor marker identifies the second range of heap log sequence positions of the heap log. 4. The system according to claim 3 , the one or more processors to execute processor-executable process steps to cause the system to: write a first heap creation marker and a second heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log and the second heap creation marker identifying the second stream of the first transaction log, wherein writing the heap anchor marker in the first anchor stream comprises writing the heap anchor marker in the garbage collection stream at the first transaction log sequence position, and wherein writing the second heap anchor marker in the second anchor stream comprises writing the second heap anchor marker in the garbage collection stream at the first transaction log sequence position. 5. The system according to claim 1 , the one or more processors to execute processor-executable process steps to cause the system to: write second log data in chunks over a second range of heap log sequence positions of the heap log; and write a second heap anchor marker in a second anchor stream of the transaction log, at a second transaction log sequence position of the transaction log, wherein the second anchor stream is associated with a second stream of the transaction log, and the second heap anchor marker identifies the second range of heap log sequence positions of the heap log. 6. The system according to claim 5 , the one or more processors to execute processor-executable process steps to cause the system to: write a heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log; and write a second heap creation marker to the garbage collection stream at a third transaction log sequence position of the transaction log, the second heap creation marker identifying the second stream of the first transaction log, wherein writing the heap anchor marker in the first anchor stream comprises writing the heap anchor marker in the garbage collection stream at the first transaction log sequence position, and wherein writing the second heap anchor marker in the second anchor stream comprises writing the second heap anchor marker in the garbage collection stream at the second transaction log sequence position. 7. A method comprising: writing, by a log writer, log data in chunks over a first range of heap log sequence positions of a heap log stored in a non-volatile memory system; and writing, by a heap log writer, a heap anchor marker in a first anchor stream of a transaction log stored in the non-volatile memory system, at a first transaction log sequence position of the transaction log, wherein the first anchor stream is associated with a first stream of the transaction log, and the heap anchor marker identifies the first range of heap log sequence positions of the heap log. 8. The method according to claim 7 , further comprising: writing a heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log, wherein writing the heap anchor marker in the first anchor stream comprises writing the heap anchor marker in the garbage collection stream at the first transaction log sequence position. 9. The method according to claim 8 , further comprising: writing second log data in chunks over a second range of heap log sequence positions of the heap log, wherein writing the heap anchor marker in the first anchor stream comprises writing a second heap anchor marker in a second anchor stream of the transaction log, at the first transaction log sequence position of the transaction log, wherein the second anchor stream is associated with a second stream of the transaction log, and the second heap anchor marker identifies the second range of heap log sequence positions of the heap log. 10. The method according to claim 9 , further comprising: writing a first heap creation marker and a second heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log and the second heap creation marker identifying the second stream of the first transaction log, wherein writing the heap anchor marker in the first anchor stream comprises writing the heap anchor marker in the garbage collection stream at the first transaction log sequence position, and wherein writing the second heap anchor marker in the second anchor stream comprises writing the second heap anchor marker in the garbage collection stream at the first transaction log sequence position. 11. The method according to claim 7 , further comprising: writing second log data in chunks over a second range of heap log sequence positions of the heap log; and writing a second heap anchor marker in a second anchor stream of the transaction log, at a second transaction log sequence position of the transaction log, wherein the second anchor stream is associated with a second stream of the transaction log, and the second heap anchor marker identifies the second range of heap log sequence positions of the heap log. 12. The method according to claim 11 , further comprising: writing a heap creation marker to a garbage collection stream at a second transaction log sequence position of the transaction log, the heap creation marker identifying the first stream of the first transaction log; and writing a second heap creation marker to the garbage coll

Assignees

Inventors

Classifications

  • Garbage collection, i.e. reclamation of unreferenced memory · CPC title

  • in transactions (updating of structured data in databases G06F16/23) · CPC title

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

  • Ensuring data consistency and integrity · CPC title

  • Redundant storage or storage space (G06F11/2056 takes precedence) · 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 US10360145B2 cover?
A system includes writing of log data in chunks over a first range of heap log sequence positions of a heap log stored in the non-volatile memory system, and writing of a heap anchor marker in a first anchor stream of a transaction log stored in the non-volatile memory system, at a first transaction log sequence position of the transaction log, wherein the first anchor stream is associated with…
Who is the assignee on this patent?
Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F12/0253. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 23 2019 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 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).