Read mostly database tables
Abstract
Described is a technology by which a database management system more efficiently processes read requests than write requests for a read-mostly database table, which is a database table that is generally read far more often than written. A lock partitioning mechanism may be implemented to provide a read lock for each CPU of a plurality of CPUs, in which only one read lock is acquired to process a read request. A database table state changing mechanism may be implemented that more efficiently processes read requests relative to write requests by maintaining the database table in a read-only state until a write request is processed. When a write request is received, the database table is changed to a read-write state to process the write request. The database table is then reset back to a read-only state, such as by running a background thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computing environment, a method comprising: implementing a mechanism in a database management system to process read requests and write requests from a plurality of CPUs for a read-mostly database table including one or more resources, the mechanism using a plurality of locks controlling access to the one or more resources, the mechanism operable to partition a respective lock for each of the one or more resources, each lock partition of the respective lock operable to share access to a corresponding resource with other lock partitions of the respective lock; receiving a first read reques
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (3)
- McKenney, et al., "Exploiting Deferred Destruction: An Analysis of Read-Copy-Update Techniques in Operating System Kernels" Draft-Jan. 3, 2005. pp. 1-41.
- Seltzer, et al., "Beyond Relational Databases" Apr. 2005. pp. 1-9.
- Stonebraker, et al.,"C-Store: A Column-oriented DBMS", Proceedings of the 31st VLDB Conference, Trondheim, Norway, 2005.