Python
解锁统计信息 标签描述

从Oracle10g开始,Oracle提供了锁定/解锁表统计信息功能,它的目的是阻止数据库自动收集统计信息,防止可能会产生/出现的糟糕的计划。它对于数据频繁更改的VolatileTables最有用,因为VolatileTables的某些数据集可能会生成糟糕的计划。 官方的介绍如下: Preventautomaticstatisticgatheringwherethismayotherwiseproducepoorplans.Assuchitismostusefulforvolatiletableswhosedatachangesfrequentlyandforwhompoorplansmay...