Comment
Above in this comment thread:
Oracle 10G R2 New Features » access advisor: how to tune a single stmt
Seeking new owner for this high-traffic DBAzine.com site.
Tap into the potential of this DBA community to expand your business! Interested? Contact us today. |
Comment
Above in this comment thread:
Oracle 10G R2 New Features » access advisor: how to tune a single stmt
|
Couple of ways to to do this
Go back to database's PERFORMANCE main page. Click on ADVISOR CENTRAL, then SQL ACCESS ADVISOR. Choose use SQL TUNING SET as input.
OR, you can do it this way. Create a table that has at least two columns in it. One for the text of the SQL statement and the other for the username. Name the columns SQL_TEXT and USERNAME. Insert your SQL statement and username information. Go to the SQL Access advisor and choose the IMPORT SQL FROM TABLE option.