Database Administration (MOSC)

MOSC Banner

Prevent restore_table_stats at end of maintenance window of Automatic Optimizer Statistics Collectio

Hi all and thanks for your support

We run Oracle 19.21 EE and use incremental statistics on some large partitioned tables.

One of the tables has more than 200 columns and more than 2000 partitions.

The Automatic Optimizer Statistics Collection starts gathering partition statistics, but can't finish the job in the maintenance window. After the end of the maintenance window, Oracle automatically calls restore_table_stats to undo the partition stats. In the next maintenance window we start anew and never finish the job.

How can I prevent Oracle from calling restore_table_stats at the end of the maintenance window?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center