Skip to main content

The Circular Two-Phase Commit Protocol

  • Conference paper
Advances in Databases: Concepts, Systems and Applications (DASFAA 2007)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4443))

Included in the following conference series:

Abstract

Distributed transactional systems require an atomic commitment protocol to preserve atomicity of the ACID properties. However, the industry leading standard, 2PC, is slow and adds a significant overhead to transaction processing. In this paper, a new atomic commitment protocol for main-memory primary-backup systems, C2PC, is proposed. It exploits replication to avoid disk-logging and performs the commit processing in a circular fashion. The analysis shows that C2PC has the same delay as 1PC, and reduces the total overhead compared to 2PC.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Schneider, F.B.: Replication management using the state machine approach. In: Distributed systems, 2nd edn., pp. 169–197. Addison-Wesley, Reading (1993)

    Google Scholar 

  2. Budhiraja, N., Marzullo, K., Schneider, F.B., Toueg, S.: The primary-backup approach. In: Mullender, S. (ed.) Distributed systems, pp. 199–216. Addison-Wesley, Reading (1993)

    Google Scholar 

  3. Hvasshovd, S.-O., et al.: The ClustRa telecom database: High availability, high throughput, and real-time response. In: Proc. of VLDB (1995)

    Google Scholar 

  4. Härder, T., Reuter, A.: Principles of transaction-oriented database recovery. ACM Comput. Surv. 15(4), 287–317 (1983)

    Article  Google Scholar 

  5. Gray, J.: Notes on data base operating systems. In: Operating Systems, An Advanced Course, pp. 393–481. Springer, London (1978)

    Google Scholar 

  6. Spiro, P.M., Joshi, A.M., Rengarajan, T.K.: Designing an optimized transaction commit protocol. j-DEC-TECH-J 3, 70–78 (1991)

    Google Scholar 

  7. Lampson, B., Lomet, D.: A new presumed commit optimization for two phase commit. In: Proc. of VLDB (1993), citeseer.ist.psu.edu/article/lampson93new.html

  8. Haritsa, J.R., Ramamritham, K., Gupta, R.: The prompt real-time commit protocol. IEEE Trans. Parallel Distrib. Syst. 11(2), 160–181 (2000), doi:10.1109/71.841752

    Article  Google Scholar 

  9. Gray, J., Reuter, A.: Transaction Processing: Concepts and Techniques. Morgan Kaufmann, San Francisco (1993)

    MATH  Google Scholar 

  10. Bernstein, P.A., Hadzilacos, V., Goodman, N.: Concurrency control and recovery in database systems. Addison-Wesley Longman Publ. Co., Inc., Reading (1986)

    Google Scholar 

  11. Reddy, P.K., Kitsuregawa, M.: Reducing the blocking in two-phase commit protocol employing backup sites. In: Proc. of CoopIS (1998), citeseer.ist.psu.edu/reddy98reducing.html

  12. Skeen, D.: Nonblocking commit protocols. In: Proc. of SIGMOD (1981), doi:10.1145/582318.582339

    Google Scholar 

  13. Rabinovich, M., Lazowska, E.D.: A fault-tolerant commit protocol for replicated databases. In: Proc. of PODS (1992), doi:10.1145/137097.137855

    Google Scholar 

  14. Guerraoui, R., Larrea, M., Schiper, A.: Reducing the cost for non-blocking in atomic commitment. In: ICDCS, Hong Kong, pp. 692–697 (1996), citeseer.ist.psu.edu/guerraoui96reducing.html

  15. Samaras, G., Britton, K., Citron, A., Mohan, C.: Two-phase commit optimizations and tradeoffs in the commercial environment. In: Proc. of ICDE (1993)

    Google Scholar 

  16. Mohan, C., Lindsay, B., Obermarck, R.: Transaction management in the R* distributed database management system. ACM Trans. Database Syst. 11(4), 378–396 (1986), doi:10.1145/7239.7266

    Article  Google Scholar 

  17. Stamos, J.W., Cristian, F.: A low-cost atomic commit protocol. In: Proc. of SRDS (1990)

    Google Scholar 

  18. Gawlick, D., Kinkade, D.: Varieties of concurrency control in IMS/VS Fast Path. IEEE Database Eng. Bull. 8(2), 3–10 (1985)

    Google Scholar 

  19. Park, T., Yeom, H.Y.: A consistent group commit protocol for distributed database systems. In: Proc. of PDCS (1999)

    Google Scholar 

  20. Levy, E., Korth, H.F., Silberschatz, A.: An optimistic commit protocol for distributed transaction management. In: Proc. of SIGMOD (1991), doi:10.1145/115790.115800

    Google Scholar 

  21. Abdallah, M., Pucheral, P.: A Single-Phase Non-blocking Atomic Commitment Protocol. In: Quirchmayr, G., Bench-Capon, T.J.M., Schweighofer, E. (eds.) DEXA 1998. LNCS, vol. 1460, p. 584. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  22. Abdallah, M., Guerraoui, R., Pucheral, P.: One-phase commit: Does it make sense? In: Proc. of ICPADS, Washington, DC, USA (1998)

    Google Scholar 

  23. Lee, I., Yeom, H.Y.: A single phase distributed commit protocol for main memory database systems (2002)

    Google Scholar 

  24. Stamos, J.W., Cristian, F.: Coordinator log transaction execution protocol. Distributed and Parallel Databases 1(4), 383–408 (1993)

    Article  Google Scholar 

  25. Stonebraker, M.: Concurrency control and consistency of multiple copies of data in distributed ingres. IEEE Trans. Software Eng. 5(3), 188–194 (1979)

    Article  Google Scholar 

  26. Reddy, P.K., Kitsuregawa, M.: Blocking Reduction in Two-Phase Commit Protocol with Multiple Backup Sites. In: Bhalla, S. (ed.) DNIS 2000. LNCS, vol. 1966, p. 200. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  27. Jiménez-Peris, R., Patiño-Martínez, M., Alonso, G., Arévalo, S.: A Low-Latency Non-blocking Commit Service. In: Welch, J.L. (ed.) DISC 2001. LNCS, vol. 2180, p. 93. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  28. Mehrotra, S., Hu, K., Kaplan, S.: Dealing with partial failures in multiple processor primary-backup systems. In: Proc. of CIKM (1997), doi:10.1145/266714.266929

    Google Scholar 

  29. Chandra, T.D., Toueg, S.: Unreliable failure detectors for reliable distributed systems. J. ACM 43(2), 225–267 (1996), doi:10.1145/226643.226647

    Article  MathSciNet  MATH  Google Scholar 

  30. Guerraoui, R.: Revisiting the relationship between non-blocking atomic commitment and consensus. In: Helary, J.-M., Raynal, M. (eds.) WDAG 1995. LNCS, vol. 972, Springer, Heidelberg (1995), citeseer.ist.psu.edu/guerraoui95revisiting.html

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Ramamohanarao Kotagiri P. Radha Krishna Mukesh Mohania Ekawit Nantajeewarawat

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kolltveit, H., Hvasshovd, SO. (2007). The Circular Two-Phase Commit Protocol. In: Kotagiri, R., Krishna, P.R., Mohania, M., Nantajeewarawat, E. (eds) Advances in Databases: Concepts, Systems and Applications. DASFAA 2007. Lecture Notes in Computer Science, vol 4443. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71703-4_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-71703-4_23

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-71702-7

  • Online ISBN: 978-3-540-71703-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics