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?
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?