Dual data storage using an in-memory array and an on-disk page structure
First Claim
1. A method for implementation by one or more data processors forming part of at least one computing system, the method comprising:
- storing an in-memory array to disk, the in-memory array including a portion of data from a column of data, and the in-memory array being stored to disk by at least;
determining, based at least on a content of the portion of data, a page on disk for storing the portion of data;
storing, in the page, the portion of data from the column of data, the portion of data being stored in a row in the page; and
providing random access to the portion of data from the column of data, the providing of the random access comprising;
identifying, based at least on the content of the portion of data, the page storing the portion of data; and
loading, from disk and into the in-memory array, the row from the page storing the portion of data, the row being loaded without loading another row from the page.
1 Assignment
0 Petitions
Accused Products
Abstract
The subject matter disclosed herein provides methods for the dual storage of data using an in-memory array and an on-disk page structure. An in-memory array holding a column of data can be maintained. One or more pages can be maintained. Each of the one or more pages can have one or more rows for storing the column of data. Random access can be provided to a subset of the one or more rows by at least loading the subset of rows from the one or more pages to the in-memory array without loading all of the rows from the one or more pages. Related apparatus, systems, techniques, and articles are also described.
-
Citations
21 Claims
-
1. A method for implementation by one or more data processors forming part of at least one computing system, the method comprising:
-
storing an in-memory array to disk, the in-memory array including a portion of data from a column of data, and the in-memory array being stored to disk by at least; determining, based at least on a content of the portion of data, a page on disk for storing the portion of data; storing, in the page, the portion of data from the column of data, the portion of data being stored in a row in the page; and providing random access to the portion of data from the column of data, the providing of the random access comprising; identifying, based at least on the content of the portion of data, the page storing the portion of data; and loading, from disk and into the in-memory array, the row from the page storing the portion of data, the row being loaded without loading another row from the page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 21)
-
-
9. A non-transitory computer-readable medium containing instructions to configure a processor to perform operations comprising:
-
storing an in-memory array to disk, the in-memory array including a portion of data from a column of data, and the in-memory array being stored to disk by at least; determining, based at least on a content of the portion of data, a page on disk for storing the portion of data; storing, in the page, the portion of data from the column of data, the portion of data being stored in a row in the page; and providing random access to the portion of data from the column of data, the providing of the random access comprising; identifying, based at least on the content of the portion of data, the page storing the portion of data; and loading, from disk and into the in-memory array, the row from the page storing the portion of data, the row being loaded without loading another row from the page. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
at least one processor; and at least one memory, wherein the at least one processor and the at least one memory are configured to perform operations comprising; storing an in-memory array to a disk, the in-memory array including a portion of data from a column of data, and the in-memory array being stored to disk by at least; determining, based at least on a content of the portion of data, a page on disk for storing the portion of data; storing, in the page, the portion of data from the column of data, the portion of data being stored in a row in the page; and providing random access to the portion of data from the column of data, the providing of the random access comprising; identifying, based at least on the content of the portion of data, the page storing the portion of data; and loading, from the disk and into the in-memory array, the row from the page storing the portion of data, the row being loaded without loading another row from the page. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification