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?