Database system providing methodology for extended memory support
First Claim
1. A method for extended memory support in a database system having a primary cache for storing database pages, the method comprising:
- using a memory mapped file, creating a secondary cache in system memory available to the database system;
mapping a virtual address range to at least a portion of the secondary cache;
when the primary cache is full, replacing database pages from the primary cache using the secondary cache;
in response to a request for a particular database page, searching for the database particular page in the secondary cache if the particular database page is not found in the primary cache;
if the particular database page is found in the secondary cache, determining a virtual address in the secondary cache where the particular database page resides based on the mapping; and
swapping the particular database page found in the secondary cache with a database page in the primary cache, so as to replace a database page in the primary cache with the particular database page from the secondary cache.
1 Assignment
0 Petitions
Accused Products
Abstract
A database system providing methodology for extended memory support is described. In one embodiment, for example, a method is described for extended memory support in a database system having a primary cache, the method comprises steps of: creating a secondary cache in memory available to the database system; mapping a virtual address range to at least a portion of the secondary cache; when the primary cache is full, replacing pages from the primary cache using the secondary cache; in response to a request for a particular page, searching for the particular page in the secondary cache if the particular page is not found in the primary cache; if the particular page is found in the secondary cache, determining a virtual address in the secondary cache where the particular page resides based on the mapping; and swapping the particular page found in the secondary cache with a page in the primary cache, so as to replace a page in the primary cache with the particular page from the secondary cache.
-
Citations
45 Claims
-
1. A method for extended memory support in a database system having a primary cache for storing database pages, the method comprising:
-
using a memory mapped file, creating a secondary cache in system memory available to the database system; mapping a virtual address range to at least a portion of the secondary cache; when the primary cache is full, replacing database pages from the primary cache using the secondary cache; in response to a request for a particular database page, searching for the database particular page in the secondary cache if the particular database page is not found in the primary cache; if the particular database page is found in the secondary cache, determining a virtual address in the secondary cache where the particular database page resides based on the mapping; and swapping the particular database page found in the secondary cache with a database page in the primary cache, so as to replace a database page in the primary cache with the particular database page from the secondary cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A database system providing extended memory support, the system comprising:
-
a primary cache for maintaining data pages used by the database system in addressable memory available to the database system; a secondary cache, created in system memory using a memory mapped file, for maintaining data pages replaced from the primary cache in extended memory available to the database system; a search module for receiving a request from a user for a particular data page and determining whether the particular data page is in secondary cache if the particular data page is not in the primary cache; and a module for replacing a data page in the primary cache with the particular data page from the secondary cache if the particular data page is found in the secondary cache. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)
-
Specification