暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

在Oracle中,You have statistics collected for some。。。 ()

DB宝 2017-04-21
504



Q
题目如下所示:

   

 You have statistics collected for some selected tables. Your requirement is that the statistics for the tables and all  dependent indexes  must  not be  overwritten by further statistics  collection  until a certain point of time. How would you achieve this?

ALock statistics for the tables.

BChange STALE_PERCENT to zero for the tables.

CSet the TIMED_ST A TISTICS parameter to TRUE.

DSet the ST ATISTICS_LEVEL  parameter to BASIC.

ESet the OPTIMIZER_USE_PENDING parameter statistics to TRUE.



     

A
答案:A。


   若要保持统计信息不被覆盖,则必须利用DBMS_STATS包将统计信息锁住。







DB笔试面试历史连接
http://mp.weixin.qq.com/s/Vm5PqNcDcITkOr9cQg6T7w






About Me:小麦苗

 本文作者:小麦苗,只专注于数据库的技术,更注重技术的运用

● 作者博客地址:http://blog.itpub.net/26736162/abstract/1/

 文章内容来源于作者的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

 版权所有,欢迎分享本文,转载请保留出处




长按下图识别二维码或微信扫描下图二维码来关注小麦苗的微信公众号:xiaomaimiaolhr,学习最实用的数据库技术。


最后修改时间:2020-01-10 21:18:20
文章转载自DB宝,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论