ocp-v13-480
2015-09-22 21:59
351 查看
QUESTION 480
View the Exhibit exhibit1 to examine the series of SQL commands.
View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The baseline in the first
row of the Exhibit is created when OPTIMIZER_MODE was set to FIRST_ROWS.
Which statement is true if the SQL query in exhibit1 is executed again when the value of
OPTIMIZER_MODE is set to FIRST_ROWS?
A. The optimizer uses a new plan because none of the plans in the exhibit2 are fixed plans.
B. The optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan.
C. The optimizer uses the plan in the first row of the exhibit2 because it is the latest generated plan.
D. The optimizer uses the plan in the first row of the exhibit2 because OPTIMIZER_MODE was set to
FIRST_ROW during its creation.
Correct Answer: B
查看展图1 检查SQL命令序列
查看图2 检查SQL计划基线可用计划
当OPTIMIZER_MODE设置成FIRST_ROWS时,在第一行中的基线创建。
当OPTIMIZER_MODE的值设置成FIRST_ROWS时,如果图1中的SQL查询再执行一遍 那么哪一句是正确的
B.因为这是个已经被接受的计划,所以优化器使用了在图2中的第二行的计划
答案是 B
View the Exhibit exhibit1 to examine the series of SQL commands.
View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The baseline in the first
row of the Exhibit is created when OPTIMIZER_MODE was set to FIRST_ROWS.
Which statement is true if the SQL query in exhibit1 is executed again when the value of
OPTIMIZER_MODE is set to FIRST_ROWS?
A. The optimizer uses a new plan because none of the plans in the exhibit2 are fixed plans.
B. The optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan.
C. The optimizer uses the plan in the first row of the exhibit2 because it is the latest generated plan.
D. The optimizer uses the plan in the first row of the exhibit2 because OPTIMIZER_MODE was set to
FIRST_ROW during its creation.
Correct Answer: B
查看展图1 检查SQL命令序列
查看图2 检查SQL计划基线可用计划
当OPTIMIZER_MODE设置成FIRST_ROWS时,在第一行中的基线创建。
当OPTIMIZER_MODE的值设置成FIRST_ROWS时,如果图1中的SQL查询再执行一遍 那么哪一句是正确的
B.因为这是个已经被接受的计划,所以优化器使用了在图2中的第二行的计划
答案是 B
相关文章推荐
- CYC-多线程 售票问题
- 用C语言编写的简单的猜数字游戏
- spark sql cache
- spark sql cache
- spark sql cache
- ubuntu中孤儿进程的父进程pid并不是1??
- spark sql cache
- hdu1573 X问题(中国剩余定理)
- 数独游戏的设计与实现之第一篇——理解数独过程
- hdu3078 伪LCA……
- mysql修改root密码的方法
- 非类型模板参数
- FSWD_2_JavaScript
- velocity基本语法
- python 定时器
- php 微信刮刮卡
- 笔记-GCD相关
- HDU 2571 命运(DP)
- 动态链接库的初步学习
- lintcode-空格替换-212