skip to main content
10.1145/1007568.1007658acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Toward a progress indicator for database queries

Published:13 June 2004Publication History

ABSTRACT

Many modern software systems provide progress indicators for long-running tasks. These progress indicators make systems more user-friendly by helping the user quickly estimate how much of the task has been completed and when the task will finish. However, none of the existing commercial RDBMSs provides a non-trival progress indicator for long-running queries. In this paper, we consider the problem of supporting such progress indicators. After discussing the goals and challenges inherent in this problem, we present a set of techniques sufficient for implementing a simple yet useful progress indicator for a large subset of RDBMS queries. We report an initial implementation of these techniques in PostgreSQL.

References

  1. A. Aboulnaga, S. Chaudhuri. Self-tuning Histograms: Building Histograms Without Looking at Data. SIGMOD Conf. 1999: 181--192. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. G. Antoshenkov. Dynamic Query Optimization in Rdb/VMS. ICDE 1993:538--547. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. N. Bruno, S. Chaudhuri, and L. Gravano. STHoles: A Multidimensional Workload-Aware Histogram. SIGMOD Conf. 2001:211--222. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. A. Berque, M. K. Goldberg. Monitoring an Algorithm's Execution. Computational Support for Discrete Mathematics, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, Vol. 15, pp. 153--163, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  5. R. L. Cole, G. Graefe. Optimization of Dynamic Query Evaluation Plans. SIGMOD Conf. 1994:150--160. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. C. Chekuri, W. Hasan, and R. Motwani. Scheduling Problems in Parallel Query Optimization. PODS 1995: 255--265. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. DB2. SQL/Monitoring Facility. http://www.sprdb2.com/SQLMFVSE.PDF, 2000.Google ScholarGoogle Scholar
  8. M. Dempsey. Monitoring Active Queries with Teradata Manager 5.0. http://www.teradataforum.com/attachments/a030318c.doc, 2001.Google ScholarGoogle Scholar
  9. M. A. Derr. Adaptive Query Optimization in a Deductive Database System. CIKM 1993:206--215. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. P. J. Hass, J. M. Hellerstein. Ripple Joins for Online Aggregation. SIGMOD Conf. 1999:287--298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. M. Hellerstein, P. J. Haas, and H. J. Wang. Online Aggregation. SIGMOD Conf. 1997:171--182. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Y. E. Ioannidis, R. T. Ng, and K. Shim et al. Parametric Query Optimization. VLDB Journal 6(2):132--151, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. I. F. Ilyas, J. Rao, and G. M. Lohman et al. Estimating Compilation Time of a Query Optimizer. SIGMOD Conf. 2003:373--384. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. N. Kabra, D. J. DeWitt. Efficient Mid-Query Re-Optimization of Sub-Optimal Query Execution Plans. SIGMOD Conf. 1998:106--117. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. U. Larry. Monitoring Rollback Progress. http://www.interealm.com/technotes/larry/rollback_time.ht ml, 2002.Google ScholarGoogle Scholar
  16. B. A. Myers. The Importance of Percent-Done Progress Indicators for Computer-Human Interfaces. SIGCHI 1985: 11--17. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. K. W. Ng, Z. Wang, and R. R. Muntz et al. Dynamic Query Re-Optimization. SSDBM 1999:264--273. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Oracle. Communication with Oracle during long-running query. http://www.experts-exchange.com/Databases/Oracle/Q_20675711.html, 2003.Google ScholarGoogle Scholar
  19. PostgreSQL homepage, 2003. http://www.postgresql.org.Google ScholarGoogle Scholar
  20. R. Ramakrishnan, J. E. Gehrke. Database Management Systems, Third Edition. McGraw-Hill, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. Stillger, G. M. Lohman, and V. Markl et al. LEO - DB2's LEarning Optimizer. VLDB 2001:19--28. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. TPC Homepage. TPC-R benchmark, www.tpc.org.Google ScholarGoogle Scholar
  1. Toward a progress indicator for database queries

      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 '04: Proceedings of the 2004 ACM SIGMOD international conference on Management of data
        June 2004
        988 pages
        ISBN:1581138598
        DOI:10.1145/1007568

        Copyright © 2004 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: 13 June 2004

        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