TIMED_STATISTICS

本文详细介绍了 Oracle 数据库中的 TIMED_STATISTICS 参数。该参数用于控制与时间相关的统计信息的收集,设置为 true 时将收集并记录这些统计信息,而设置为 false 则会避免收集此类数据以减少系统的开销。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams216.htm#REFRN10218

 

TIMED_STATISTICS

 

PropertyDescription
ParametertypeBoolean
DefaultvalueIfSTATISTICS_LEVEL is set to TYPICAL orALL, then true

If STATISTICS_LEVEL is set to BASIC,then false

ModifiableALTERSESSION, ALTER SYSTEM
Range ofvaluestrue |false

TIMED_STATISTICS specifies whether ornot statistics related to time are collected.

--TIMED_STATISTICS指定与时间相关的统计量是否被收集。

Values:

  • true

    The statistics are collected and stored in trace files ordisplayed in the V$SESSTATS andV$SYSSTATS dynamic performance views.

  • false

    The value of all time-related statistics is set to zero. Thissetting lets Oracle avoid the overhead of requesting the time fromthe operating system. Normally, TIMED_STATISTICSshould be false.

On some systems with very fasttimer access, Oracle might enable timing even if this parameter isset to false. On these systems, setting the parameterto true can sometimes produce more accurate statisticsfor long-running operations.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值