I got ” ORA-25153: Temporary Tablespace is Empty ” error in Oracle database during export operation.
ORA-25153: Temporary Tablespace is Empty
Details of error are in the Alertlog as follows.
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production ORA-25153: Temporary Tablespace is Empty ORA-06512: at "SYS.DBMS_LOB", line 741 ORA-06512: at "SYS.DBMS_DATAPUMP", line 5420 ORA-06512: at line 1 ORA-25153: Temporary Tablespace is Empty Cause: An attempt was made to use space in a temporary tablespace with no files. Action: Add files to the tablespace using ADD TEMPFILE command.
Temporary Tablespace is Empty
This ORA-25153 error is related with the temporary tablespace with no files.
To solve this error, Add files to the tablespace using ADD TEMPFILE command or You can create the new Temp tablespace.
You can add new tempfile to Temp tablespace if it exists.
SQL> alter tablespace TEMP ADD TEMPFILE '+DATA' size 200m maxsize unlimited extent management local uniform size 1048576; Tablespace altered.
Or you can create if as follows.
SQL> create temporary tablespace TEMP2 tempfile '+DATA' size 2789212160 reuse autoextend on next 10485760 maxsize unlimited extent management local uniform size 1048576; Tablespace created. SQL> SQL> alter database default temporary tablespace TEMP2; Database altered. SQL>
Do you want to learn more details about Datapump ( Export import ), then Click this Link and read the articles.
Oracle Data Pump – Export Import ( Expdp Impdp ) Tutorial with Examples-4