DocumentCode :
2677841
Title :
Processing operations with restrictions in RDBMS without external sorting: the Tetris algorithm
Author :
Markl, Volker ; Zirkel, Martin ; Bayer, Rudolf
Author_Institution :
Bayerisches Forschungszentrum fur Wissensbasierte Syst., Munchen, Germany
fYear :
1999
fDate :
23-26 Mar 1999
Firstpage :
562
Lastpage :
571
Abstract :
Most operations of the relational algebra or SQL require a sorted stream of tuples for efficient processing. Therefore, processing complex relational queries relies on efficient access to a table in some sort order. In principle, indexes could be used, but they are superior to a full table scan only if the result set is sufficiently restricted in the index attribute. We present the Tetris algorithm, which utilizes restrictions to process a table in sort order of any attribute without the need for external sorting. The algorithm relies on the space partitioning of a multidimensional access method. A sweep line technique is used to read data in sort order of any attribute, while accessing each disk page of a table only once. Results are produced earlier than with traditional sorting techniques allowing better response times for interactive applications and pipelined processing of the result set. We describe a prototype implementation of the Tetris algorithm using UB-Trees on top of Oracle 8, define a cost model and present performance measurements for some queries of the TPC-D benchmark
Keywords :
SQL; query processing; relational algebra; relational databases; software performance evaluation; sorting; tree data structures; Oracle 8; SQL; TPC-D benchmark; Tetris algorithm; UB-Trees; cost model; disk page; external sorting; full table scan; index; multidimensional access method; performance measurements; pipeline processing; query processing; relational algebra; relational database; response times; space partitioning; sweep line technique; table; tuples; Costs; Delay; Ear; Indexes; Multidimensional systems; Prototypes; Query processing; Relational databases; Sorting; Warehousing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 1999. Proceedings., 15th International Conference on
Conference_Location :
Sydney, NSW
ISSN :
1063-6382
Print_ISBN :
0-7695-0071-4
Type :
conf
DOI :
10.1109/ICDE.1999.754972
Filename :
754972
Link To Document :
بازگشت