[bbk5324]第78集 第9章 -数据库性能维护 05

本文介绍了Oracle数据库中如何管理和更新表的统计信息。包括统计信息为空的表、达到一定修改比例的表以及使用CASCADE关键字来更新相关索引的情况。此外还讨论了统计信息的发布策略、陈旧度阈值及增量收集等高级主题。

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

oracle搜集表的信息,并不是每张表都搜集,一下若干种情况,会被搜集到:

统计信息是空的表,会被搜集

达到一定比例的表,会被搜集

在搜集表信息的时候,加上CASCADE关键字之后,就会搜集此表相关的索引等信息.

Statistics Preferences:Overview

Using Statistics Preferences

  • PUBLISH:Used to decide whether to publish the statistics to the dictionary or to store them in a pending area before.
    • publish the statistics to the dictionary means : 就是将统计信息的数据存储到数据字典里; 
  • STALE_PERCENT:Used to determine the threshold level at whcih an object is considered to have stale statistics.The value is a percentage of rows modified since the last statistics gathering.
  • INCREMENTAL:Used to gather global statistics on partitioned tables in an incremental way.

Setting Global Preferences with Enterprise Manager

转载于:https://www.cnblogs.com/arcer/archive/2013/06/03/3115942.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值