Runtime data persistency for in-memory database systems

US10853343B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10853343-B2
Application numberUS-201715596603-A
CountryUS
Kind codeB2
Filing dateMay 16, 2017
Priority dateMay 16, 2017
Publication dateDec 1, 2020
Grant dateDec 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.

Systems, apparatus, techniques, articles, and methods include a unified table container for storing data and metadata in pages organized in one or more page chains. A determination is made as to whether the query includes a data definition statement. In response to determining that the query includes a data definition statement, in-memory runtime data is persisted to a persistent volume that is configured to be accessed by the database system. The in-memory runtime data includes one or more first data fields and one or more second data fields that are different from the one or more first data fields. Furthermore, the unified table container includes a persistent runtime data descriptor that is associated with the one or more first data fields and persists the first one or more first data fields when persisting the in-memory runtime data.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for in-memory persistent runtime data within a database system, the method comprising: receiving a query by at least one data processor of a database system, the database system including a table container, the table container storing data and metadata in pages organized in one or more page chains; determining, by the at least one data processor, whether the query includes a data definition statement that updates or changes in-memory runtime data; in response to the determining that the query includes a data definition statement, copying, by the at least one data processor, the in-memory runtime data to a persistent volume, the persistent volume being configured to be accessed by the database system; wherein: the in-memory runtime data includes one or more first data fields comprising persistent data fields and one or more second data fields comprising non-persistent data fields, the one or more first data fields being different from the one or more second data fields; and the table container includes a persistent runtime data descriptor that is associated with the persistent data fields and persists the one or more second data fields by copying each field of the non-persistent data fields to a field associated with the persistent runtime data descriptor. 2. The method of claim 1 , wherein the persisting in-memory runtime data to a persistent volume includes the copying of each field of the one or more first data fields to the field associated with the persistent runtime data descriptor prior to copying the one or more second data fields into the database system. 3. The method of claim 1 , further comprising in response to the copying, generating a redo log or a undo log or both. 4. The method of claim 3 , wherein the redo log is configured to, upon replaying, generate the one or more first data fields of the in-memory runtime data in memory of the system database following a crash of the database system. 5. The method of claim 3 , wherein the undo log is configured to, upon replaying, undo changes to the one or more first data fields of the in-memory runtime data in memory of the database following a rollback of the data definition statement. 6. The method of claim 1 , further comprising loading the one or more first data fields from a disk into in-memory of the database system. 7. The method of claim 1 , further comprising loading the table container for accessing the one or more first data fields loaded in-memory of the database system. 8. The method of claim 1 , wherein the one or more first data fields and the one or more second data fields are used to store statistical table information for a table included in the database system. 9. The method of claim 8 , wherein the runtime statistical table information of a table includes the number of rows in the table, the number of used column ids associated with the table, memory consumption by the table and combinations thereof. 10. The method of claim 1 , wherein the query includes a data definition statement, a data manipulation statement, a data control statement, or a combination thereof. 11. The method of claim 10 , wherein the data definition statement includes a data definition language (DDL) command. 12. The method of claim 1 , wherein the table container includes a persistent column descriptor that includes a bit associated with a column object included in the in-memory runtime data. 13. The method of claim 12 , wherein the bit included in the persistent column descriptor is set to a value when copying the in-memory runtime data, the value denoting that the column object associated with the bit is a single valued column object. 14. The method of claim 1 , further comprising in response to loading a table object into memory, determining whether the loaded table object includes one or more single valued column objects. 15. The method of claim 14 , further comprising in response to determining that the loaded table object includes one or more single valued column objects, extracting a single value from each of the one or more single valued column objects; storing the extracted single value as a single value field in the in-memory runtime data; and associating the single value field with the corresponding single valued column object. 16. A computer-implemented system for in-memory persistent runtime data within a database system, the computer-implemented system comprising: one or more data processors; and memory storing instructions which, when executed by the one or more data processors, result in operations comprising: receiving a query by at least one data processor of a database system, the database system including a table container, the table container storing data and metadata in pages organized in one or more page chains; determining whether the query includes a data definition statement that updates or changes in-memory runtime data; in response to the determining that the query includes a data definition statement, copying the in-memory runtime data to a persistent volume, the persistent volume being configured to be accessed by the database system; wherein: the in-memory runtime data includes one or more first data fields comprising persistent data fields and one or more second data fields comprising non-persistent data fields, the one or more first data fields being different from the one or more second data fields; and the table container includes a first persistent runtime data descriptor that is associated with the persistent data fields and persists the one or more second data fields by copying each field of the non-persistent data fields to a field associated with the persistent runtime data descriptor. 17. A non-transitory computer program product for in-memory persistent runtime data within a database system, the non-transitory computer program product storing instructions which, when executed by one or more data processors of one or more computing devices, cause at least one data processor to perform operations comprising: receiving a query by at least one data processor of a database system, the database system including a table container, the table container storing data and metadata in pages organized in one or more page chains; determining whether the query includes a data definition statement that updates or changes in-memory runtime data; in response to the determining that the query includes a data definition statement, copying the in-memory runtime data to a persistent volume, the persistent volume being configured to be accessed by the database system; wherein: the in-memory runtime data includes one or more first data fields comprising persistent data fields and one or more second data fields comprising non-persistent data fields, the one or more first data fields being different from the one or more second data fields; the table container includes a persistent runtime data descriptor that is associated with the persistent data fields and persists the one or more second data fields by copying each field of the non-persistent data fields to a field associated with the persistent runtime data descriptor; and the query is defined in at least one of a multidimensional query language, a graph query and manipulation language, or a structure query language. 18. The computer-implemented system of claim 16 , wherein the table container further comprises a pointer to the persistent runtime data descriptor. 19. The computer-implemented system of claim 16 , wherein (i) the table conta

Assignees

Inventors

Classifications

  • G06F16/245Primary

    Query processing · CPC title

  • Tablespace storage structures; Management thereof · 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 US10853343B2 cover?
Systems, apparatus, techniques, articles, and methods include a unified table container for storing data and metadata in pages organized in one or more page chains. A determination is made as to whether the query includes a data definition statement. In response to determining that the query includes a data definition statement, in-memory runtime data is persisted to a persistent volume that is…
Who is the assignee on this patent?
Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/245. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).