Patents
US 9,053,003 B2#41352096 Most CitedActiveUnited States (USPTO)Utility

Memory compaction mechanism for main memory databases

2Forward Citations (#41352096 Global)
0.2/yrCitation Velocity (#35682240 Global)
0.98Citation PageRank (#42849680 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present invention extends to methods, systems, and computer program products for performing memory compaction in a main memory database. The main memory database stores records within pages which are organized in doubly linked lists within partition heaps. The memory compaction process uses quasi-updates to move records from a page to the emptied to an active page in a partition heap. The quasi-updates create a new version of the record in the active page, the new version having the same data contents as the old version of the record. The creation of the new version can be performed using a transaction that employs wait for dependencies to allow the old version of the record to be read while the transaction is creating the new version thereby minimizing the effect of the memory compaction process on other transactions in the main memory database.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, performed by a computer system storing a main memory database, for performing memory compaction within the main memory database, the method comprising: scanning a doubly linked list of pages in memory, the pages for storing records of the main memory database, scanning comprising determining memory utilization of each page; determining, based on the memory utilization of each page, which pages have a memory utilization that is below a specified threshold; for each page having a memory utilization below the threshold, performing a memory compaction process, the memory compaction proce

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (16)

PatentTitleYearCitations
US 5,263,155 ASystem for selectively registering and blocking requests initiated by optimistic and pessimistic transactions respectively for shared objects based upon associated locks1993162
US 5,577,246 ADatabase memory compaction and reclamation method199638
US 5,699,539 AVirtual memory management system and method using data compression1997134
US 5,857,210 ABounded-pause time garbage collection system and method including read and write barriers associated with an instance of a partially relocated object1999103
US 5,893,117 ATime-stamped database transaction and version management system199987
US 5,949,972 ASystem for memory error checking in an executable199939
US 6,865,657 B1Garbage collector for a virtual heap2005129
US 2006155791 A1System and method for concurrent compacting self pacing garbage collection using loaded value and access barriers—68
US 7,181,574 B1Server cluster using informed prefetching200725
US 2008021934 A1Transactional memory with automatic object versioning—48
US 2009024562 A1Apparatus and method for selective loading in mobile communication terminal—13
US 2009327621 A1Virtual memory compaction and compression using collaboration between a virtual memory manager and a memory manager—43
US 2010223432 A1Memory sharing among computer programs—39
US 2011107338 A1Selecting isolation level for an operation based on manipulated objects—9
US 2011307828 A1Memory allocation visualization for unmanaged languages—24
US 2012102006 A1Distributed transaction management for database systems with multiversioning—140

Non-Patent Literature (5)

  • "International Search Report & Written Opinion for PCT Patent Application No. PCT/US2013/045749", Mailed Date: Oct. 9, 2013, Filed Date: Jun. 13, 2013, 6 Pages.
  • Gidenstam, et al., "Efficient and Reliable Lock-Free Memory Reclamation Based on Reference Counting," IEEE Transactions on Parallel and Distributed Systems, vol. 20, No. 8, Aug. 2009.
  • Lim, et al., "A Memory-Efficient Real-Time Non-Copying Garbage Collector", In Proceedings of the 1st International Symposium on Memory Management, 1998, pp. 118-129.
  • Schatz, "Incremental Garbage Collection II", In Seminar aus Softwareentwicklung: Garbage Collection, 2006, pp. 1-16. http://www.ssw.jku.at/Teaching/Lectures/Sem/2005/Reports/Schatz.pdf.
  • Sundell. et al., "Lock-Free Deques and Doubly Linked Lists," J. Parallel Distributed Computing, (68) 2008. pp. 1008-1020.