monitoring usage

1. Which two statements are true about identifying unused indexes? (Choose two.)

A. Performance is improved by eliminating unnecessary overhead during DML operations.

B. V$INDEX_STATS displays statistics that are gathered when using the MONITORING USAGE keyword.

C. Each time the MONITORING USAGE clause is specified, the V$OBJECT_USAGE view is reset for the specified index.

D. Each time the MONITORING USAGE clause is specified, a new monitoring start time is recorded in the alert log.

 

参照以下BLOG,理解如何查看索引监控的使用以及注意事项:

(1)http://ora110.itpub.net/post/33978/457118

(2)http://www.eygle.com/archives/2004/12/monitor_index_usage.html

 

答案:AC

解释:

A:在DML操作中消除不必要的消耗使性能得到提升

B:V$INDEX_STATS 视图显示使用MONITORING USAGE 关键字获得的统计信息,应该是V$OBJECT_USAGE

C:每次开始MONITORING USAGE 语句将重置V$OBJECT_USAGE 视图的相应索引信息

D:每次开始MONITORING USAGE 语句,一个新的监控开始时间被记录到ALERT LOG中,没有记录,可以查看ALERT_<SID>.LOG系统日志文件

 

总结:

开始监视索引使用:ALTER INDEX 索引名 MONITORING USAGE;

查看被监视索引使用情况:SELECT * FROM V$OBJECT_USAGE;

停止监视索引使用:ALTER INDEX 索引名 NOMONITORING USAGE;

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值