QUESTION NO: 497
You perform the following activities during the database upgrade from Oracle Database 10g to Oracle
Database 11g:
1. Capture plans for a SQL workload into a SQL Tuning Set (STS) before upgrade.
2. Load these plans from the STS into the SQL plan baseline immediately after the upgrade. What is the
reason for performing these activities?
A. to minimize plan regression due to the use of a new optimizer version
B. to completely avoid the use of new plans generated by a new optimizer version
C. to prevent plan capturing when the SQL statement is executed after the database upgrade
D. to keep the plan in the plan history so that it can be used when the older version of the optimizer is used
Answer: A
您可以在数据库从Oracle数据库10g升级到Oracle数据库11g中执行下列活动:
1.在升级前为一个SQL工作负载进入到SQL调优集( STS)的捕获计划。
2.升级后立即从SQL调优集加载这些计划到SQL计划基线。执行这些活动
的原因是什么?
A.由于使用新的优化器版本,尽量减少计划退化,