码迷,mamicode.com
首页 > 其他好文 > 详细

ocp-65

时间:2015-10-03 06:08:30      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:ca   sql   plsql   oracle   ocp   

技术分享View the Exhibit exhibit1. 。
In the CUSTOMERS_OBE table, when the value of CUST_STATE_PROVINCE is “CA”, the value of
COUNTRY_ID is “US.”
View the Exhibit exhibit2 to examine the commands and query plans. The optimizer can sense 8 rows
instead of 29 rows, which is the actual number of rows in the table. What can you do to make the
optimizer detect the actual selectivity?

A. Change the STALE_PERCENT value for the CUSTOMERS_OBE table.
B. Set the STATISTICS_LEVEL parameter to TYPICAL.
C. Create extended statistics for the CUST_STATE_PROVINCE and CUSTOMERS_OBE columns.
D. Set the OPTIMIZER_USE_PENDING_STATISTICS parameter to FALSE.
Answer: C

观看exhibit1图表

在客户OBE表中,客户州省的值是“加利福利亚”, 国家的ID是“美国”。
查看exhibit2图表, 检查命令和查询计划。优化器可以感测8行而不
是29行,这是实际的表中的行数。你能做些什么使优化器检测实际的选择度?

C.为客CUST_STATE_PROVINC和CUSTOMERS_OBE 列创建扩展统计。

ocp-65

标签:ca   sql   plsql   oracle   ocp   

原文地址:http://blog.csdn.net/xuejiayue1105/article/details/48864373

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!