The use of Hints in SQL-Nested query optimization

  • Authors:
  • David Taniar;Hui Yee Khaw;Haorianto Cokrowijoyo Tjioe;Eric Pardede

  • Affiliations:
  • Clayton School of Information Technology, Monash University Clayton, Vic. 3800, Australia;Clayton School of Information Technology, Monash University Clayton, Vic. 3800, Australia;Clayton School of Information Technology, Monash University Clayton, Vic. 3800, Australia;Department of Computer Science & Computer Engineering, La Trobe University, Bundoora, Vic. 3083, Australia

  • Venue:
  • Information Sciences: an International Journal
  • Year:
  • 2007

Quantified Score

Hi-index 0.07

Visualization

Abstract

The query optimization phase in query processing plays a crucial role in choosing the most efficient strategy for executing a query. In this paper, we study an optimization technique for SQL-Nested queries using Hints. Hints are additional comments that are inserted into an SQL statement for the purpose of instructing the optimizer to perform the specified operations. We utilize various Hints including Optimizer Hints, Table join and anti-join Hints, and Access method Hints. We analyse the performance of various nested queries using the TRACE and TKPROF utilities which provide query execution statistics and execution plans.