arrow
返回

Understanding and Optimizing Conjunctive Predicates Under Memory-Efficient Storage Layouts

delete2021-06-01
delete4
delete
OA
AI
Z
Zeke Wang *
X
Xue Liu
K
Kai Zhang
Bingsheng He 封面图
Bingsheng He (Bingsheng He)
DOI:10.1109/TKDE.2019.2958672delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Database queries can contain multiple predicates. The optimization of conjunctive predicates is still vital to the overall performance of analytic data processing tasks. Prior work proposes several memory-efficient storage layouts, e.g., BitWeaving and ByteSlice, to significantly accelerate predicate evaluation, as circuit-level intra-cycle parallelism available in modern CPUs can be exploited such that the total number of instructions can be dramatically reduced. However, the performance potential of conjunctive predicates has not been harvested yet under such storage layouts as there is no accurate cost model to provide necessary insights that guide the optimization process. In this paper, we propose a hybrid empirical/analytical cost model (Understanding) to unveil the performance characteristics of such storage layouts when applying to predicate evaluation. Our cost model takes into account effect of non-linear factors, e.g., cache miss and branch misprediction, and easily applies to different CPUs. The main finding from our cost model is to distinguish high-cost instruction (which suffers from cache miss and/or branch misprediction) from low-cost instruction (which enjoys cache hit and correct branch prediction) in the context of predicate evaluation under these storage layouts. Guided by such a finding, we propose a simple execution scheme Hebe (Optimizing), which is order-oblivious while maintaining high performance. Hebe is attractive to the query optimizer (QO), as the QO does not need to go through a sampling process to decide the optimal evaluation order in advance. The intuition behind Hebe is to significantly reduce the number of high-cost instructions while keeping low-cost instructions unchanged. Our finding from Hebe sheds light on the importance of accurate cost model that guide us to derive an efficient execution scheme for query processing on modern CPUs.
Keyword:
Layout
Memory management
Optimization
Acceleration
Space exploration
Computer science
Dictionaries
Database
conjunctive predicates
storage layout
CPU
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Knowledge and Data Engineering 封面图
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
论文数:
6.9K
被引数:
3.2W

机构

F
fudan university
学者数:
11.8W
论文数: 7.7W
被引数: 121
N
northeastern university - china
学者数:
3.2W
论文数: 2.7W
被引数: 37
N
National University of Singapore
学者数:
7.6W
论文数: 6.5W
被引数: 11.4W
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
学者 查看更多机构
引用论文

引用论文

Breaking the Memory Wall in MonetDB
err2008-12-01
err143
errOAAI
errBoncz, Peter A.; Kersten, Martin L.; Manegold, Stefan
err分享
err收藏
Adjunctive Iliac Stents Reduce the Risk of Stent-Graft Limb Occlusion Following Endovascular Aneurysm Repair With the Zenith Stent-Graft
err2010-02-26
err0
PREAI
errOlufemi A. Oshin; Robert K. Fisher; Leith A. Williams; John A. Brennan; Geoffrey L. Gilling-Smith; S. Rao Vallabhaneni; Richard G. McWilliams
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容