12c DBMS_STATS.GATHER_TABLE_STATS Not Gathering New Statistics When Statype is Null
(Doc ID 2100007.1)
Last updated on DECEMBER 17, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
- In Oracle12c, GATHER_TABLE_STATS() with all arguments passed shows that the procedure completed but it was not gathering new statistics for the table
One of the arguments used in GATHER_TABLE_STATS() procedure was STATTYPE=> NULL instead of default value of STATTYPE =>'DATA':
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