Skip to main content
Log in

Bounded Inconsistency for Type-Specific Concurrency Control

  • Published:
Distributed and Parallel Databases Aims and scope Submit manuscript

Abstract

The traditional correctness criterion of serializability indatabases is considered too restrictive especially whendatabases are used to model advanced applications. In general,two approaches are adopted to address this problem. The firstapproach considers placing more structure on data objects toexploit type specific properties while keeping serializabilityas the correctness criterion. The other approach uses explicitsemantics of transactions and databases to permit interleavedexecutions of transactions that are non-serializable. In thispaper, we attempt to bridge the gap between the two approachesby using the notion of serializability with boundedinconsistency. Users are free to specify the maximum level ofinconsistency that can be allowed in the executions ofoperations dynamically. In particular, if no inconsistency isallowed in the execution of any operation, the protocol will bereduced to a standard strict two phase locking protocol based ontype-specific semantics of data objects. On the other hand, ifinconsistency is not bounded, the execution of transactions isunrestricted in the proposed model. The proposed protocols havebeen implemented and the paper includes a performance comparisonwith the two-phase locking protocol. The results demonstrate thatthe associated overhead in the proposed protocol is notoverwhelming and the gains in transition throughput can besignificant for object based systems. Bounded inconsistency canbe applied to many areas which do not require exact values ofthe data such as for gathering information for statisticalpurpose, for decision support systems, and for reasoning inexpert systems which can tolerate uncertainty in input data.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. D. Agrawal, A. El Abbadi, and A. Singh, “Consistency and orderability: Semantics based correctness criteria for databases,” ACM Transactions on Database System, 1992, (to appear).

  2. B.R. Badrinath and K. Ramamritham, “Semantics-based concurrency control: Beyond commutativity,” ACM Transactions on Database Systems, vol. 17, no. 1, pp. 163–199, March 1992.

    Google Scholar 

  3. N.S. Barghouti and G.E. Kaiser, “Concurrency control in advanced database applications,” ACM Computing Surveys, vol. 23, no. 3, pp. 269–318, Sept. 1991.

    Google Scholar 

  4. P.A. Bernstein, V. Hadzilacos, and N. Goodman, Concurrency Control and Recovery in Database Systems, Addison Wesley: Reading, Massachusetts, 1987.

    Google Scholar 

  5. P.A. Bernstein, D.W. Shipman, and W.S. Wong, “Formal aspects of serializability in database concurrency control,” IEEE Transactions on Software Engineering, vol. 5, no. 5, pp. 203–216, May 1979.

    Google Scholar 

  6. P.K. Chrysanthis, S. Raghuram, and K. Ramamritham, “Extracting concurrency from objects: A methodology,” in Proceedings of the 1991 ACMSIGMOD International Conference on Management of Data, pp. 108–117, May 1991.

  7. K.P. Eswaran, J.N. Gray, R.A. Lorie, and I.L. Traiger, “The notions of consistency and predicate locks in a database system,” Communications of the ACM, vol. 19, no. 11, pp. 624–633, Nov. 1976.

    Google Scholar 

  8. A.A. Farrag and M.T. Özsu, “Using semantic knowledge of transactions to increase concurrency,” ACM Transactions on Database Systems, vol. 14, no. 4, pp. 503–525, Dec. 1989.

    Google Scholar 

  9. H. Garcia-Molina, “Using semantic knowledge for transaction processing in a distributed database,” ACM Transactions on Database Systems, vol. 8, no. 2, pp. 186–213, June 1983.

    Google Scholar 

  10. H. Garcia-Molina and K. Salem, “Non-deterministic queue operations,” in Proceedings of the Tenth ACM Symposium on Principles of Database Systems, pp. 53–62, 1991.

  11. D. Gawlick and D. Kinkade, “Varieties of concurrency control in IMS/VS fast path,” Bull. IEEE Database Eng., vol. 8, no. 2, pp. 3–10, 1985.

    Google Scholar 

  12. J.N. Gray, R.A. Lorie, G.R. Putzulo, and I.L. Traiger, “Granularity of locks and degrees of consistency in a shared database,” Technical Report RJ1654, IBM Research Center, Sept. 1975.

  13. T. Härder and A. Reuter, “Principles of transaction oriented database recovery,” ACM Computing Surveys, vol. 15, no. 4, Dec. 1983.

  14. M. Herlihy, “Aquorum-consensus replication method for abstract data types,”ACMTransactions on Computer Systems, vol. 4, no. 1, pp. 32–53, Feb. 1986.

    Google Scholar 

  15. M.P. Herlihy and W.E. Weihl, “Hybrid concurrency control for abstract data types,” Journal of Computer and System Sciences, vol. 43, no. 1, pp. 25–61, Aug. 1991. Special issue on the 7th Annual ACM SIGACTSIGMOD Symposium on the Principles of Database Systems, March 21-23, 1988.

    Google Scholar 

  16. H. Kamath and K. Ramamrithan, “Performance characteristics of epsilon serializability with hierarchical inconsistency bounds,” Technical Report 92-46, Department of Computer Science, University of Massachusetts, June 1992.

  17. H. Kamath and K. Ramamrithan, “Performance characteristics of epsilon serializability with hierarchical inconsistency bounds,” in Proceedings of the Ninth International Conference on Data Engineering, pp. 587–594, April 1993.

  18. H.F. Korth, “Locking primitives in a database system,” Journal of the ACM, vol. 30, no. 1, pp. 55–79, Jan. 1983.

    Google Scholar 

  19. N. Krishnakumar and A.J. Bernstein, “Bounded ignorance in replicated systems,” in Proceedings of the Tenth ACM Symposium on Principles of Database Systems, pp. 63–74, 1991.

  20. N.A. Lynch, “Multilevel atomicity-A new correctness criterion for database concurrency control,” ACM Transactions on Database Systems, vol. 8, no. 4, pp. 484–502, Dec. 1983.

    Google Scholar 

  21. P.E. O'Neil, “The Escrow transaction method,” ACM Transactions on Database Systems, vol. 11, no. 4, pp. 405–430, Dec. 1986.

    Google Scholar 

  22. C.H. Papadimitriou, “The serializability of concurrent database updates,” Journal of the ACM, vol. 26, no. 4, pp. 631–653, Oct. 1979.

    Google Scholar 

  23. C. Pu and A. Leff, “Replica control in distributed systems: An asynchronous approach,” in Proceedings of the 1991 ACM SIGMOD International Conference on Management of Data, pp. 377–386, May 1991.

  24. K. Ramamritham and C. Pu, “A formal characteristics of epsilon serializability,” 1993. To be appeared in IEEE transactions on Knowledge and Data Engineering.

  25. R. Rastogi, H.F. Korth, and A. Silberschatz, “Strict histories in object-based database systems,” in Proceedings of the Twelfth ACM Symposium on Principles of Database Systems, pp. 288–299, May 1993.

  26. A. Reuter, “Concurrency on high-traffic data elements,” in Proceedings of the First ACM Symposium on Principles of Database Systems, pp. 83–92, March 1982.

  27. H. Schek, G. Weikum, and H. Ye, “Towards a unified theory of concurrency control and recovery,” in Proceedings of the Twelfth ACM Symposium on Principles of Database Systems, pp. 300–311, May 1993.

  28. P.M. Schwarz and A.Z. Spector, “Synchronizing shared abstract types,” ACM Transactions on Computer Systems, vol. 2, no. 3, pp. 223–250, Aug. 1984.

    Google Scholar 

  29. W.E. Weihl, “Specification and implementation of atomic data types,” Ph.D. thesis, Massachusetts Institute of Technology, 1984.

  30. W.E. Weihl, “Local atomicity properties: Modular concurrency control for abstract data types,” ACM Transactions on Programming Languages and Systems, vol. 11, no. 2, pp. 249–283, April 1989.

    Google Scholar 

  31. W.E. Weihl, “The impact of recovery on concurrency control,” in Proceedings of the Eighth ACMSymposium on Principles of Database Systems, pp. 259–269, March 1989. To appear in the Journal of Computer and System Sciences.

  32. W.E. Weihl and B. Liskov, “Implementation of resilient, atomic data types,” ACM Transactions on Programming Languages and Systems, vol. 7, no. 2, pp. 244–269, 1985.

    Google Scholar 

  33. K.L. Wu, P.S. Yu, and C. Pu, “Divergence control for epsilon serializability,” in Proceedings of the Eighth International Conference on Data Engineering, pp. 506–515, Feb. 1992.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wong, M.H., Agrawal, D. & Mak, H.K. Bounded Inconsistency for Type-Specific Concurrency Control. Distributed and Parallel Databases 5, 31–75 (1997). https://doi.org/10.1023/A:1008622921917

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1008622921917

Navigation