Using the Dbverify tool in Oracle

Source: Internet
Author: User
Tags file system oracle database backup

Data block corruption due to hardware failure or operating system failure during Oracle database operation that causes Oracle to not recognize or contain content in Oracle format

Failure, this bad block can be divided into media damage and logical corruption. A block check is given below, and a block check is implemented using the Dbverify tool.

First, block inspection

1. When to check the block

When a block of data is read or written, the block is checked for consistency, and the contents of the check include

Version of The Block

Compare blocks in cache and block buffer with data block addresses

Verify on request (checksum)

2. Error tips for damaged blocks of data

You can find this error hint from the alert log file and give a similar hint when a corrupted block of data is found in the session

Ora-01578:oracle data Block corrupted (file # 6, Block # 11)

Ora-01110:data file 6: '/U01/APP/ORACLE/ORADATA/ORCL/TBS01.DBF '

3. Related characteristics of block damage (several inspection tools)

------------------------------------------------------------------------------------------------

Attribute bad block reconnaissance type can repair damaged blocks

------------------------------------------------------------------------------------------------

Dbverify Physical No

ANALYZE Logic No

Db_block_checking Logic No

Db_block_checksum Physical No

Exp Physical No

Flashback logic is

Dbms_repair Logic is

Block Media recovery Unknown is

Ii. Introduction of Dbverify Tools

Characteristics

is an external program that runs at the operating system prompt to validate data files and check block consistency errors

Only for data files, can verify the open phase of the data file and shutdown state of the data file

You can verify a replicated data file, or you can verify a mirrored copy of a backup

No support for online log files, control files, archive logs, Rman backup set validation

The validated file can be located on the file system, ASM disk or original device

Located in Unix systems: $ORACLE _HOME/BIN/DBV

Located in the Windows system:%oracle_home%/bin/dbv.exe

For the Dbverify tool, the high version can automatically identify the lower version of the database, such as 11g DBV access to 9i of the database, but the lower version of DBV access to the high version of the error

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.