Carrying out a Reorganization 

How to perform a reorganization with SAPDBA:

  1. Pay attention to the Backup Concepts in Reorganizations.
  2. Shut down the R/3 System. Shut down the database (see Shutting down the Database System).
  3. Note the following special feature:
  4. If you want to use Reorganize tablespace and data files (reorganization of tablespaces with data files), you should make sure that no ORACLE background processes exist. Hanging background processes can disturb the course of a tablespace reorganization because they keep database files open. While these data files can be deleted during the reorganization, the disk space from such a file is not released by the operating system until the process is no longer keeping it open.

  5. When necessary, change the initialization profile init<DBSID>.ora to accelerate the reorganization. Also read other remarks about performance maximizing.
  6. See Performance Maximization during Reorganization.

  7. Start the database in RESTRICTED-SESSION mode (see Starting up the Database System).
  8. Carry out the reorganizations using the options in the Reorganization menu. See SAPDBA: Reorganization and SAPDBA: Reorganization Menu.
  9. – Storage checks: Before a reorganization, SAPDBA checks whether the object(s) for reorganization can be reimported - that is, whether enough space is available.

    See Freespace Check.

    Storage parameters: you can define the storage parameters during a reorganization.

    See Options for Changing and Checking the Storage Parameters.

  10. Shut down the database.
  11. If necessary, reset the profile parameters of the database to their original values.
  12. Pay attention to the Backup Concepts in Reorganizations.
  13. For complicated reorganizations, we recommend performing an offline backup of the complete database after the reorganization. A backup of the database after the reorganization should be available to enable you to quickly restore the database in case problems occur at a later time.

  14. Start up the database in normal mode.