Optimizing join enumeration in transformation-based query optimizers

Shanbhag, Anil ; Sudarshan, S. (2014) Optimizing join enumeration in transformation-based query optimizers Proceedings of the VLDB Endowment, 7 (12). pp. 1243-1254. ISSN 2150-8097

Full text not available from this repository.

Official URL: http://doi.org/10.14778/2732977.2732997

Related URL: http://dx.doi.org/10.14778/2732977.2732997

Abstract

Query optimizers built on the Volcano/Cascades framework, which is based on transformation rules, are used in many commercial databases. Transformation rulesets proposed earlier for join order enumeration in such a framework either allow enumeration of joins with cross-products (which can significantly increase the cost of optimization), or generate a large number of duplicate derivations. In this paper we propose two new rulesets for generating cross-product free trees. One of the rulesets is a minor extension of a simple but inefficient ruleset, which we prove is complete (we also show that a naive extension of an efficient ruleset leads to incompleteness). We then propose an efficient new ruleset, which is based on techniques proposed recently for top-down join order enumeration, but unlike earlier work it is cleanly integrated into the Volcano/Cascades framework, and can be used in conjunction with other transformation rules. We show that our ruleset is complete (i.e., it generates the entire search space without cross products) while avoiding inefficiency due to duplicate derivations. We have implemented this ruleset in the PyroJ Optimizer (an implementation of the Volcano optimizer framework) and show that it significantly outperforms the alternatives, in some cases by up to two orders of magnitude, in terms of time taken.

Item Type:Article
Source:Copyright of this article belongs to Association for Computing Machiner
ID Code:128467
Deposited On:21 Oct 2022 09:37
Last Modified:21 Oct 2022 09:37

Repository Staff Only: item control page