About
the Oracle dbvverify Utility
You can prevent and manage such problems as
block corruption by using the DBVERIFY
tool. For example, to detect a block corruption problem, run the
utility mentioned above against the example tablespace for Oracle
11g on Linux platform as shown here:
[oracle@raclinux1 backupset]$ dbv
DBVERIFY: Release 11.1.0.6.0 - Production on Mon Oct 27 00:30:07
2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Keyword
Description (Default)
----------------------------------------------------
FILE File to Verify (NONE)
START Start Block (First Block of File)
END End Block (Last Block of File)
BLOCKSIZE Logical Block Size (8192)
LOGFILE Output Log (NONE)
FEEDBACK Display Progress (0)
PARFILE Parameter File (NONE)
USERID Username/Password (NONE)
SEGMENT_ID Segment ID (tsn.relfile.block) (NONE)
HIGH_SCN Highest Block SCN To Verify (NONE)
(scn_wrap.scn_base OR scn)
The syntax to use DBVERIFY with check for block
corruption is shown below:
Make sure that the OS user account has read and
write permissions or an error will occur with Oracle 11g Release 1
due to a bug with DBVERIFY.
In addition, Oracle provides block corruption
detection and repair with the Oracle 11g Recovery Manager (RMAN)
utility during backup and recovery processing.
Block corruption can also be detected by
querying the v$database_block_corruption dynamic performance view.
To repair block corruption, the dbms_repair package can be used with
Oracle 11g.