Skip to main content
Log in

Optimizing relational queries in connection hypergraphs: nested queries, views, and binding propagations

  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

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. We introduce the maximum SIPS strategy, which performs SIPS for all bindings and all SIPS paths for a query. The new method has several advantages. First, the maximum SIPS strategy can be more efficient than the previous SIPS based on simple heuristics. Second, it is conceptually simple and easy to implement. Third, the processing strategies may be incorporated with the search space for query execution plans, which is a proven optimization strategy introduced by System R. Fourth, it provides a general framework of query optimization and may potentially be used to optimize next-generation database systems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received September 1, 1993 / Accepted January 8, 1996

Rights and permissions

Reprints and permissions

About this article

Cite this article

Han, J. Optimizing relational queries in connection hypergraphs: nested queries, views, and binding propagations. The VLDB Journal 7, 1–11 (1998). https://doi.org/10.1007/s007780050050

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s007780050050

Navigation