Patents
US 7,174,331 B1#2718643 Most CitedExpiredUnited States (USPTO)Utility

Locking mechanism for views associated with B-tree indexes

27Forward Citations (#2718643 Global)
1.4/yrCitation Velocity (#3872293 Global)
3.42Citation PageRank (#6139826 Global)
10Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A database system includes a locking mechanism for a view defined on one or more base relations. A B-tree index is defined on the view. In response to updates of a base relation, predefined locks are placed on the view. With locking mechanisms according to some embodiments of the invention, concurrency of transactions that access the view and B-tree index is enhanced by enabling concurrent updates of the materialized view by plural transactions in certain cases, while avoiding read-write and write-read conflicts.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of maintaining consistency in a computer implemented database system comprising: storing a view that is based on one or more relations; storing a B-tree index for the view; and in response to a request to update one of the one or more base relations, placing a predefined first lock on the view, wherein the predefined first lock conflicts with either a shared lock or an exclusive lock placed on the view but does not conflict with another predefined first lock placed on the view.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising performing key range locking on the view in response the B-tree index being present.

  3. Claim 3Depends on #2

    The method of claim 2 , wherein the request specifies an update of a row with a first value of an attribute, the method further comprising: determining if the first value of an attribute is present in the B-tree index, wherein th

Technical Overview & Description

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

Non-Patent Literature (5)

  • A. Kawaguchi, et al. "Concurrency Control Theory for Deferred Materialized Views." ICDT, pp. 306-320 (1997).
  • C. Mohan "ARIES/KVL: A key-Value Locking Method for Concurrency Control of Multiaction Transactions Operating on B-Tree Indexes." VLDB, pp. 392-405, (1990).
  • C. Mohan "Commit<SUB>-</SUB>LSN: A Novel and Simple Method for Reducing Locking and Latching in Transaction Processing Systems." VLDB, pp. 406-418 (1990).
  • C. Mohan, "ARIES/LHS: A Concurrency Control and Recovery Method Using Write-Ahead Logging for Linear Hashing with Separators." ICDE, pp. 243-252 (1993).
  • C. Mohan, et al., "ARIES/IM: An Efficient and High Concurrency Index Management Method Using Write-Ahead Logging." SIGMOD Conf., pp. 371-380 (1992).