- Set autotrace on
 - Set autotiming on
 - Explain plan for select * from pa_projects_all
 - It will display elapsed time; to open the trace file write following command
 - Select * from table(dbms_xplan.display);
 - Trace file will be diplayed; Analyze the cost and the indexes used in table
 - To do fine tuning we use HINTS (search in google Ex: /*+ all_rows*/ etc..
 - Use hints before columns (Ex: Explain plan for select /*+all_rows*/ project_id,segment1,creation_date from pa_projects_all)
 - Search in web : Index – Hint, Bitmap Index, Optimization (Cost based, Rule Based)…etc…
 
Tuesday, 22 November 2011
Simple steps to do explain plan - Performance Tuning
Subscribe to:
Post Comments (Atom)
Hi Rajesh,
ReplyDeleteCan you start a blog on Oracle Triggers?
Thanks
Krishnaja