Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving SQL Profile

Status
Not open for further replies.

ksbrace

Programmer
May 13, 2000
501
US
Oracle db 10.2.0.2 on Solaris 64-bit Solaris 10

I have a db that's cloned every evening.

I ran the SQL Tuning Advisor on some statements and received recommendations that suggested implementing a SQL PROFILE for a particular statement that executed during the nightly refresh/clone.

I Implemented the recommendation and the statement ran much faster.

The problem is that the code in question is executed each night after the instance has been refreshed and it's not available in the source instance for the refresh.

How do I save the SQL PROFILE that was recommended so that I can reapply it to the new version of the instance?

 
How do you clone the database? If it's a copy of a cold backup then you can set the profile in the source database.

Anand
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top