Lazy updates to indexes in a database
Abstract
System(s) and method(s) facilitate improved performance for insert/update query requests in a database. A lazy updating based on delaying updates of newly inserted records combined with a master-staging partitioning scheme avoid deterioration of performance arising from updating indexes related to new records inserted in a database. Table partitioning as well as partitioning of indexes associated with the table allow new records to reside in manageable sections of memory for pre-configured periods of times prior to being updated. To avoid deterioration of performance associated with increasing size of table/index partitions, the size is maintained below specific thresholds that can be determined based on query workload and other historical data. Deployment of partitions among file systems and design of update delay times can further increase performance of lazy updating.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 23.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer system comprising at least one processor coupled to at least one machine-readable storage medium storing instructions executable by the at least one processor to implement: an indexing component configured to index a plurality of records in a table in a database; a partitioning component configured to create a table partition in the table to insert a record in the table; and an update component configured to append the table partition associated with the inserted record in the table to a master partition at a delayed time with respect to an insertion time of the inserted record.
- Claim 2Depends on #1
The computer system of claim 1 , wherein the update component is further configured to append an index partition associated with the inserted record or another inserted record to a base index partition at a delayed time with respect to an insertion time of the inserted recor
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 23 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "SQL Object 0.9". www.sqlobject.org/SQLObect.html. 11 pages, printed Oct. 8, 2007.
- Dongseop Kwon, et al. "Indexing the Current Positions of Moving Objects Using the Lazy Update R-tree". School of Electrical Engineering and Computer Science, Seoul National University, Seoul, Korea. 8 pages.
- International Search Report dated Mar. 31, 2009, for PCT Application Serial No. PCT/US2008/077951, 13 pages.
- Jensen et al "Query and Update Efficient B+-Tree Based Indexing of Moving Objects", Proceedings of the 30th VLDB Conference Toronto, Canada 2004, pp. 768-779.
- Raghav Kaushik, et al. "Updates for Structure Indexes". 12 pages, 2002.