Is Distributed Locking Harder?

Abstract The problem of determining whether a set of locked transactions, accessing a distributed database, is guaranteed to produce only serializable schedules is examined. For a pair of transactions, with n steps, it is proved that this concurrency control problem, which is polynomially solvable for centralized databases, is in general coNP-complete. A new graphtheoretic technique is employed and an O(n 2 ) test for the special case of databases distributed between two sites is provided.

[1]  Philip A. Bernstein,et al.  Concurrency Control in Distributed Database Systems , 1986, CSUR.

[2]  Irving L. Traiger,et al.  The notions of consistency and predicate locks in a database system , 1976, CACM.

[3]  Irving L. Traiger,et al.  Transactions and consistency in distributed database systems , 1982, TODS.

[4]  Mihalis Yannakakis,et al.  A Theory of Safe Locking Policies in Database Systems , 1982, JACM.

[5]  Christos H. Papadimitriou,et al.  A Fast Algorithm for Testing for Safety and Detecting Deadlocks in Locked Transaction Systems , 1981, J. Algorithms.

[6]  Derick Wood,et al.  An optimal algorithm for testing for safety and detecting deadlocks in locked transaction systems , 1982, PODS.

[7]  Christos H. Papadimitriou,et al.  Concurrency Control by Locking , 1983, SIAM J. Comput..

[8]  Thomas J. Schaefer,et al.  On the Complexity of Some Two-Person Perfect-Information Games , 1978, J. Comput. Syst. Sci..

[9]  Jeffrey D. Ullman,et al.  Principles of Database Systems , 1980 .

[10]  Philip A. Bernstein,et al.  Concurrency control in a system for distributed databases (SDD-1) , 1980, TODS.

[11]  Christos H. Papadimitriou,et al.  The complexity of distributed concurrency control , 1981, 22nd Annual Symposium on Foundations of Computer Science (sfcs 1981).

[12]  Michael Stonebraker,et al.  Concurrency Control and Consistency of Multiple Copies of Data in Distributed Ingres , 1979, IEEE Transactions on Software Engineering.

[13]  Abraham Silberschatz,et al.  Consistency in Hierarchical Database Systems , 1980, JACM.

[14]  Daniel J. Rosenkrantz,et al.  System level concurrency control for distributed database systems , 1978, TODS.

[15]  Mihalis Yannakakis,et al.  Locking policies: Safety and freedom from deadlock , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[16]  Christos H. Papadimitriou On the power of locking , 1981, SIGMOD '81.

[17]  Christos H. Papadimitriou A theorem in database concurrency control , 1982, JACM.

[18]  Mihalis Yannakakis,et al.  Freedom from Deadlock of Safe Locking Policies , 1982, SIAM J. Comput..