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 10.2.0.5 and later
Information in this document applies to any platform.

Goal

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?
 

Solution

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
Goal
Solution


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