My Oracle Support Banner

DBMS_STATS.GATHER_TABLE_STATS Questions For Auto And Manual Execution (Doc ID 2930117.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Qn1: Does Oracle gather Optimizer statistics automatically? Is there a need to run DBMS_STATS.GATHER_TABLE_STATS periodically by customized code?
Qn2: Is it possible to change the default time of the maintenance window of the auto optimizer stats collection?
Qn3: Is it possible to disable the auto optimizer stats collection only for selected one or two tables that have heavy modifications and perform manual stats collection for these tables?


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

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

In this Document

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