arrow
Return

Bounded Approximate Query Processing

delete2019-12-01
delete11
PRE
AI
K
Kaiyu Li *
Y
Yong Zhang
G
Guoliang Li
W
Wenbo Tao
Y
Ying Yan
DOI:10.1109/TKDE.2018.2877362delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
OLAP is a core functionality in database systems and the performance is crucial to enable on-time decisions. However, OLAP queries are rather time consuming, especially on large datasets, and traditional exact solutions usually cannot meet the high-performance requirement. Recently, approximate query processing (AQP) has been proposed to enable approximate OLAP. However, existing AQP methods have some limitations. First, they may involve unacceptable errors on skewed data (e.g., long-tail distribution). Second, they require to store large amount of data and have no significant performance improvement. Third, they only support a small subset of SQL aggregation queries. To overcome these limitations, we propose a bounded approximate query processing framework ${\mathtt {BAQ}}$BAQ. Given a predefined error bound and a set of queries, ${\mathtt {BAQ}}$BAQ judiciously selects high-quality samples from the data to generate a unified synopsis offline, and then uses the synopsis to answer online queries. Compared with existing methods, ${\mathtt {BAQ}}$BAQ has the following salient features. (1) ${\mathtt {BAQ}}$BAQ does not need to generate a synopsis for each query while it only generates a unified synopsis, and thus ${\mathtt {BAQ}}$BAQ has much smaller synopsis. (2) ${\mathtt {BAQ}}$BAQ achieves much smaller error than existing studies. Specifically, ${\mathtt {BAQ}}$BAQ can provide deterministic approximate results (i.e., the estimated query results must be within the error bound with 100 percent confidence) for SQL aggregation queries that do not contain selection conditions on numerical columns. For queries with selection conditions on numerical columns, we propose effective grouping-based techniques and the estimated results are also within the error bound in practice. Experimental results on both real and synthetic datasets show that ${\mathtt {BAQ}}$BAQ significantly outperforms state-of-the-art approaches. For example, on a Microsoft production dataset (a real dataset with synthetic queries), ${\mathtt {BAQ}}$BAQ has 10-100 improvement on synopsis size and 10-100 improvement on the error compared with state-of-the-art algorithms.
Keywords:
Query processing
Finance
Big Data
Data acquisition
Histograms
Computer science
Data integration
approximate query processing
synopsis
sampling
bounded error
Learned Optimizer for Online Approximate Query Processing in Data Exploration
err2024-08-01
err0
PREAI
errLiu, Liyuan; Zhang, Hanbing; Jing, Yinan; He, Zhenying; Zhang, Kai; Wang, X. Sean
errShare
errSave
Diversification on big data in query processing
err2020-01-03
err5
PREAI
errZhang, Meifan; Wang, Hongzhi; Li, Jianzhong; Gao, Hong
errShare
errSave
QoS-Aware Approximate Query Processing for Smart Cities Spatial Data Streams
errSENSORS
IF3.5
err2021-06-17
err7
errOAAI
errAl Jawarneh, Isam Mashhour; Bellavista, Paolo; Corradi, Antonio; Foschini, Luca; Montanari, Rebecca
errShare
errSave
errShare
errSave
errShare
errSave
Road-Aware Indexing for Trajectory Range Queries
err2022-01-01
err0
PREAI
errWang, Yong; Li, Kaiyu; Li, Guoliang; Tang, Nan
errShare
errSave

Journal

IEEE Transactions on Knowledge and Data Engineering cover
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
Papers:
7.0K
Citations:
4.1W

Organization

Tsinghua University cover
Tsinghua University
Scholars:
1.2W
Papers: 4.2K
Citations: 9.9W
Cited Papers

Cited Papers

Dynamics and thermodynamics of magma mixing: Insights from a simple exploratory model
err2016-03-01
err0
errOAAI
errFrank J. Spera; Jason S. Schmidt; Wendy A. Bohrson; Guy A. Brown
errShare
errSave
errShare
errSave
Latent Variable Based Anomaly Detection in Network System Logs
err2019-09-01
err0
errOAAI
errKazuki OTOMO; Satoru KOBAYASHI; Kensuke FUKUDA; Hiroshi ESAKI
errShare
errSave
researcher View more