CS2: a new database synopsis for query estimation

  • Authors:
  • Feng Yu;Wen-Chi Hou;Cheng Luo;Dunren Che;Mengxia Zhu

  • Affiliations:
  • Southern Illinois University, Carbondale, IL, USA;Southern Illinois University, Carbondale, IL, USA;Coppin State University, Baltimore, MD, USA;Southern Illinois University, Carbondale, IL, USA;Southern Illinois University, Carbondale, IL, USA

  • Venue:
  • Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Fast and accurate estimations for complex queries are profoundly beneficial for large databases with heavy workloads. In this research, we propose a statistical summary for a database, called CS2 (Correlated Sample Synopsis), to provide rapid and accurate result size estimations for all queries with joins and arbitrary selections. Unlike the state-of-the-art techniques, CS2 does not completely rely on simple random samples, but mainly consists of correlated sample tuples that retain join relationships with less storage. We introduce a statistical technique, called reverse sample, and design a powerful estimator, called reverse estimator, to fully utilize correlated sample tuples for query estimation. We prove both theoretically and empirically that the reverse estimator is unbiased and accurate using CS2. Extensive experiments on multiple datasets show that CS2 is fast to construct and derives more accurate estimations than existing methods with the same space budget.