TY - GEN
T1 - A Framework for Reasoning about Share Equivalence and Its Integration into a Plan Generator
AU - Neumann, Thomas
AU - Moerkotte, Guido
N1 - Publisher Copyright:
© 2009 Gesellschaft fur Informatik (GI). All rights reserved.
PY - 2009
Y1 - 2009
N2 - Very recently, Cao et al. presented the MAPLE approach, which accelerates queries with multiple instances of the same relation by sharing their scan operator. The principal idea is to derive, in a first phase, a non-shared tree-shaped plan via a traditional plan generator. In a second phase, common instances of a scan are detected and shared by turning the operator tree into an operator DAG (directed acyclic graph). The limits of their approach are obvious. (1) Sharing more than scans is often possible and can lead to considerable performance benefits. (2) As sharing influences plan costs, a separation of the optimization into two phases comprises the danger of missing the optimal plan, since the first optimization phase does not know about sharing. We remedy both points by introducing a general framework for reasoning about sharing: plans can be shared whenever they are share equivalent and not only if they are scans of the same relation. Second, we sketch how this framework can be integrated into a plan generator, which then constructs optimal DAG-structured plans.
AB - Very recently, Cao et al. presented the MAPLE approach, which accelerates queries with multiple instances of the same relation by sharing their scan operator. The principal idea is to derive, in a first phase, a non-shared tree-shaped plan via a traditional plan generator. In a second phase, common instances of a scan are detected and shared by turning the operator tree into an operator DAG (directed acyclic graph). The limits of their approach are obvious. (1) Sharing more than scans is often possible and can lead to considerable performance benefits. (2) As sharing influences plan costs, a separation of the optimization into two phases comprises the danger of missing the optimal plan, since the first optimization phase does not know about sharing. We remedy both points by introducing a general framework for reasoning about sharing: plans can be shared whenever they are share equivalent and not only if they are scans of the same relation. Second, we sketch how this framework can be integrated into a plan generator, which then constructs optimal DAG-structured plans.
UR - https://www.scopus.com/pages/publications/85135836202
M3 - Conference contribution
AN - SCOPUS:85135836202
T3 - Lecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI)
SP - 7
EP - 26
BT - Datenbanksysteme in Business, Technologie und Web, BTW 2009, 13. Fachtagung des GI-Fachbereichs "Datenbanken und Informationssysteme", DBIS 2009, Proceedings
A2 - Freytag, Johann-Christoph
A2 - Ruf, Thomas
A2 - Lehner, Wolfgang
PB - Gesellschaft fur Informatik (GI)
T2 - Datenbanksysteme in Business, Technologie und Web, BTW 2009, 13. Fachtagung des GI-Fachbereichs "Datenbanken und Informationssysteme", DBIS 2009 - Database Systems for Business, Technology and Web, BTW 2009, 13th Conference of the GI Division "Databases and Information Systems", DBIS 2009
Y2 - 2 March 2009 through 6 March 2009
ER -