Error ORA-1008 While Collecting Table Statistics on Partition Table
(Doc ID 2424717.1)
Last updated on DECEMBER 22, 2023
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud 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 Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- DBMS_STATS.GATHER_TABLE_STATS error ORA-01008:
SQL> begin
D 2 BMS_STATS.GATHER_TABLE_STATS(
3 ownname => '<OWNER>'
4 ,tabname => '<TABLE_NAME>'
5 ,degree => 6
6 , cascade => true
7 ,no_invalidate => true
8 ,force => TRUE
9 );
10 end;
11 /
begin
*
ERROR at line 1:
ORA-01008: not all variables bound
ORA-06512: at "SYS.DBMS_STATS", line 36873
ORA-06512: at "SYS.DBMS_STATS", line 36507
ORA-06512: at "SYS.DBMS_STATS", line 35428
ORA-06512: at "SYS.DBMS_STATS", line 34760
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 7914
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 8170
ORA-06512: at "SYS.DBMS_STATS", line 34581
ORA-06512: at "SYS.DBMS_STATS", line 35168
ORA-06512: at "SYS.DBMS_STATS", line 36230
ORA-06512: at "SYS.DBMS_STATS", line 36716
ORA-06512: at line 2
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! |
In this Document
Symptoms |
Changes |
Cause |
Solution |