Oracle Tutorial: ORA-25153 temporary tablespace is empty, ORA-01652 cannot pass 128
I wrote a complex select statement, and suddenly Oracle reported: ORA-25153 temporary tablespace is empty, this error, so I checked online, found the following solution: create a new temporary tablespace.
First, you must have the system permission. After logging in,
Step 1: Create a tablespace, as shown below. In the quotation marks, "d" is the drive letter, "oracleoradatatestdbtemp01" is the file name, and "M" is the size,
Temp01 is the temporary space name, which can be modified.
Create temporary tablespace temp01 tempfile 'd: oracleoradatatestdbtemp01
. Dbf 'size 100 m;
Step 2: Change the temporary tablespace of the database to update the original tablespace to the new one.
Alter database default temporary tablespace temp01;
Step 3: delete the original temporary tablespace
Drop tablespace temp;
After the following modifications, the ORA-25153 error can be solved, but if the size value in the first step is too small, it will report that the ORA-01652 cannot pass 128.
Modify it here.
Create temporary tablespace temp01 tempfile 'd: oracleoradatatestdbtemp01
. Dbf 'size 100 m;
.