My Oracle Support Banner

ORA-959 Tablespace '_$deleted$0$0' Does Not Exist Error Executing Some Code (Doc ID 604648.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 21-Jul-2017***

Symptoms

An ORA-959 error can occur executing dbms_stats.gather_table_stats.

SQL> begin
2 dbms_stats.gather_table_stats(ownname => 'SOMEUSER',tabname =>
3 'SOME_TABLE', cascade => TRUE, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE
4 ,METHOD_OPT => 'FOR ALL INDEXED COLUMNS SIZE AUTO'
5 ,DEGREE => 4);
6 end;
7 /

begin
*
ERROR at line 1:
ORA-12801: error signaled in parallel query server P001
ORA-00959: tablespace '_$deleted$5$0' does not exist
ORA-06512: at "SYS.DBMS_STATS", line 13437
ORA-06512: at "SYS.DBMS_STATS", line 13457
ORA-06512: at line 2



The error can also occur just trying to rebuild an index.

alter index someuser.some_index  rebuild tablespace index_tablespace;
*
ERROR at line 1:
ORA-00959: tablespace '_$deleted$5$0' does not exist

Changes

Changes were made to the TEMP tablespace setup.

1. Created a temporary tablespace called TEMP1.
2. Set this tablespace to become the default temporary tablespace.
3. Dropped the existing permanent TEMP tablespace.
4. Renamed the default temporary tablespace TEMP1 to TEMP.

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
References

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