Grammar-like functional rules for representing query optimization alternatives
SIGMOD '88 Proceedings of the 1988 ACM SIGMOD international conference on Management of data
Measuring the complexity of join enumeration in query optimization
Proceedings of the sixteenth international conference on Very large databases
Fundamental techniques for order optimization
SIGMOD '96 Proceedings of the 1996 ACM SIGMOD international conference on Management of data
Access path selection in a relational database management system
SIGMOD '79 Proceedings of the 1979 ACM SIGMOD international conference on Management of data
The Volcano Optimizer Generator: Extensibility and Efficient Search
Proceedings of the Ninth International Conference on Data Engineering
A combined framework for grouping and order optimization
VLDB '04 Proceedings of the Thirtieth international conference on Very large data bases - Volume 30
Deciding the physical implementation of ETL workflows
Proceedings of the ACM tenth international workshop on Data warehousing and OLAP
The RDF-3X engine for scalable management of RDF data
The VLDB Journal — The International Journal on Very Large Data Bases
Isolating order semantics in order-sensitive xquery-to-SQL translation
BNCOD'07 Proceedings of the 24th British national conference on Databases
Optimizing similarity-based image joins in a multimedia database
Proceedings of the international workshop on Very-large-scale multimedia corpus, mining and retrieval
Which sort orders are interesting?
The VLDB Journal — The International Journal on Very Large Data Bases
Advanced partitioning techniques for massively distributed computation
SIGMOD '12 Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data
Optimizing data shuffling in data-parallel computation by understanding user-defined functions
NSDI'12 Proceedings of the 9th USENIX conference on Networked Systems Design and Implementation
Sort-sharing-aware query processing
The VLDB Journal — The International Journal on Very Large Data Bases
SCOPE: parallel databases meet MapReduce
The VLDB Journal — The International Journal on Very Large Data Bases
Counter strike: generic top-down join enumeration for hypergraphs
Proceedings of the VLDB Endowment
Hi-index | 0.00 |
Since the introduction of cost-based query optimization,the performance-critical role of interesting orders has beenrecognized. Some algebraic operators change interestingorders (e.g. sort and select), while others exploit interesting orders (e.g. merge join). The two operations performed by any query optimizer during plan generation are 1) computing the resulting order given an input order and an algebraic operator and 2) determining the compatibility between a given input order and the required order a given algebraic operator can beneficially exploit. Since these twooperations are called millions of times during plan generation, they are highly performance-critical. The third crucial parameter is the space requirement for annotating every plan node with its output order.Lately, a powerful framework for reasoning about ordershas been developed, which is based on functional dependencies. Within this framework, the current state-of-the-art algorithms for implementing the above operations both havea lower bound time requirement of 驴(n), where n is thenumber of functional dependencies involved. Further, thelower bound for the space requirement for every plan nodeis 驴(n).We improve these bounds by new algorithms with uppertime bounds O(1). That is, our algorithms for both operations work in constant time during plan generation, after a one-time preparation step. Further, the upper bound for thespace requirement for plan nodes is O(1) for our approach.Besides, our algorithm reduces the search space by detecting and ignoring irrelevant orderings. Experimental results with a full fledged query optimizer show that our approachsignificantly reduces the total time needed for plan generation. As a corollary of our experiments, it follows that thetime spent for order processing is a non-negligible part ofplan generation.