Title :
Dynamic optimization of index scans restricted by Booleans
Author :
Antoshenkov, Gennady
Author_Institution :
Oracle Corp., Redwood Shores, CA, USA
fDate :
26 Feb-1 Mar 1996
Abstract :
When index retrieval is restricted to a range or singleton, an index scan is not done in its entirety because key portions before and after the range are skipped. Likewise, in some production databases, gaps between multiple ranges are skipped. However, ranges on the second attribute of a composite key are considered unproductive for key skip because they do not constitute a key range. This is not so. Restriction age=40 for index [sex,age] can be viewed as ORed singletons “female”||40 OR “male”||40 and gaps around them can be skipped using a fraction of I/Os needed for a full index scan. In this paper, a novel method of skipping gaps at index scan is introduced which, during index scan, detects practically all gaps for arbitrary Boolean restrictions and skips them. The efficiency of this technology is illustrated using a prototype implementation
Keywords :
Boolean functions; database theory; optimisation; query processing; relational databases; tree data structures; Booleans; arbitrary Boolean restrictions; gap skipping; index retrieval; index scan; index scans; multiple ranges; optimization; production databases; query processing; range; relational database; singleton; tree data structures; Databases; Indexes; Mechanical factors; Production; Prototypes; Trademarks;
Conference_Titel :
Data Engineering, 1996. Proceedings of the Twelfth International Conference on
Conference_Location :
New Orleans, LA
Print_ISBN :
0-8186-7240-4
DOI :
10.1109/ICDE.1996.492192