Combined row and columnar storage for in-memory databases for OLTP and analytics workloads

US10311154B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10311154-B2
Application numberUS-201314097575-A
CountryUS
Kind codeB2
Filing dateDec 5, 2013
Priority dateSep 21, 2013
Publication dateJun 4, 2019
Grant dateJun 4, 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.

Columns of a table are stored in either row-major format or column-major format in an in-memory DBMS. For a given table, one set of columns is stored in column-major format; another set of columns for a table are stored in row-major format. This way of storing columns of a table is referred to herein as dual-major format. In addition, a row in a dual-major table is updated “in-place”, that is, updates are made directly to column-major columns without creating an interim row-major form of the column-major columns of the row. Users may submit database definition language (“DDL”) commands that declare the row-major columns and column-major columns of a table.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method, said method comprising steps of: storing rows in a table in a database, wherein storing rows in said table comprises storing one or more column-major columns of said rows in column-major format and storing one or more row-major columns of said rows in row-major format; wherein storing rows in said table further comprises: storing said one or more row-major columns in a row partition comprising row pages; storing said one or more column-major columns in one or more column partitions, each column partition of said one or more column partitions comprising column pages, wherein said one or more column-major columns include a particular column-major column; executing a database transaction, wherein executing said database transaction comprises updating in said database said particular column-major column in-place to a new value; committing said database transaction; and wherein said updating comprises storing said new value in a column page of said one or more column partitions before committing said database transaction. 2. The method of claim 1 , wherein: based on a functional mapping, a row slot in said row partition has one-to-one association with a column slot in each column partition of said one or more column partitions. 3. The method of claim 2 , the method further including: determining a location of a row in said column partition of said one or more column partitions; and based on said functional mapping and said location of said row in said column partition, determining a location of said row in said row partition. 4. The method of claim 1 , the method further including compressing at least one column partition of said one or more column partitions using run-length encoding. 5. The method of claim 4 , where the steps further comprise: based on a location of a row in said row partition, traversing an index that indexes said at least one column partition to determine a location of an encoded run in said at least one column partition corresponding to a column of said row. 6. The method of claim 5 , the steps further comprising: determining a location of a column value in said at least one column partition; and based on said index and said location of said column value, determining a location of row holding said column value. 7. The method of claim 1 , wherein for one or more column pages of said one or more column partitions, each column page of said one or more column pages is associated with a Bloom filter derived from column values in said each column page. 8. One or more non-transitory computer-readable media storing sequences of instructions, which, when executed by one or more processors, cause: storing rows in a table in a database, wherein storing rows in said table comprises storing one or more column-major columns of said rows in column-major format and storing one or more row-major columns of said rows in row-major format; wherein storing rows in said table further comprises: storing said one or more row-major columns in a row partition comprising row pages; storing said one or more column-major columns in one or more column partitions, each column partition of said one or more column partitions comprising column pages, wherein said one or more column-major columns include a particular column-major column; executing a database transaction, wherein executing said database transaction comprises updating in said database said particular column-major column in-place to a new value; committing said database transaction; and wherein said updating comprises storing said new value in a column page of said one or more column partitions before committing said database transaction. 9. The one or more non-transitory computer-readable media of claim 8 , wherein: based on a functional mapping, a row slot in said row partition has one-to-one association with a column slot in each column partition of said one or more column partitions. 10. The one or more non-transitory computer-readable media of claim 9 , the sequences of instructions further including instructions that, when executed by said one or more processors, cause: determining a location of a row in said column partition of said one or more column partitions; and based on said functional mapping and said location of said row in said column partition, determining a location of said row in said row partition. 11. The one or more non-transitory computer-readable media of claim 8 , the sequences of instructions further including instructions that, when executed by said one or more processors, cause compressing at least one column partition of said one or more column partitions using run-length encoding. 12. The one or more non-transitory computer-readable media of claim 11 , the sequences of instructions further including instructions that, when executed by said one or more processors, cause: based on a location of a row in said row partition, traversing an index that indexes said at least one column partition to determine a location of an encoded run in said at least one column partition corresponding to a column of said row. 13. The one or more non-transitory computer-readable media of claim 12 , the sequences of instructions further including instructions that, when executed by said one or more processors, cause: determining a location of a column value in said at least one column partition; and based on said index and said location of said column value, determining a location of a row holding said column value. 14. The one or more non-transitory computer-readable media of claim 8 , wherein for one or more column pages of said one or more column partitions, each column page of said one or more column pages is associated with a Bloom filter derived from column values in said each column page.

Assignees

Inventors

Classifications

  • Data partitioning, e.g. horizontal or vertical partitioning · CPC title

  • G06F16/211Primary

    Schema design and management · CPC title

  • G06F16/21Primary

    Design, administration or maintenance of databases · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

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 US10311154B2 cover?
Columns of a table are stored in either row-major format or column-major format in an in-memory DBMS. For a given table, one set of columns is stored in column-major format; another set of columns for a table are stored in row-major format. This way of storing columns of a table is referred to herein as dual-major format. In addition, a row in a dual-major table is updated “in-place”, that is, …
Who is the assignee on this patent?
Oracle Int Corp
What technology area does this patent fall under?
Primary CPC classification G06F16/211. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 04 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).