skip to main content
article
Free Access

Efficient and flexible methods for transient versioning of records to avoid locking by read-only transactions

Published:01 June 1992Publication History
Skip Abstract Section

Abstract

We present efficient and flexible methods which permit read-only transactions that do not mind reading a possibly slightly old, but still consistent, version of the data base to execute without acquiring locks. This approach avoids the undesirable interferences between such queries and the typically shorter update transactions that cause unnecessary and costly delays. Indexed access by such queries is also supported, unlike by the earlier methods. Old versions of records are maintained only in a transient fashion. Our methods are characterized by their flexibility (number of versions maintained and the timing of version switches, supporting partial rollbacks, and different recovery and buffering methods) and their efficiency (logging, garbage collection, version selection, and incremental, record-level versioning). Distributed data base environments are also supported, including commit protocols with the read-only optimization. We also describe efficient methods for garbage collecting unneeded older versions.

References

  1. AgSe89 AQrawal. D., Senoupta. S. Nodular Synchronization in HuZtlverslon Databases: Version ControZ and Concurrency Contro Z, Proc. SIGMOD International Conference on Management of Data, Portland, May 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. BaHR80 Bayer, R., Heller, H., and Raiser, A. Parallelism end Recovery in Data base Systems, Transactions on Database Systems, Vol. 5, No. 2, June 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. BoCa92 Bober, P., Carey, M. On Htxfng Queries and Transactions Via Nulttverston Locking, Proc. 8th International Conference on Data Engineering, Tempe, February 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. ChGr85 Chan, A., Gray, R.Implementlng Olstrlbuted Read-Only Transact ions, IEEE Transactions on Software Engineer- Ing, Vol. SE-11, No. 2, February 1985.Google ScholarGoogle Scholar
  5. CFLN82 Chan, A., Fox, S., Un, W-T., Norl, A., and Ries, D. The impZementotton of An Integrated Concurrency Control end Recovery Scheme, Proc. SIGMOD International Conference on Management of Data, Orlando, June 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. GMBL81 Gray, J., McJones, P., Blasgen, M., Lindsay, B., Lorle, R., Price, T., Putzolu, F., Traiger, I. The Recovery Nonager of the System R Database Hanager, ACM Computing Surveys, Vol. 13, No. 2, June 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. MBCS91 Mohan, C., Britton, !<., Citron, A., Samaras, G. Generalized Presumed Abort: IVlarrying Presumed Abort and SNA's LU 6.2 Commit Protocols, IBM Research Report, IBM Almaden Research Center, November 1991.Google ScholarGoogle Scholar
  8. MHLPS92 Mohan, C., Haderle, D., Lindsay, B., Pirahesh, H., Schwarz, P. ARIES: A Transact ion Recovery Hethod Supporting Fine-GronuZortty Locking end Partial Rol Zbecks Using Write-Ahead Logging, ACM Transactions on Database Systems, Vol. 17, No. 1, March 1992. Also available as IBM Research Report RJ6849, IBM Almaden Research Center, January 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Moha90a Mohan, C.ARIES/KVL: A Key-Value Locking Hethod }'or Concurrency Control of HuZttactton Transactions Operating on B-Tree Indexes, Proc. 16th International Conference on Very Large Data Bases, Brisbane, August 1990. A different version of this paper is available as IBM Research Report RJT00S, IBM Almaden Research Center, September 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Moha90b Mohan, C. Commit LSN: A Novel and Simple Hethod for Reducing Locking and Latching in Transaction Processing Systems, Proc. 16th international Conference on Very Large Data Bases, Brisbane, August 1990. Also available as IBM Research Report RJ7344, IBM Almaden Research Center, February 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. MoLe92 Mohan, C., Levine, F. ARZES/IH: An Efficient and High Concurrency Index Hanogement Hethod Us tng Hrite-Ahead Logging, Proc. SIOMOD International Conference on Management of Data, San Diego, June 1992. A longer version is available as IBM Research Report RJ6846, IBM Almaden Research Center, August 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. MoLO86 Mohan, C., LJndsay, B., Obermarck, R. Transaction Henegement in the R* Distributed Oota Bose Henegement System, ACM Transactions on Database Systems, December 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. PMCLS90 Pirahesh, H., Mohan, C., Cheng, J., LJu, T.S., Sellnger, P. Parallelism in Relational Data Bose Systems: Archttectura! Issues and Design Approaches, Pro~. 2rid International Symposium on Databases in Parallel and Distributed Systems, Dublin, July 1990. A longer version is available as IBM Research Report RJ7724, IBM Almaden Research Center, October 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. RaRe91 Raghavan, A., Rengarajan, T.K. Database AvellabiZ try for Transact ion Processing, Digital Technical Journal, Vol. 3, No. 1, Winter 1991.Google ScholarGoogle Scholar
  15. Reed78 Reed, D. Naming and Synchronization in e OecentraZ ized Computer System, PhD Thesis, Technical Report MIT/LCS/TR-205, MIT, September 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. StRo81 Stearns, R.E., Rosenl<rantz, D.J. Distributed Database Concurrency Controls Ustno Before-Values, Proc. SIGMOD International Conference on Management of Data, Ann Arbor, April 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Weih87 Weihl, W. Distributed Version Henogement for Read-OnZy Actions, IEEE Transactions on Software En. gineedng, Vol. SE-13, No. 1, January 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Efficient and flexible methods for transient versioning of records to avoid locking by read-only transactions

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image ACM SIGMOD Record
          ACM SIGMOD Record  Volume 21, Issue 2
          June 1, 1992
          415 pages
          ISSN:0163-5808
          DOI:10.1145/141484
          Issue’s Table of Contents
          • cover image ACM Conferences
            SIGMOD '92: Proceedings of the 1992 ACM SIGMOD international conference on Management of data
            June 1992
            416 pages
            ISBN:0897915216
            DOI:10.1145/130283

          Copyright © 1992 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 June 1992

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader