Title :
Optimized query evaluation using cooperative sorts
Author :
Cao, Yu ; Bramandia, Ramadhana ; Chan, Chee-Yong ; Tan, Kian-Lee
Author_Institution :
Dept. of Comput. Sci., Nat. Univ. of Singapore, Singapore, Singapore
Abstract :
Many applications require sorting a table over multiple sort orders: generation of multiple reports from a table, evaluation of a complex query that involves multiple instances of a relation, and batch processing of a set of queries. In this paper, we study how multiple sortings of a table can be efficiently performed. We introduce a new evaluation technique, called cooperative sort, that exploits the relationships among the input set of sort orders to minimize I/O operations for the collection of sort operations. To demonstrate the efficiency of the proposed scheme, we implemented it in PostgreSQL and evaluated its performance using both TPC-DS benchmark and synthetic data. Our experimental results show significant performance improvement over the traditional non-cooperative sorting scheme.
Keywords :
batch processing (computers); optimisation; query processing; sorting; PostgreSQL; TPC-DS benchmark; batch processing; cooperative sorts; query evaluation optimization; synthetic data; table sorting; Application software; Clustering algorithms; Computer science; Costs; Database systems; Decision making; Merging; Query processing; Scheduling; Sorting;
Conference_Titel :
Data Engineering (ICDE), 2010 IEEE 26th International Conference on
Conference_Location :
Long Beach, CA
Print_ISBN :
978-1-4244-5445-7
Electronic_ISBN :
978-1-4244-5444-0
DOI :
10.1109/ICDE.2010.5447894