Management of I/O and log size for columnar database

US9519673B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9519673-B2
Application numberUS-201113215726-A
CountryUS
Kind codeB2
Filing dateAug 23, 2011
Priority dateAug 23, 2011
Publication dateDec 13, 2016
Grant dateDec 13, 2016

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 reception of a transaction to change a columnar table, recordation of the transaction within a delta structure in a volatile memory, recordation of the transaction within a log of a persisted memory, reception of an instruction to merge the delta structure in the volatile memory with a first instantiation of the columnar table in the volatile memory, and in response to the instruction, merging of the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory to create a merged columnar table in the volatile memory, and not storing the merged columnar table in the persisted memory.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for a database system comprising a first instantiation of a columnar table in a volatile memory and a second instantiation of the columnar table in a persisted memory, the method comprising: receiving a transaction to change the columnar table; recording the transaction within a delta structure in the volatile memory; recording the transaction within a log of the persisted memory; receiving an instruction to merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory; in response to the instruction, merging the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory to create a merged columnar table in the volatile memory, and not storing the merged columnar table in the persisted memory; receiving an instruction to execute a savepoint; and in response to the instruction to execute the savepoint, copying the delta structure in the volatile memory to the persisted memory, and copying the merged columnar table in the volatile memory to the persisted memory. 2. A non-transitory computer-readable medium storing program code, the program code executable by a computing system storing a first instantiation of a columnar table in a volatile memory and a second instantiation of the columnar table in a persisted memory, the program code comprising: code to receive a transaction to change the columnar table; code to record the transaction within a delta structure in the volatile memory; code to record the transaction within a log of the persisted memory; code to receive an instruction to merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory; code to, in response to the instruction, merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory to create a merged columnar table in the volatile memory, and not store the merged columnar table in the persisted memory; code to receive an instruction to execute a savepoint; and code to, in response to the instruction to execute the savepoint, copy the delta structure in the volatile memory to the persisted memory, and copy the merged columnar table in the volatile memory to the persisted memory. 3. A system comprising: a volatile memory storing a first instantiation of a columnar table; a persisted memory storing a second instantiation of the columnar table; a memory storing processor-executable process steps; and a processor to execute the processor-executable process steps to cause the system to: receive a transaction to change the columnar table; record the transaction within a delta structure in the volatile memory; record the transaction within a log of the persisted memory; receive an instruction to merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory; in response to the instruction, merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory to create a merged columnar table in the volatile memory, and not store the merged columnar table in the persisted memory; receive an instruction to execute a savepoint; and in response to the instruction to execute the savepoint, copy the delta structure in the volatile memory to the persisted memory, and copy the merged columnar table in the volatile memory to the persisted memory. 4. A method for a database system comprising a first instantiation of a columnar table in a volatile memory and a second instantiation of the columnar table in a persisted memory, the method comprising: receiving a transaction to change the columnar table; recording the transaction within a delta structure in the volatile memory; recording the transaction within a log of the persisted memory; receiving an instruction to merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory; and in response to the instruction, merging the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory to create a merged columnar table in the volatile memory, and not storing the merged columnar table in the persisted memory; wherein merging the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory is asynchronous to receiving transactions to change the columnar table, recording the transactions within the delta structure in the volatile memory, and recording the transactions within the log of the persisted memory; the method further comprising: receiving an instruction to execute a savepoint; and in response to the instruction, copying the delta structure in the volatile memory to the persisted memory, and copying the merged columnar table in the volatile memory to the persisted memory. 5. A method according to claim 1 , wherein merging the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory is asynchronous to receiving transactions to change the columnar table, recording the transactions within the delta structure in the volatile memory, and recording the transactions within the log of the persisted memory. 6. A method according to claim 1 , further comprising: receiving an instruction to recover from a database crash; and in response to the instruction, copying the delta structure in the persisted memory to the volatile memory; copying the second instantiation of the columnar table in the persisted memory to the volatile memory; and committing the transaction recorded within the log to the copied delta structure in the volatile memory. 7. A method according to claim 1 , further comprising: receiving an instruction to execute a savepoint; and in response to the instruction, copying the delta structure in the volatile memory to the persisted memory, and copying the merged columnar table in the volatile memory to the persisted memory. 8. A medium according to claim 2 , wherein the code to merge the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory is asynchronous with the code to receive the transaction to change the columnar table, the code to record the transaction within the delta structure in the volatile memory, and the code to record the transaction within the log of the persisted memory. 9. A medium according to claim 2 , the program code further comprising: code to receive an instruction to recover from a database crash; and code to, in response to the instruction, copy the delta structure in the persisted memory to the volatile memory; copy the second instantiation of the columnar table in the persisted memory to the volatile memory; and commit the transaction recorded within the log to the copied delta structure in the volatile memory. 10. A medium according to claim 2 , the program code further comprising: code to receive an instruction to execute a savepoint; and code to, in response to the instruction, copy the delta structure in the volatile memory to the persisted memory, and copy the merged columnar table in the volatile memory to the persisted memory. 11. A system according to claim 3 , wherein the merging of the delta structure in the volatile memory with the first instantiation of the columnar table in the volatile memory is asynchronous with reception of transactions to change the columnar table, recordation of the transactions within the delta structure in the volatile

Assignees

Inventors

Classifications

  • Column-oriented storage; Management thereof · CPC title

  • Updates performed during online database operations; commit processing · CPC title

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

  • Database-specific techniques · CPC title

  • involving logging of persistent data for recovery · 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 US9519673B2 cover?
A system includes reception of a transaction to change a columnar table, recordation of the transaction within a delta structure in a volatile memory, recordation of the transaction within a log of a persisted memory, reception of an instruction to merge the delta structure in the volatile memory with a first instantiation of the columnar table in the volatile memory, and in response to the ins…
Who is the assignee on this patent?
Schreter Ivan, Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/2379. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 13 2016 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).