System and method for selective partition locking
Abstract
A method and system for controlling concurrency of access to data in a database system, includes: partitioning a table in the database system into a plurality of partitions; receiving a request for access to data; determining a partition of the plurality of partitions that contains the data; determining if the data has been committed; and if so, avoiding locking the partition in response to the request. By avoiding locking the partition when the data has been committed, the number of partition locks that need to be requested from a local resource lock manager is reduced, improving performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for controlling concurrency of access to data in a database system having a database engine, data manager and database, the method comprising: providing for enabling and indexing of selective partition locking of a table; partitioning the table in the database system into a plurality of partitions; receiving a lock request having one or more statements for access to data in the database system, the lock request being a request for a page lock or a row lock for a corresponding row or page in the database system containing the data; determining a minimum lock state for each statement of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- "An Introduction to Database Systems," Chapter 14, "Concurrency," C.J. Date, 6th Edition, Addison-Wesley Systems Programming Series, 1995, pp. 391-415.
- "Locking in DB2 for MVS/ESA Environment", Aug. 1996, International Technical Support Organization, San Jose Center.
- C. Mohan et al., "Efficient Locking and Caching of Data in the Multisystem Shared Disks Transaction Environment," 3rd Inv. Conf. On Extending Database Technology, Vienna, Mar. 1992, 16 pages.
- Dias, Daniel M. et al., Integrated Concurrency-Coherency Controls for Multisystem Data Sharing, IEEE, Trans on Software Engineering, vol. 15, No. 4, New York, NY, 1989, pp. 437-447.
- IBM Technical Disclosure Bulletin, "Method for Performance Enhancement in the Parallel Execution of Status Database Transactions," Aug. 1994, vol. 37, No. 8, pp. 609-614.