Reducing Order Enforcement Cost in Complex Query Plans

Computer Science – Databases

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

24 pages, 16 figures

Scientific paper

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 optimization with sort orders is NP-hard and provide principled heuristics for choosing interesting orders. We have implemented the proposed techniques in a Volcano-style cost-based 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.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Reducing Order Enforcement Cost in Complex Query Plans does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Reducing Order Enforcement Cost in Complex Query Plans, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Reducing Order Enforcement Cost in Complex Query Plans will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-120546

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.