Oracle: Deleting Tablespaces
Use
Release upgrade only: After the upgrade, several tablespaces are empty and are no longer used. You can delete these tablespaces. This applies to the following tablespaces in a System Switch Upgrade (<source release> is the source release for the current upgrade):
SPS update: After the update, several tablespaces are empty and are no longer used. You can delete these tablespaces. This applies to the following tablespaces (<source release> is the release of your system before the update)
For a system with old tablespace layout (non-MCOD system):
-
PSAPES<source release>D
-
PSAPES<source release>I
-
PSAPEL<source release>D
-
PSAPEL<source release>I
For a system with new tablespace layout (MCOD layout):
PSAP<SCHEMA-ID><source release>
To delete tablespaces, use the program BRSPACE. This program checks whether the following prerequisites are met:
-
The tablespace is empty.
-
The space has actually been released.
You may be asked whether you want to wait until Oracle releases the files.
Procedure
-
Start the program BRSPACE at the operating system level as user ora<sid> with the following command:
brspace –f tsdrop
-
Choose Drop tablespace.
-
Select the tablespace you want to delete.
-
Choose Continue to drop the tablespace.
If the tablespace is empty, BRSPACE executes the drop command on the database and deletes the data files at the operating system level.
