DocumentCode :
774906
Title :
Optimizing sort order query execution in balanced and nested grid files
Author :
Mueck, Thomas A. ; Schauer, Manfred J.
Author_Institution :
Dept. of Data Eng., Wien Univ., Austria
Volume :
7
Issue :
2
fYear :
1995
fDate :
4/1/1995 12:00:00 AM
Firstpage :
246
Lastpage :
260
Abstract :
Disk input/output (I/O) efficient query execution is an important topic with respect to DBMS performance. In this context, we elaborate on the construction of disk access plans for sort order queries in balanced and nested grid files. The key idea is to use the order information contained in the directory of the multiattribute search structure. The presented algorithms are shown to yield a significant decrease in the number of disk I/O operations by appropriate use of the order information. Two algorithms for the construction of appropriate disk access plans are proposed, namely a greedy approach and a heuristic divide-and-conquer approach. Both approaches yield considerable I/O savings compared to straightforward query processing without consideration of any directory order information. The former performs well for small buffer page allocations, i.e., for a small number of buffer pages relative to the number of data buckets processed in the query. The latter is superior to the greedy algorithm with respect to the total number of I/O operations and with respect to the overall maximum of buffer pages needed to achieve the minimal number of disk I/O operations. Both approaches rely on a binary trie as a temporary data structure. This trie is used as an explicit representation of the order information. The storage consumption of the temporary data structure is shown to be negligible in realistic cases, Even for pathological cases with respect to degenerated balanced and nested grid files, reasonable upper bounds can be given
Keywords :
buffer storage; data structures; divide and conquer methods; input-output programs; paged storage; problem solving; query processing; sorting; DBMS performance; I/O savings; algorithms; balanced grid files; binary trie; degenerated grid files; disk access plans; disk input/output efficient query execution; greedy approach; heuristic divide-and-conquer approach; multiattribute search structure directory; nested grid files; optimised sort order query execution; order information; pathological cases; small buffer page allocations; storage consumption; temporary data structure; Classification tree analysis; Computer Society; Data structures; Database systems; Greedy algorithms; Pathology; Query processing; Sorting; Spatial databases; Upper bound;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/69.382295
Filename :
382295
Link To Document :
بازگشت