Running Gather Optimizer Statistics On Schema Generates Error
(Doc ID 854527.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 184.108.40.206 [Release 10.2 to 11.1]
Information in this document applies to any platform.
Gathering optimizer statistics on a specific schema fails with the following error:
ORA-01952: system privileges not granted to 'OUTLN'
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 3163
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 3411
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 3666
ORA-01403: no data Found
ORA-06512: at "SYS.DBMS_STATS", line 18490
ORA-06512: at line 1
- This is not reproduced in all schemas
- The same error reported from OEM and SQLPlus.
The error differs rom 10g to 11g:
1. Under 10.2.0.4
error: ORA-01952: system privileges not granted to 'OUTLN'
2. Under 220.127.116.11
error: ORA-01741: illegal zero-length identifier
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