
Checking the Database
Use
You check the database when using SAPDBA to perform a
partial restore and complete recovery of your Oracle database. This procedure checks the database for critical errors that might prevent production operation.SAPDBA analyzes the appropriate V$ database tables to check:

These checks do not find out, for example, whether table indexes are missing. To do this, use the Oracle
database monitor in the SAP System.
Since some of the V$ tables are only updated when the database is restarted, SAPDBA differentiates between the following:
This check is performed with the database open. However, you cannot then recover the database with SAPDBA because the information obtained from this check is not necessarily current. As a result, if you have only performed the online quick check, the Check database function is set to status not finished.
You can perform the online quick check at any time, in order to check the status of the control files, data files, and the online redo log files.
In addition, you can use the SAPDBA menu option Archive mode
This is a comprehensive check and is required if you want to later restore and recover the database. Before a safe check, SAPDBA switches the database offline then remounts it. This guarantees that the information in the V$ tables is up-to-date. When the offline safe check is finished, and as long as it resulted in no errors, the database is opened again.
Prerequisite
Procedure
SAPDBA displays the restore and recovery options.
SAPDBA checks the control files, data files, links, and bad entries in the control file, then asks whether you want to perform an offline safe check.
If the database is online, SAPDBA warns you that the database will be shut down immediately for the safe check.
SAPDBA shuts down the database and comprehensively checks the database.
Result
SAPDBA reports any problems that it finds, such as a missing data file.
What happens at the end of the check depends on whether SAPDBA finds any errors:
To continue with the partial restore and complete recovery, perform