Han, Jia Liang

Optimizing Relational Queries in Connection Hypergraphs: Nested Queries, Views, and Binding Propagations

We optimize relational queries using connection hypergraphs (CHGs). All operations including value-passing between SQL blocks can be set-oriented. By introducing partial evaluations, reordering operations can be achieved for nested queries. For a query using views, we merge CHGs for the views and the query into one CHG and then apply query optimization. Furthermore, we may simulate magic sets methods elegantly in a CHG. Sideways information-passing strategies (SIPS) in a CHG amount to partial evaluations of SIPS paths.


RELATIONAL QUERY OPTIMIZATION
CONNECTION HYPERGRAPHS
PARTIAL EVALUATIONS
SIPS
SEARCH SPACE

H004.65 VER