SECOND LEVEL DATABASE FILE CACHE FOR ROW INSTANTIATION
First Claim
Patent Images
1. A method for managing a shared memory for a database, the method comprising:
- storing one or more pages from the database in a page cache stored in the shared memory, the one or more pages stored in a packed format;
storing one or more rows from the database in a row cache stored in the shared memory, the one or more rows stored in an unpacked format, wherein the row cache is coupled to a page cache stored in the shared memory;
receiving a request for a row of the database;
identifying the row in the row cache; and
returning the row in the unpacked format from the row cache.
1 Assignment
0 Petitions
Accused Products
Abstract
In an example embodiment, one or more pages from a database are stored in a page cache stored in a shared memory, the one or more pages stored in a packed format. One or more rows from the database are stored in a row cache stored in the shared memory, the one or more rows stored in an unpacked format. A request for a row of the database is received. Then, the row cache is searched for the row. In response to a determination that the row cannot be found in the row cache, the page cache is searched for the row. Finally, the row is returned.
-
Citations
20 Claims
-
1. A method for managing a shared memory for a database, the method comprising:
-
storing one or more pages from the database in a page cache stored in the shared memory, the one or more pages stored in a packed format; storing one or more rows from the database in a row cache stored in the shared memory, the one or more rows stored in an unpacked format, wherein the row cache is coupled to a page cache stored in the shared memory; receiving a request for a row of the database; identifying the row in the row cache; and returning the row in the unpacked format from the row cache. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a database; a shared memory; and a caching component executable by a processor and configured to; store one or more pages from the database in a page cache stored in the shared memory, the one or more pages stored in a packed format; store one or more rows from the database in a row cache stored in the shared memory, the one or more rows stored in an unpacked format, wherein the row cache is coupled to a page cache stored in the shared memory; receive a request for a row of the database; identify the row in the row cache; and return the row in the unpacked format from the row cache. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory machine-readable storage medium comprising instructions, which when implemented by one or more machines, cause the one or more machines to perform operations comprising:
-
storing one or more pages from the database in a page cache stored in the shared memory, the one or more pages stored in a packed format; storing one or more rows from the database in a row cache stored in the shared memory, the one or more rows stored in an unpacked format, wherein the row cache is coupled to a page cache stored in the shared memory; receiving a request for a row of the database; identifying the row in the row cache; and returning the row in the unpacked format from the row cache. - View Dependent Claims (18, 19, 20)
-
Specification