Use
This procedure tells you how to reorganize the Oracle database with SAPDBA in NOARCHIVELOG mode.
If you use the
The archive process ARCH runs parallel to the remaining background database processes, which means that the CPU load is not significantly greater in ARCHIVELOG mode. Therefore, the reorganization is not significantly slowed down.
Prerequisites
Consider the following when deciding whether to run the reorganization in ARCHIVELOG or NOARCHIVELOG mode:
Procedure
A complete backup of the database is not required if all redo logs since the last backup are available. If this is the case, it is sufficient for security purposes to use the Oracle command
ALTER SYSTEM SWITCH LOGFILE to force switching of the redo log file. This means that the online redo log files, which were not yet backed up by ARCH (this normally only concerns the current online redo log group), can also be backed up to the archiving directory. Shut down the database using SAPDBA. Deactivate ARCHIVELOG mode using SAPDBA. Perform the reorganization.If you try to recover the database with an old backup, this would only be possible to the state before the reorganization (remember that the reorganization was not performed in ARCHIVELOG mode).
Although an online backup is possible, it is risky if every data file was not backed up. If the database crashes before the online backup is complete, a recovery can only proceed to the state before the reorganization (starting from the last backup before the start of the reorganization). All changes made to the database during the online backup would be lost and would have to be repeated manually after the reorganization.