System and method for relocating pages pinned in a buffer pool of a database system
Abstract
A system and associated method are provided for directing a database management system, to relocate buffer pages that are pinned in a buffer pool of a data processing system. Each of the buffer pages has a respective page descriptor for indicating the location of the buffer page in the buffer pool. Once the pages are relocated, the now free system memory of the buffer pool is resized. Prior to resizing, a selected pinned page is latched by an agent of the system, wherein the selected page of the buffer pages is in a resize region of the buffer pool. The pinned and latched page becomes a fixed page. The agent for the database management system determines a suitable relocation region of the buffer pool for the fixed page. A resizer module copies the contents of the fixed page to the relocation region and changes the respective page descriptor to indicate the relocation region. The resizer module performs the relocation of other pages in the resize region to allow dynamic resizing of the buffer pool while maintaining the presence of pinned versions of the pages in the buffer pool prior to resizing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 20.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for directing a database management system to relocate buffer pages that are pinned in a buffer pool, the method comprising: selecting one of the pinned buffer pages; defining a page descriptor associated with the buffer page, and indicating a location of the selected buffer page in the buffer pool; latching the selected pinned page in a resize region of the buffer pool, to cause the pinned page to become a fixed page; determining a relocation region of the buffer pool for the fixed page; copying a content of the fixed page to the relocation region; and changing the page descriptor to
- Claim 2Depends on #1
The method of claim 1 , further comprising marking the resize region of the buffer pool for subsequent resizing, once the content of the fixed page has been copied to the relocation region.
- Claim 3Depends on #2
The method of claim 2 , f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗