Beyond two-phase locking
Many database systems maintain the consistency of the data by using a locking protocol to restrict access to data items. It has been previously shown that if no information is known about the method of accessing items in the database, then the two-phase protocol is optimal. However, the use of structural information about the database allows development of non- two-phase protocols, called graph protocols, that can potentially increase efficiency. Yannakakis developed a general class of protocols that included many of the graph protocols. Graph protocols either are only usable in certain types of databases or can incur the performance liability of cascading rollback. In this paper, it is demonstrated that if the system has a priori information as to which data items will be locked first by various transactions, a new graph protocol that is outside the previous classes of graph protocols and is applicable to arbitrarily structured databases can be constructed. This new protocol avoids cascading rollback and its accompanying performance degradation, and extends the class of serializable sequences allowed by non-two-phase protocols. This is the first protocol shown to be always as effective as the two-phase protocol, and it can be more effective for certain types of database systems.
- Locking based on a pairwise decomposition of the transaction system
- Safe locking policies for dynamic databases
- Operation-specific locking in balanced structures
- Constrained shared locks for increasing concurrency in databases
- scientific article; zbMATH DE number 3881904 (Why is no real title available?)
- An algorithm for early unlocking of entities in database transactions
- The virtues of locking by symbolic names
- Two-phase commit processing with restructured commit tree
- A transaction length-sensitive protocol based on altruistic locking for multilevel secure database systems
- A Biased Look at Phase Locking: Brief Critical Review and Proposed Remedy
- scientific article; zbMATH DE number 803797 (Why is no real title available?)
- A superior two-phase locking algorithm amd its performance
- Exploiting logical structures in replicated databases
This page was built for publication: Beyond two-phase locking
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3771669)