Reducing order enforcement cost in complex query plans
DSpace at IIT Bombay
View Archive InfoField | Value | |
Title |
Reducing order enforcement cost in complex query plans
|
|
Creator |
GURAVANNAVAR, RAVINDRA
SUDARSHAN, S |
|
Subject |
database systems
query processing heuristic methods set theory |
|
Description |
Algorithms that exploit sort orders are widely used to implement joins, grouping, duplicate elimination and other set operations. Query optimizers traditionally deal with sort orders by using the notion of interesting orders. The number of interesting orders is unfortunately factorial in the number of participating attributes. Optimizer implementations use heuristics to prune the number of interesting orders, but the quality of the heuristics is unclear. Increasingly complex decision support queries and increasing use of covering indices, which provide multiple alternative sort orders for relations, motivate us to better address the problem of optimization with interesting orders. We show that even a simplified version of the problem is NP-hard and give principled heuristics for choosing interesting orders. We have implemented the proposed techniques in a Volcano-style optimizer, and our performance study shows significant improvements in estimated cost. We also executed our plans on a widely used commercial database system, and on PostgreSQL, and found that actual execution times for our plans were significantly better than for plans generated by those systems in several cases.
|
|
Publisher |
IEEE
|
|
Date |
2009-05-12T13:57:23Z
2011-11-28T08:00:08Z 2011-12-15T09:57:24Z 2009-05-12T13:57:23Z 2011-11-28T08:00:08Z 2011-12-15T09:57:24Z 2007 |
|
Type |
Article
|
|
Identifier |
Proceedings of the IEEE 23rd International Conference on Data Engineering, Istanbul, Turkey, 15-20 April 2007, 856-865
1-4244-0803-2 10.1109/ICDE.2007.367931 http://hdl.handle.net/10054/1352 http://dspace.library.iitb.ac.in/xmlui/handle/10054/1352 |
|
Language |
en
|
|