053-1

1.While deploying a new application module, the software vendor ships the application software along with appropriate SQL plan baselines for the new SQLs being introduced. Which two statements describe the consequences? (Choose two.)
A. The plan baselines can be evolved over time to produce better performance.
B. The newly generated plans are directly placed into the SQL plan baseline without being verified.
C. The new SQL statements initially run with the plans that are known to produce good performance under standard test configuration.
D. The optimizer does not generate new plans for the SQL statements for which the SQL plan baseline has been imported.

SQL计划管理可以改进或保留SQL性能的常见使用场景包括:

安装一个新的优化器版本的数据库升级通常会导致对一小部分SQL语句的计划更改,大部分的计划更改都会导致性能的改变或改进。但是,某些计划更改可能会导致性能回归。SQL plan基线的使用大大减少了数据库升级带来的潜在性能倒退。

正在进行的系统和数据更改会影响一些SQL语句的计划,可能会导致性能回归。使用SQL计划基线将有助于最小化性能回归和稳定SQL性能。

部署新的应用程序模块意味着向系统中引入新的SQL语句。应用程序软件可以使用在新SQL语句的标准测试配置下开发的适当的SQL执行计划。如果您的系统配置与测试配置有很大的不同,那么SQL计划基线可以随时间而变化,以产生更好的性能。

AWR基准线(baseline)。是一组快照,通过把当前性能与基本阶段的性能进行比较,可以检验数据库运行的优劣。
基线可以被无限期保留,除非你设定删除,因此基线总是拿来比较性能,而不像快照有retention限制。


原文地址:https://www.cnblogs.com/Babylon/p/8058541.html