skip to main content
10.1145/1559845.1559887acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article
Results Reproduced / v1.1

Secondary-storage confidence computation for conjunctive queries with inequalities

Published:29 June 2009Publication History

ABSTRACT

This paper investigates the problem of efficiently computing the confidences of distinct tuples in the answers to conjunctive queries with inequalities (<) on tuple-independent probabilistic databases. This problem is fundamental to probabilistic databases and was recently stated open.

Our contributions are of both theoretical and practical importance. We define a class of tractable queries with inequalities, and generalize existing results on #P-hardness of query evaluation, now in the presence of inequalities.

For the tractable queries, we introduce a confidence computation technique based on efficient compilation of the lineage of the query answer into Ordered Binary Decision Diagrams (OBDDs), whose sizes are linear in the number of variables of the lineage.

We implemented a secondary-storage variant of our technique in PostgreSQL. This variant does not need to materialize the OBDD, but computes, in one scan over the lineage, the probabilities of OBDD fragments and combines them on the fly. Experiments with probabilistic TPC-H data show up to two orders of magnitude improvements when compared with state-of-the-art approaches.

References

  1. E. Adar and C. Re. "Managing Uncertainty in Social Networks". IEEE Data Eng. Bull. 30(2), 2007.Google ScholarGoogle Scholar
  2. L. Antova, C. Koch, and D. Olteanu. "10106 Worlds and Beyond: Efficient Representation and Processing of Incomplete Information". In Proc. ICDE 2007.Google ScholarGoogle Scholar
  3. O. Benjelloun, A. D. Sarma, A. Halevy, and J. Widom. "ULDBs: Databases with Uncertainty and Lineage". In Proc. VLDB 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Dagum, R. M. Karp, M. Luby, and S. M. Ross. "An Optimal Algorithm for Monte Carlo Estimation". SIAM J. Comput. 29 5): 1484--1496, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. N. Dalvi and D. Suciu. "Efficient Query Evaluation on Probabilistic Databases". VLDB Journal 16 4), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. N. Dalvi and D. Suciu. "Management of Probabilistic Data: Foundations and Challenges". In Proc. PODS 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. N. Dalvi and D. Suciu. "The Dichotomy of Conjunctive Queries on Probabilistic Structures". In Proc. PODS 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. A. Darwiche and P. Marquis. "A knowlege compilation map". Journal of AI Research 17: 229--264, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Huang, L. Antova, C. Koch, and D. Olteanu. "MayBMS: A Probabilistic Database Management System". In Proc. SIGMOD 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Jampani, F. Xu, M. Wu, L. L. Perez, C. M. Jermaine, and P. J. Haas. "MCDB: a Monte Carlo Approach to Managing Uncertain Data". In Proc. SIGMOD 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. M. Karp and M. Luby. "Monte-Carlo Algorithms for Enumeration and Reliability Problems". In Proc. FOCS pages 56--64, 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. C. Koch and D. Olteanu. "Conditioning Probabilistic Databases". PVLDB 1(1), 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. C. Meinel and T. Theobald. Algorithms and Data Structures in VLSI Design Springer-Verlag, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. D. Olteanu and J. Huang. "Using OBDDs for Efficient Query Evaluation on Probabilistic Databases". In Proc. SUM 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. D. Olteanu, J. Huang, and C. Koch. "SPROUT: Lazy vs. Eager Query Plans for Tuple-Independent Probabilistic Databases". In Proc. ICDE 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. C. Re, N. Dalvi, and D. Suciu. Efficient top-k query evaluation on probabilistic data. In Proc. ICDE 2007.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Secondary-storage confidence computation for conjunctive queries with inequalities

        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 '09: Proceedings of the 2009 ACM SIGMOD International Conference on Management of data
          June 2009
          1168 pages
          ISBN:9781605585512
          DOI:10.1145/1559845

          Copyright © 2009 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: 29 June 2009

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate785of4,003submissions,20%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader