reasonsfor Locking Statistics

本文探讨了在特定情况下如何处理Oracle数据库中的统计信息,包括手工调整、恢复及避免不必要的重新收集等场景,对于小规模但逐渐增长的数据表尤为重要。

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



Perhaps these tables have lots of hand-crafted changes done with DBMS_STATS.SET_xxx_STATS procedures.

Perhaps gathering is a time-consuming activity that you know isn’t necessary or will not be necessary for some time.

Perhaps you have restored statistics and you know that re-gathering will cause problems.

Perhaps the statistics for a small but growing table have been imported from a test system and reflect future large volumes and you want to make sure that these imported

statistics are not overwritten by statistics that reflect the current low row count

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值