What would you suggest to avoid performance regression for these SQL statements?

Your system is upgraded from Oracle Database 10g to Oracle Database 11g. You imported SQL Tuning Sets (STS) from the previous version. After running the SQL Performance Analyzer for optimizer version change, you observe performance regression for a few SQL statements.
What would you suggest to avoid performance regression for these SQL statements?

Your system is upgraded from Oracle Database 10g to Oracle Database 11g. You imported SQL Tuning Sets (STS) from the previous version. After running the SQL Performance Analyzer for optimizer version change, you observe performance regression for a few SQL statements.
What would you suggest to avoid performance regression for these SQL statements?

A.
Include the old plans in the SQL plan baseline.

B.
Use DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE to evolve plans.

C.
Set the OPTIMIZER_USE_PENDING_STATISTICS parameter to TRUE.

D.
Increase the value for the OPTIMIZER_DYNAMIC_SAMPLING parameter.



Leave a Reply 0

Your email address will not be published. Required fields are marked *