ITPub博客

首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-053 209

Oracle 11G OCP 1Z0-053 209

原创 Oracle 作者:LuiseDalian 时间:2014-09-03 17:52:25 0 删除 编辑
(209)You executed the following commands:

SQL>ALTER SESSION SET OPTIMIZER_USE_PENDING_STATISTICS = false;

SQL>EXECUTE DBMS_STATS.SET_TABLE_PREFS('SH', 'CUSTOMERS', 'PUBLISH', 'false');

SQL>EXECUTE DBMS_STATS.GATHER_TABLE_STATS('SH', 'CUSTOMERS');

Which statement is correct regarding the above statistics collection on the SH.CUSTOMERS table in the above session?

A. The statistics are stored in the pending statistics table in the data dictionary.

B. The statistics are treated as the current statistics by the optimizer for all sessions.

C. The statistics are treated as the current statistics by the optimizer for the current sessions only.

D. The statistics are temporary and used by the optimizer for all sessions until this session terminates.

答案:(A)

解析:

OPTIMIZER_USE_PENDING_STATISTICS

DBMS_STATS.SET_TABLE_PREFS

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1263032/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6042709