skip to main content
10.1145/3035918.3058748acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
short-paper

BEAS: Bounded Evaluation of SQL Queries

Authors Info & Claims
Published:09 May 2017Publication History

ABSTRACT

We demonstrate BEAS, a prototype system for querying relations with bounded resources. BEAS advocates an unconventional query evaluation paradigm under an access schema A, which is a combination of cardinality constraints and associated indices. Given an SQL query Q and a dataset D, BEAS computes Q(D) by accessing a bounded fraction DQ of D, such that Q(DQ) = Q(D) and DQ is determined by A and Q only, no matter how big D grows. It identifies DQ by reasoning about the cardinality constraints of A, and fetches DQ using the indices of A. We demonstrate the feasibility of bounded evaluation by walking through each functional component of BEAS. As a proof of concept, we demonstrate how BEAS conducts CDR analyses in telecommunication industry, compared with commercial database systems.

References

  1. S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. S. Agarwal, B. Mozafari, A. Panda, H. Milner, S. Madden, and I. Stoica. BlinkDB: Queries with bounded errors and bounded response times on very large data. In EuroSys, 2013. łooseness = -1 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. M. Armbrust, S. Tu, A. Fox, M. J. Franklin, D. A. Patterson, N. Lanham, B. Trushkowsky, and J. Trutna. PIQL: a performance insightful query language. In SIGMOD, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BEAS.sl http://139.196.196.250:8000/BEAS.Google ScholarGoogle Scholar
  5. Y. Cao and W. Fan. An effective syntax for bounded relational queries. In SIGMOD, 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Y. Cao, W. Fan, F. Geerts, and P. Lu. Bounded query rewriting using views. In PODS, 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Y. Cao, W. Fan, T. Wo, and W. Yu. Bounded conjunctive queries. PVLDB, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. W. Fan, F. Geerts, Y. Cao, and T. Deng. Querying big data by accessing small data. In PODS, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. W. Fan, F. Geerts, and L. Libkin. On scale independence for querying big data. In PODS, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Ramakrishnan and J. Gehrke. Database Management Systems. McGraw-Hill Higher Education, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. S. Zilberstein. Using anytime algorithms in intelligent systems. AI magazine, 17(3), 1996.Google ScholarGoogle Scholar

Index Terms

  1. BEAS: Bounded Evaluation of SQL 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 '17: Proceedings of the 2017 ACM International Conference on Management of Data
        May 2017
        1810 pages
        ISBN:9781450341974
        DOI:10.1145/3035918

        Copyright © 2017 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 the author(s) 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: 9 May 2017

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • short-paper

        Acceptance Rates

        Overall Acceptance Rate785of4,003submissions,20%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader