arrow
Return

Learning-Based Sample Tuning for Approximate Query Processing in Interactive Data Exploration

delete2024-11-01
delete0
PRE
AI
张寒冰 cover
张寒冰 (Hanbing Zhang)
Y
Yinan Jing *
Z
Zhenying He
K
Kai Zhang
X
X. Sean Wang
DOI:10.1109/TKDE.2023.3341451delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
For interactive data exploration, approximate query processing (AQP) is a useful approach that usually uses samples to provide a timely response for queries by trading query accuracy. Existing AQP systems often materialize samples in the memory for reuse to speed up query processing. How to tune the samples according to the workload is one of the key problems in AQP. However, since the data exploration workload is so complex that it cannot be accurately predicted, existing sample tuning approaches cannot adapt to the changing workload very well. To address this problem, this paper proposes a deep reinforcement learning-based sample tuner, RL-STuner. When tuning samples, RL-STuner considers the workload changes from a global perspective and uses a Deep Q-learning Network (DQN) model to select an optimal sample set that has the maximum utility for the current workload. In addition, this paper proposes a set of optimization mechanisms to reduce the sample tuning cost. Experimental results on both real-world and synthetic datasets show that RL-STuner outperforms the existing sample tuning approaches and achieves 1.6x-5.2x improvements on query accuracy with a low tuning cost.
Keywords:
Measurement
Adaptation models
Costs
Tuners
Accuracy
Q-learning
Query processing
Optimization
Synthetic data
Approximate query processing
interactive data exploration
data analysis

Journal

IEEE Transactions on Knowledge and Data Engineering cover
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
Papers:
6.7K
Citations:
3.2W

Organization

F
fudan university
Scholars:
11.6W
Papers: 7.7W
Citations: 121