Query Optimization through Removing Dead Subqueries

  • Authors:
  • Jacek Plodzien;Kazimierz Subieta

  • Affiliations:
  • -;-

  • Venue:
  • ADBIS '01 Proceedings of the 5th East European Conference on Advances in Databases and Information Systems
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

A dead subquery is a part of a query not contributing to the final query result. Dead subqueries appear mostly due to querying views. A method of detecting and eliminating dead subqueries is presented. It assumes that views are processed by query modification, which macro-substitutes a view invocation with the corresponding view definition. The method is founded on a new semantic framework of object-oriented query languages, referred to as the stack-based approach. Dead parts are detected through static (compile-time) analysis of scoping and binding properties for names occurring in a query. The method is explained by a pseudo-code algorithm and illustrated by examples.