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

PREFER: a system for the efficient execution of multi-parametric ranked queries

Authors Info & Claims
Published:01 May 2001Publication History

ABSTRACT

Users often need to optimize the selection of objects by appropriately weighting the importance of multiple object attributes. Such optimization problems appear often in operations' research and applied mathematics as well as everyday life; e.g., a buyer may select a home as a weighted function of a number of attributes like its distance from office, its price, its area, etc.

We capture such queries in our definition of preference queries that use a weight function over a relation's attributes to derive a score for each tuple. Database systems cannot efficiently produce the top results of a preference query because they need to evaluate the weight function over all tuples of the relation. PREFER answers preference queries efficiently by using materialized views that have been pre-processed and stored.

We first show how the result of a preference query can be produced in a pipelined fashion using a materialized view. Then we show that excellent performance can be delivered given a reasonable number of materialized views and we provide an algorithm that selects a number of views to precompute and materialize given space constraints.

We have implemented the algorithms proposed in this paper in a prototype system called PREFER, which operates on top of a commercial database management system. We present the results of a performance comparison, comparing our algorithms with prior approaches using synthetic datasets. Our results indicate that the proposed algorithms are superior in performance compared to other approaches, both in preprocessing (preparation of materialized views) as well as execution time.

References

  1. 1.Y. S. A. Levy, A. Mendelzon and D. Srivastava. Answering Queries Using Views. PODS, pages 95-104, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.R. Agrawal and E. Wimmers. A Framework For Expressing and Combining Preferences. Proceedings of ACM SIGMOD, pages 297-306, June 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Y. chi Chang, L. Bergman, V. Castelli, C. Li, M. L. Lo, and J. Smith. The Onion Technique: Indexing for Linear Optimization Queries. Proceedings of ACM SIGMOD, pages 391-402, June 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.S. Cohen, W. Nutt, and A. Serebrenik. Rewriting Aggregate Queries Using Views. PODS, pages 155-166, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.H. V. j. D. Srivastava, S. Dar and A. Levy. Answering Queries with Aggregation Using Views. Proceedings of VLDB, pages 318-329, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.O. Duschka and M. Genesereth. Answering Recursive Queries Using Views. PODS, pages 109-116, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.R. Fagin. Combining Fuzzy Information from Multiple Systems. PODS, pages 216-226, June 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.R. Fagin. Fuzzy Queries In Multimedia Database Systems. PODS, pages 1-10, June 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.R. Fagin and E. Wimmers. Incorporating User Preferences in Multimedia Queries. ICDT, pages 247-261, Jan. 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.A. Guttman. R-trees : A Dynamic Index Structure for Spatial Searching. Proceedings of ACM SIGMOD, pages 47-57, June 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.D. Hockbaum. Approximation Algorithms for NP-Hard Problems. ITP, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.C. Papadimitriou and K. Steiglitz. Combinatorial Optimization: Algorithms and Complexity. Dover. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.Y. Papakonstantinou and V. Vassalos. Query Rewriting For Semistructured Data. Proceedings of ACM SIGMOD, pages 455-466, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.T. Sellis, N. Roussopoulos, and C. Faloutsos. The R+ -tree : A Dynamic Index for Multi-dimensional Data. Proceedings of VLDB 1987, pages 507-518, Sept. 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.V. Vassalos and Y. Papakonstantinou. Expressive Capabilities, Description Languages and Query Rewriting Algorithms. JLP, 2000.Google ScholarGoogle Scholar

Index Terms

  1. PREFER: a system for the efficient execution of multi-parametric ranked 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 '01: Proceedings of the 2001 ACM SIGMOD international conference on Management of data
        May 2001
        630 pages
        ISBN:1581133324
        DOI:10.1145/375663

        Copyright © 2001 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 May 2001

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        SIGMOD '01 Paper Acceptance Rate44of293submissions,15%Overall Acceptance Rate785of4,003submissions,20%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader