GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle  >  General

 Print  |  
Question:  What are HINTS in ORACLE?



September 09, 2006 01:57:12 #1
 Tejaswini Mohanty   Member Since: Visitor    Total Comments: N/A 

RE: What are HINTS in ORACLE?
 

HINTS  are nothing but the comments used in a SQL statement to pass instructions to the Oracle optimizer.The optimizer uses these hints as suggestions for choosing an execution plan for the statement.

A statement block can have only one comment containing hints, and that comment must follow the SELECT, UPDATE, INSERT, or DELETE keyword..

Hints can be categorized as follows:

  • Hints for Optimization Approaches and Goals (eg: ALL_ROWS)
  • Hints for Access Paths,
  • Hints for Query Transformations (eg:NO_EXPAND ) 
  • Hints for Join Orders,
  • Hints for Join Operations,
  • Hints for Parallel Execution,
  • Additional Hints (eg:NOCACHE ,APPEND)
     

 

Back To Question