DBMS_STATS failing with "ORA-20000: Unable to gather statistics concurrently, insufficient privileges"
(Doc ID 1466217.1)
Last updated on AUGUST 17, 2023
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterOracle Database - Enterprise Edition - Version 11.2.0.2.0 and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
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.
- Getting "ORA-20000: Unable to gather statistics concurrently, insufficient privileges" error while running gather table stats on a table
- Problem occurs even when using the owner of the table. For example:
- Table is partitioned
- 'concurrent statistics gathering' is enabled
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |