Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The Ultimate Way to Tune SQL Statements?

unknown-2973982Feb 10 2016 — edited Feb 12 2016

Hello All,

I hope this find you all in good spirits

I have some SQL that I need to optimize.

In your Personal experience what is the best way to find all the "True" bottlenecks within the SQL itself.

This is my Work-Flow:

Step 1:

Explain Plain: Find all the Full Table scans right up front.

Step 2:

Execute the SQL through Grid Control at the point where you can just "execute" SQL right there.

Step 3:

Create a SQL Tuning set with the SQL Code that has just been executed.

Step 4:

Execute SQL Access Advisor and use the SQL code that has just been executed.

Step 5:

Run the SQL through SQL  Tuning Advisor.

I know there are many way to do this, but what is your "Work-Flow".

Thanks for any and all help...

Thanks,

Lady Allora.

This post has been answered by unknown-7404 on Feb 11 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2016
Added on Feb 10 2016
21 comments
3,030 views