Updating SAP ABAP Systems on UNIX and Linux: Oracle

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

  1. Start the program BRSPACE at the operating system level as user ora<sid> with the following command:

    brspace –f tsdrop

  2. Choose Drop tablespace.

  3. Select the tablespace you want to delete.

  4. 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.