Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/375663.375686acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

STHoles: a multidimensional workload-aware histogram

Published: 01 May 2001 Publication History

Abstract

Attributes of a relation are not typically independent. Multidimensional histograms can be an effective tool for accurate multiattribute query selectivity estimation. In this paper, we introduce STHoles, a “workload-aware” histogram that allows bucket nesting to capture data regions with reasonably uniform tuple density. STHoles histograms are built without examining the data sets, but rather by just analyzing query results. Buckets are allocated where needed the most as indicated by the workload, which leads to accurate query selectivity estimations. Our extensive experiments demonstrate that STHoles histograms consistently produce good selectivity estimates across synthetic and real-world data sets and across query workloads, and, in many cases, outperform the best multidimensional histogram techniques that require access to and processing of the full data sets during histogram construction.

References

[1]
A. Aboulnaga and S. Chaudhuri. Self-tuning histograms: Building histograms without looking at data. In Proceedings of the 1999 ACM International Conference on Management of Data (SIGMOD'99), 1999.]]
[2]
C. Blake and C. Merz. UCI repository of machine learning databases, 1998.]]
[3]
N. Bruno, S. Chaudhuri, and L. Gravano. STHoles: A multidimensional workload-aware histogram. Technical Report MSR-TR-2001-36, Microsoft Research, 2001. Accessible at ftp://ftp.research.microsoft.com/pub/- tr/tr-2001-36.pdf.]]
[4]
C.-M. Chen and N. Roussopoulos. Adaptive selectivity estimation using query feedback. In Proceedings of the 1994 ACM SIGMOD International Conference on Management of Data, 1994.]]
[5]
D. Donjerkovic, Y. Ioannidis, and R. Ramakrishnan. Dynamic histograms: Capturing evolving data sets. In Proceedings of the 16th International Conference on Data Engineering, 2000.]]
[6]
P. B. Gibbons, Y. Matias, and V. Poosala. Fast incremental maintenance of approximate histograms. In VLDB'97, Proceedings of 23rd International Conference on Very Large Data Bases, 1997.]]
[7]
D. Gunopulos, G. Kollios, V. J. Tsotras, and C. Domeniconi. Approximating multi-dimensional aggregate range queries over real attributes. In Proceedings of the 2000 ACM International Conference on Management of Data (SIGMOD'00), 2000.]]
[8]
Y. Ioannidis. Query optimization. In Handbook for Computer Science. CRC Press, 1997.]]
[9]
Y. E. Ioannidis and V. Poosala. Balancing histogram optimality and practicality for query result size estimation. In Proceedings of the 1995 ACM International Conference on Management of Data (SIGMOD'95), 1995.]]
[10]
Y. E. Ioannidis and V. Poosala. Histogram-based approximation of set-valued query-answers. In VLDB'99, Proceedings of 25th International Conference onVery Large Data Bases, September 7-10, 1999, Edinburgh, Scotland, UK, 1999.]]
[11]
H. V. Jagadish, N. Koudas, S. Muthukrishnan, V.Poosala, K. C. Sevcik, and T. Suel. Optimal histograms with quality guarantees. In Proceedings of the Twenty-fourth International Conference onVery Large Databases (VLDB'98), 1998.]]
[12]
J.-H. Lee, D.-H. Kim, and C.-W. Chung. Multi-dimensional selectivity estimation using compressed histogram information. InProceedings of the 1999 ACM International Conference on Management of Data (SIGMOD'99), 1999.]]
[13]
Y. Matias, J. S. Vitter, and M. Wang. Wavelet-based histograms for selectivity estimation. In Proceedings of the 1998 ACM International Conference on Management of Data (SIGMOD'98), 1998.]]
[14]
M. Muralikrishna and D. J. DeWitt. Equi-depth histograms for estimating selectivity factors for multi-dimensional queries. In Proceedings of the 1988 ACM International Conference on Management of Data (SIGMOD'88), 1988.]]
[15]
M. Muralikrishna and D. J. DeWitt. Equi-depth histograms for estimating selectivity factors for multidimensional queries. In Proceedings of the 1988 ACM International Conference on Management of Data (SIGMOD'88), 1988.]]
[16]
S. Muthukrishnan, V.Poosala, and T. Suel. On rectangular partitionings in two dimensions: Algorithms, complexity, and applications. In Database Theory - ICDT '99, 7th International Conference, 1999.]]
[17]
F. Olken and D. Rotem. Random sampling from database holes: A survey. InStatistical and Scientific Database Management, 5th International Conference SSDBM, 1990.]]
[18]
B.-U. Pagel, H.-W. Six, H. Toben, and P. Widmayer. Towards an analysis of range query performance in spatial data structures. In Proceedings of the Twelfth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, 1993.]]
[19]
G. Piatetsky-Shapiro and C. Connell. Accurate estimation of the number of tuples satisfying a condition. In Proceedings of the 1984 ACM International Conference on Management of Data (SIGMOD'84), 1984.]]
[20]
V. Poosala and V. Ganti. Fast approximate answers to aggregate queries on a data cube. In 11th International Conference on Scientific and Statistical Database Management, Proceedings, Cleveland, Ohio, USA, 28-30 July, 1999, 1999.]]
[21]
V. Poosala and Y. E. Ioannidis. Selectivity estimation without the attribute value independence assumption. In Proceedings of the Twenty-third International Conference on Very Large Databases (VLDB'97), 1997.]]
[22]
V. Poosala, Y. E. Ioannidis, P. J. Haas, and E. J. Shekita. Improved histograms for selectivity estimation of range predicates. In Proceedings of the 1996 ACM International Conference on Management of Data (SIGMOD'96), June 1996.]]
[23]
S. A. William, H. Press, B. P. Flannery, and W. T. Vetterling. Numerical recipes in C: The art of scientific computing. Cambridge University Press, 1993.]]

Cited By

View all
  • (2024)Presto's History-Based Query OptimizerProceedings of the VLDB Endowment10.14778/3685800.368582817:12(4077-4089)Online publication date: 1-Aug-2024
  • (2024)PairwiseHist: Fast, Accurate and Space-Efficient Approximate Query Processing with Data CompressionProceedings of the VLDB Endowment10.14778/3648160.364818117:6(1432-1445)Online publication date: 1-Feb-2024
  • (2024)A Generic Machine Learning Model for Spatial Query Optimization based on Spatial EmbeddingsACM Transactions on Spatial Algorithms and Systems10.1145/365763310:4(1-33)Online publication date: 13-Apr-2024
  • Show More Cited By

Index Terms

  1. STHoles: a multidimensional workload-aware histogram

    Recommendations

    Comments

    Information & Contributors

    Information

    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
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 May 2001

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Article

    Conference

    SIGMOD/PODS01
    Sponsor:

    Acceptance Rates

    SIGMOD '01 Paper Acceptance Rate 44 of 293 submissions, 15%;
    Overall Acceptance Rate 785 of 4,003 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)51
    • Downloads (Last 6 weeks)10
    Reflects downloads up to 09 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Presto's History-Based Query OptimizerProceedings of the VLDB Endowment10.14778/3685800.368582817:12(4077-4089)Online publication date: 1-Aug-2024
    • (2024)PairwiseHist: Fast, Accurate and Space-Efficient Approximate Query Processing with Data CompressionProceedings of the VLDB Endowment10.14778/3648160.364818117:6(1432-1445)Online publication date: 1-Feb-2024
    • (2024)A Generic Machine Learning Model for Spatial Query Optimization based on Spatial EmbeddingsACM Transactions on Spatial Algorithms and Systems10.1145/365763310:4(1-33)Online publication date: 13-Apr-2024
    • (2024)LAF: A Local Depth Autoregressive Framework for Cardinality Estimation of Multi-attribute QueriesWeb and Big Data10.1007/978-981-97-2387-4_20(296-311)Online publication date: 28-Apr-2024
    • (2024)BoundEst: Estimating Join Cardinalities with Tight Upper BoundsWeb and Big Data10.1007/978-981-97-2303-4_29(437-451)Online publication date: 29-May-2024
    • (2023)Better Distributed Graph Query Planning With Scouting QueriesProceedings of the 6th Joint Workshop on Graph Data Management Experiences & Systems (GRADES) and Network Data Analytics (NDA)10.1145/3594778.3594884(1-9)Online publication date: 18-Jun-2023
    • (2023)WISK: A Workload-aware Learned Index for Spatial Keyword QueriesProceedings of the ACM on Management of Data10.1145/35893321:2(1-27)Online publication date: 20-Jun-2023
    • (2023)Robust Listwise Learning-to-Rank Approach for Database Query Optimizer2023 IEEE 29th International Conference on Parallel and Distributed Systems (ICPADS)10.1109/ICPADS60453.2023.00170(1165-1172)Online publication date: 17-Dec-2023
    • (2023)Cardinality estimation with smoothing autoregressive modelsWorld Wide Web10.1007/s11280-023-01195-726:5(3441-3461)Online publication date: 28-Jul-2023
    • (2023)Processing Reverse Nearest Neighbor Queries Based on Unbalanced Multiway Region Tree IndexWeb Information Systems Engineering – WISE 202310.1007/978-981-99-7254-8_57(733-747)Online publication date: 21-Oct-2023
    • Show More Cited By

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media