There are several ways to check for corruption in an Oracle database
Using DBVERIFY command
Using ANALYZE command
1. Using DBVERIFY command
The primary tool for checking for corruption in an Oracle database is DBVERIFY.
It can be used to perform a physical data structure integrity check on datafiles whether the database is online or offline.
The big benefit of this is that DBVERIFY can be used to check backup data files without adding load to the database server.
DBVERIFY does not limit concurrency or DML while it is running, and it can be run against a database backup
You should perform a DBVERIFY validation on the backup file before beginning the recovery.
You can also use DBVERIFY to validate a single data or index segment. To do this you must be logged onto the database with SYSDBA privileges. During the verification the segment is locked; if the segment is an index then the parent table is also locked.
You invoke DBVERIFY from the operating system command line:
If you want to check one table and all of its indexes , you can use the ANALYZE statement to read every row of the table, read every entry in each of the table’s indexes , and make sure the table and index data are consistent with each other:
This will lock the table, preventing DML on the table, unless you specify the ONLINE keyword. Online validation reduces the amount of validation performed to allow for concurrency.