1. Create Empty Tuning Set
2. Load the SQL Information for the SQL ID into this Tuning Set
3. Display the content of Sql Tuning set
4. Create a Staging table to hold the exported SQL Tuning set
5. Load the SQL Tuning Set information to the Staging Table
6. Export The table
7. Import of the Staging table
8. Unpack the SQL Tuning set from the staging table to the destination server
9. Load the plan from SQL Tuning Set to SQL Plan Baseline
10. Flush the two SQLs from the shared pool, so that the optimizer will pick the new plan
11. To verify the Baseline created in the database
12. Drop SQL tuning Set from Source
I hope this article helped you. Your suggestions/feedback are most welcome.
Keep learning... Have a great day!!!
Thank you,
Amit Pawar
Email: amitpawar.dba@gmail.com
WhatsApp No: +91-8454841011
No comments:
Post a Comment