DocumentCode
3321636
Title
Constant-Time Query Processing
Author
Raman, Vasumathi ; Swart, Garret ; Qiao, Lin ; Reiss, Frederick ; Dialani, Vijay ; Kossmann, Donalcd ; Narang, Inderpal ; Sidle, Richard
Author_Institution
Almaden Res. Center, IBM, San Jose, CA
fYear
2008
fDate
7-12 April 2008
Firstpage
60
Lastpage
69
Abstract
Query performance in current systems depends significantly on tuning: how well the query matches the available indexes, materialized views etc. Even in a well tuned system, there are always some queries that take much longer than others. This frustrates users who increasingly want consistent response times to ad hoc queries. We argue that query processors should instead aim for constant response times for all queries, with no assumption about tuning. We present Blink, our first attempt at this goal, that runs every query as a table scan over a fully denormalized database, with hash group-by done along the way. To make this scan efficient, Blink uses a novel compression scheme that horizontally partitions tuples by frequency, thereby compressing skewed data almost down to entropy, even while producing long runs of fixed-length, easily-parseable values. We also present a scheme for evaluating a conjunction of range and equality predicates in SIMD fashion over compressed tuples, and different schemes for efficient hash-based aggregation within the L2 cache. A experimental study with a suite of arbitrary single block SQL queries over a TPCH-like schema suggests that constant-time queries can be efficient.
Keywords
query processing; Blink; compression scheme; constant-time query processing; hash-based aggregation; Costs; Data structures; Databases; Delay; Entropy; Frequency; Hardware; Humans; Query processing; Tuning;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering, 2008. ICDE 2008. IEEE 24th International Conference on
Conference_Location
Cancun
Print_ISBN
978-1-4244-1836-7
Electronic_ISBN
978-1-4244-1837-4
Type
conf
DOI
10.1109/ICDE.2008.4497414
Filename
4497414
Link To Document