My Oracle Support Banner

Handling statistics for a column with ever increasing or decreasing values... (Doc ID 877645.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7 - Release: 10.1 to 11.1
Information in this document applies to any platform.

Symptoms

Bad sql plans are being intermittently chosen, depending on the bind variables passed or peeked.  When a bad plan is traced, it does appear to be lower cost in the 10053.  The culprit is a column in the where clause with a bind that contains a value that is outside of the known range of values in the statistics.

Changes

Data is inserted frequently outside of the max/min value of the statistics and that same new data is frequently queried before regathering of statistics on the table.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.