Merging views containing outer joins in the Teradata DBMS

  • Authors:
  • Ahmad Ghazal;Dawit Seid;Alain Crolotte

  • Affiliations:
  • Teradata Corporation, El Segundo, CA;Teradata Corporation, El Segundo, CA;Teradata Corporation, El Segundo, CA

  • Venue:
  • DEXA'10 Proceedings of the 21st international conference on Database and expert systems applications: Part I
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Query rewrite (QRW) optimizations apply algebraic transformations to a SQL query Q producing another SQL query Q' such that Q and Q' are semantically equivalent (i.e. produce the same result) but Q' can be executed more efficiently than Q. Merging views (as well as derived tables) to their parent SQL block is an important part of QRW which creates more opportunities for numerous other query optimizations like optimal join order and enabling other rewrites like redundant join elimination. This paper presents novel and practical techniques of view merging in the presence of outer joins which are implemented in the Teradata 12.0 DBMS. We also present experimental results that demonstrate performance improvements achieved using these techniques.