Efficient execution of multiple queries on deep memory hierarchy

被引:2
作者
Zhang, Yan [1 ]
Chen, Zhi-Feng
Zhou, Yuan-Yuan
机构
[1] Peking Univ, Natl Lab Machine Percept, Beijing 100871, Peoples R China
[2] Google Inc, Mountain View, CA 94043 USA
[3] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
关键词
cache performance; temporal locality; mini-task scheduling; concurrent queries;
D O I
10.1007/s11390-007-9034-6
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper proposes a complementary novel idea, called MiniTasking to further reduce the number of cache misses by improving the data temporal locality for multiple concurrent queries. Our idea is based on the observation that, in many workloads such as decision support systems (DSS), there is usually significant amount of data sharing among different concurrent queries. MiniTasking exploits such data sharing to improve data temporal locality by scheduling query execution at three levels: query level batching, operator level grouping and mini-task level scheduling. The experimental results with various types of concurrent TPC-H query workloads show that, with the traditional N-ary Storage Model (NSM) layout, MiniTasking significantly reduces the L2 cache misses by up to 83%, and thereby achieves 24% reduction in execution time. With the Partition Attributes Across (PAX) layout, MiniTasking further reduces the cache misses by 65% and the execution time by 9%. For the TPC-H throughput test workload, MiniTasking improves the end performance up to 20%.
引用
收藏
页码:273 / 279
页数:7
相关论文
共 27 条
[1]   Data page layouts for relational databases on deep memory hierarchies [J].
Ailamaki, A ;
DeWitt, DJ ;
Hill, MD .
VLDB JOURNAL, 2002, 11 (03) :198-215
[2]  
Ailamaki A, 1999, PROCEEDINGS OF THE TWENTY-FIFTH INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P266
[3]  
[Anonymous], P INT C VER LARG DAT
[4]  
[Anonymous], P ACM SIGMOD INT C M
[5]  
[Anonymous], P ACM SIGMOD INT C M
[6]  
Boncz P, 1999, PROCEEDINGS OF THE TWENTY-FIFTH INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P54
[7]  
CAREY MJ, 1994, P ACM SIGMOD INT C M, P383
[8]  
CHEN S, 2001, P 2001 ACM SIGMOD IN, P235
[9]  
Dalvi N. N., 2001, P 20 PODS SANT BARB, P59
[10]  
Finkelstein S., 1982, P ACM SIGMOD INT C M, P235