skip to main content
10.1145/130283.130337acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article
Free Access

Algorithms for creating indexes for very large tables without quiescing updates

Published:01 June 1992Publication History

ABSTRACT

As relational DBMSs become more and more popular and as organizations grow, the sizes of individual tables are increasing dramatically. Unfortunately, current DBMSs do not allow updates to be performed on a table while an index (e.g., a B+-tree) is being built for that table, thereby decreasing the systems' availability. This paper describes two algorithms in order to relax this restriction. Our emphasis has been to maximize concurrency, minimize overheads and cover all aspects of the problem. Builds of both unique and nonunique indexes are handled correctly. We also describe techniques for making the index-build operations restartable, without loss of all work, in case a system failure were to interrupt the completion of the creation of the index. In this connection, we also present algorithms for making a long sort of operation restartable. These include algorithms for the sort and merge phases of sorting.

References

  1. CHHIM91.Cheng, J., Haderle, D., Hedges, R., lyer, B., Messinger, T., Mohan, C., Wang, Y. An Efficient Hybrid Join Algorithm: o 9BZ Prototype, Proc. 7th International Conference on Data Engineering, Kobe, April 1991. An expanded version of this paper is available as IBM Research Report RJ7884, IBM Almaden Research Center, December 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. DeGr90.DeWitt, D., Gray, J. PorolZel Dotobase Systems: The Future of Dotabose Processing or o Possing Fad?, ACM SIGMOD Record, Volume 19, Number 4, Decemeber 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Gray78.Gray, J. Notes on Doto Bose Operoting Systems, In Operating Systems - An Advanced Course, R. Bayer, R. Graham, and G. Seegmuller (Eds.), LNCS Volume 60, Springer-Verlag, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Knut73.Knuth, D. The Art of Computer Programming: Volume 3, Addison-Wesley Publishing Co., 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. MHLPS92.Mohan, C., Haderle, D., Llndsay, B., Pirahesh, H., Schwarz, P. ARIES: A Tronsoct ion Recovery Method Supporting Fine-6ronulority Locking ond Portiol Rol Zbocks Using Write-Aheod Logging, ACM Transactions on Database Systems, Vol. 17, No. 1, March 1992. Also available as IBM Research Report RJ6649, IBM Almaden Research Center, January 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Moha90a.Mohan, C.ARIE$/KVL: A Key-VoZue Locking Hethod for Concurrency ControZ of HuZ t ioction Tronsoct ions Operating on B-Tree Indexes, Proc. 16th International Conference on Very Large Data Bases, Brisbane, August 1990. A different version ot this paper is available as IBM Research Report RJ7008, IBM Almaden Research Center, September 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Moha90b.Mohan, C. Commit LSN: A Novel ond SimpZe Hethod for Reducing Locking ond Lotching in Tronsoction Processing Systems, Proc. 16t1~ 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
  8. Moha92.Mohan, C. Supporting Very Lorge TobZes, Proc. 7th Brazilian Symposium on Database Systems, Porto Alegre, May 1992.Google ScholarGoogle Scholar
  9. MoLe92.Mol~an, C., Levine, F. ARIES~IN: An Efficient ond High Concurrency Index Honogement Method Us ing Write-Aheod Logging, Proc. ACM SlGMOD International Conference on Management of Data, San Diego, June 1992. A longer version ot this paper is available as IBM Research Report RJ6846, IBM Almaden Research Center, August 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. MoPL92.Mohan, C., Pirahesh, H., Lorle, R. Efficient end FZexibZe Hethods for Tronsient Versioning of Records to Avoid Locking by Reod-Only Tronsocttons, Pro~. ACM SlOMOD International Conference on Management of Data, San Diego, June 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Ober80.Obermarck, R. IHS/V5 Progrom isolotion Feoture, IBM Research Report RJ2879, IBM San Jose Research Laboratory, July 1980.Google ScholarGoogle Scholar
  12. PMCLS90.Ptrahesh, H., Mohan, C., Cheng, J., Llu, T.S., Sellnger, P. PurolleZtsm in ReZotionol Ooto Bose Systems: Architecturol Issues ond Design Approoches, Proc. 2nd International Symposium on Databases in Parallel and Distributed Systems, Dublin, July 1990. An expanOeO version of this paper Is available as IBM Research Report RJ7724, IBM Almaden Research Center, October 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. SiSU91.Silberschatz, A., Stonebraker, M., UIIman, J. (Eds.) Ootobose Systems: Achievements ond Opportunities, Communications of the ACM, Vol. 34, No. 10, October 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. SrCa91.Srinivasan, V., Carey, M. On-Line Index Construction Algorithms, Proc. 4th International Workshop on High Performance Transaction Systems, Asllomar, September 1991.Google ScholarGoogle Scholar
  15. TeGu84.Teng, J., Gumaer, R. Honogtng IBH Dotobose 2 Buffers to Hoximize Performonce, IBM Systems Journal, Vol. 23, No. 2, 1984.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Algorithms for creating indexes for very large tables without quiescing updates

            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
            • Published in

              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

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate785of4,003submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader