Dynamic database memory management policies
Abstract
A database engine is provided with memory management policies to dynamically configure an area of memory called a buffer pool into which data pages are held during processing. The data pages are also buffered as an I/O (input/output) stream when read and written to a persistent storage medium, such as a hard disk, through use of a system file cache that is managed by the computer's operating system. The memory management policies implement capping the amount of memory used within the buffer pool to minimize the number of data pages that are double-buffered (i.e., held in both the buffer pool and system file cache). In addition, trimming data pages from the buffer pool, after the database engine completes all pending operations and requests, frees additional memory and further minimizes the number of processes associated with the database.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing a database stored on a persistent storage medium, the method comprising the steps of: enabling, at a computing device running a database application and one or more other applications, both a kernel mode system file cache of an operating system of the computing device and a user mode buffer pool of a database engine of the database application buffering data pages retrieved by the database engine from the persistent storage medium of the computing device, the user mode buffer pool being implemented using a memory resource in user mode that is also accessible by the kernel
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Chou, Hong-Tai, "An Evaluation of Buffer Management Strategies for Relational Database Systems", http://www.cs.berkeley.edu/~brewer/cs262/DBBufMgmt.pdf, Date: 1985.
- Chou, Hong-Tai, "An Evaluation of Buffer Management Strategies for Relational Database Systems", http://www.cs.berkeley.edu/˜brewer/cs262/DBBufMgmt.pdf, Date: 1985.
- Cornell et al., "Integration of Buffer Management and Query Optimization in Relational Database Environment", Date: 1989, http://www.vldb.org/conf/1989/P247.PDF.
- Stonebraker, Michael, "Operating System Support for Database Management", Date; Jul. 1981, vol. 24, No. 7, http://www.ics.uci.edu/~ics214a/handouts/stonebraker pdf.
- Stonebraker, Michael, "Operating System Support for Database Management", Date; Jul. 1981, vol. 24, No. 7, http://www.ics.uci.edu/˜ics214a/handouts/stonebraker pdf.