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

Vertical and horizontal percentage aggregations

Published:13 June 2004Publication History

ABSTRACT

Existing SQL aggregate functions present important limitations to compute percentages. This article proposes two SQL aggregate functions to compute percentages addressing such limitations. The first function returns one row for each percentage in vertical form like standard SQL aggregations. The second function returns each set of percentages adding 100% on the same row in horizontal form. These novel aggregate functions are used as a framework to introduce the concept of percentage queries and to generate efficient SQL code. Experiments study different percentage query optimization strategies and compare evaluation time of percentage queries taking advantage of our proposed aggregations against queries using available OLAP extensions. The proposed percentage aggregations are easy to use, have wide applicability and can be efficiently evaluated.

References

  1. S. Chaudhuri and U. Dayal. An overview of data warehousing and OLAP technology. SIGMOD Record, 26(1):65--74, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Clear, D. Dunn, B. Harvey, M. L. Heytens, and P. Lohman. Non-stop SQL/MX primitives for knowledge discovery. In ACM KDD Conference, pages 425--429, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. G. Graefe, U. Fayyad, and S. Chaudhuri. On the efficient gathering of sufficient statistics for classification from large SQL databases. In ACM KDD Conference, pages 204--208, 1998.Google ScholarGoogle Scholar
  4. J. Gray, A. Bosworth, A. Layman, and H. Piharesh. A relational aggregation operator generalizing group-by, cross-tab and sub-total. In ICDE Conference, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. Han, J. Pei, G. Dong, and K. Wang. Efficient computation of iceberg cubes with complex measures. In ACM SIGMOD Conference, pages 1--12, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. ISO-ANSI. Amendment 1: On-Line Analytical Processing, SQL/OLAP, pages 46--55. ANSI, 1999.Google ScholarGoogle Scholar
  7. J. Widom. Research poblems in data warehousing. In ACM CIKM Conference, pages 25--30, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. A. Witkowski, S. Bellamkonda, T. Bozkaya, G. Dorman, N. Folkert, A. Gupta, L. Sheng, and S. Subramanian. Spreadsheets in RDBMS for OLAP. In ACM SIGMOD Conference, pages 52--63, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. Zaharioudakis, M. Cochrane, R. Lapis, H. Piharesh, and M. Urata. Answering complex SQL queries using automatic summary tables. In ACM SIGMOD Conference, pages 105--116, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Y. Zhuge, H. Garcia-Molina, and J. Hammer. View maintenance in a warehousing environment. In ACM SIGMOD Conference, pages 316--327, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Vertical and horizontal percentage aggregations

      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