Serialization of data in a concurrent transaction processing distributed database

US2023169068A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2023169068-A1
Application numberUS-202117538818-A
CountryUS
Kind codeA1
Filing dateNov 30, 2021
Priority dateNov 30, 2021
Publication dateJun 1, 2023
Grant date

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 distributed database system can implement a column-based database system and a row-based database system for processing data. The row-based database system can store data organized into key value pairs, and data to be processed by the row-based database system is converted to a key-value format compressing keys that correspond to values. The distributed database system can perform serialization and compression in converting the data to the key-value format for efficient data storage performance. The distributed database system can unpack portions of the converted serialized compressed data in response to queries that process a portion of serialized compressed data without unpacking the entire converted dataset.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method comprising: identifying, in a hybrid database system, column-organized data that comprises primary key data and non-primary key data, the hybrid database system comprising a columnar database system that processes data in a columnar format and a key-value database system that processes key-value data in a key-value format; serializing, by at least one or more hardware processor, the non-primary key data of the column-organized data into compressed serialized value data that is in a row-organized sequence, the compressed serialized value data compressed using one or more bitmaps; storing the compressed serialized value data in a key-value data store of the key-value database system; receiving a query by the columnar database system; deserializing a portion of the compressed serialized value data that corresponds to the query; and processing the query using the columnar database system. 2 . The method of claim 1 , wherein the one or more bitmaps are applied to generate bitmap compressed data. 3 . The method of claim 2 , wherein the compressed serialized value data is generated by further compressing the bitmap compressed data using an additional compression scheme. 4 . The method of claim 3 , wherein the compressed serialized value data comprises metadata that indicates whether the additional compression scheme is applied to the compressed serialized value data. 5 . The method of claim 1 , wherein the key-value database system is an online transactional processing (OLTP) database system and the columnar database system is an online analytical processing (OLAP) database system. 6 . The method of claim 1 , wherein the portion of the compressed serialized value data that corresponds to the query is deserialized without deserializing remaining data in the compressed serialized value data that does not correspond to the query. 7 . The method of claim 1 , wherein the portion of data of the compressed serialized value data is deserialized using the one or more bitmaps. 8 . The method of claim 7 , wherein deserializing the portion of data using the one or more bitmaps decompress the portion of data. 9 . A system comprising: one or more processors of a machine; and at least one memory storing instructions that, when executed by the one or more processors, cause the machine to perform operations comprising: identifying, in a hybrid database system, column-organized data that comprises primary key data and non-primary key data, the hybrid database system comprising a columnar database system that processes data in a columnar format and a key-value database system that processes key-value data in a key-value format; serializing, by at least one or more hardware processor, the non-primary key data of the column-organized data into compressed serialized value data that is in a row-organized sequence, the compressed serialized value data compressed using one or more bitmaps; storing the compressed serialized value data in a key-value data store of the key-value database system; receiving a query by the columnar database system; deserializing a portion of the compressed serialized value data that corresponds to the query; and processing the query using the columnar database system. 10 . The system of claim 9 , wherein the one or more bitmaps are applied to generate bitmap compressed data. 11 . The system of claim 10 , wherein the compressed serialized value data is generated by further compressing the bitmap compressed data using an additional compression scheme. 12 . The system of claim 11 , wherein the compressed serialized value data comprises metadata that indicates whether the additional compression scheme is applied to the compressed serialized value data. 13 . The system of claim 9 , wherein the key-value database system comprises an online transactional processing (OLTP) database system and the columnar database system comprises an online analytical processing (OLAP) database system. 14 . The system of claim 9 , wherein the portion of the compressed serialized value data that corresponds to the query is deserialized without deserializing remaining data in the compressed serialized value data that does not correspond to the compressed serialized value data. 15 . The system of claim 9 , wherein the portion of data of the compressed serialized value data is deserialized using the one or more bitmaps. 16 . The system of claim 15 , wherein deserializing the portion of data using the one or more bitmaps decompress the portion of data. 17 . A machine storage medium embodying instructions that, when executed by a machine, cause the machine to perform operations comprising: identifying, in a hybrid database system, column-organized data that comprises primary key data and non-primary key data, the hybrid database system comprising a columnar database system that processes data in a columnar format and a key-value database system that processes key-value data in a key-value format; serializing, by at least one or more hardware processor, the non-primary key data of the column-organized data into compressed serialized value data that is in a row-organized sequence, the compressed serialized value data compressed using one or more bitmaps; storing the compressed serialized value data in a key-value data store of the key-value database system; receiving a query by the columnar database system; deserializing a portion of the compressed serialized value data that corresponds to the query; and processing the query using the columnar database system. 18 . The machine storage medium of claim 17 , wherein the one or more bitmaps are applied to generate bitmap compressed data. 19 . The machine storage medium of claim 18 , wherein the compressed serialized value data is generated by further compressing the bitmap compressed data using an additional compression scheme. 20 . The machine storage medium of claim 19 , wherein the compressed serialized value data comprises metadata that indicates whether the additional compression scheme is applied to the compressed serialized value data.

Assignees

Inventors

Classifications

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

  • Management of the backup or restore process · CPC title

  • Column-oriented storage; Management thereof · CPC title

  • Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP · CPC title

  • Vectors, bitmaps or matrices · 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 US2023169068A1 cover?
A distributed database system can implement a column-based database system and a row-based database system for processing data. The row-based database system can store data organized into key value pairs, and data to be processed by the row-based database system is converted to a key-value format compressing keys that correspond to values. The distributed database system can perform serializati…
Who is the assignee on this patent?
Snowflake Inc
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 Thu Jun 01 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). 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).