Brief Introduction to the Oracle Bad Block Processing Method

Source: Internet
Author: User

A Brief Introduction to Oracle Bad Block Processing Methods Oracle bad block processing involves two steps: 1. Check Bad blocks 2, fix the Bad blocks. You can use the DBV tool or the validate parameter in rman to detect the Bad blocks;

1) DBV tool: $ dbv file = + SEVEN/prod/datafile/seven. dbf blocksize = 8192 userid = system/oracle2) Rman Detection: RMAN> backup validate database; SQL> select * from v $ database_blcok_partition uption;

 

You can use the following methods to fix Bad blocks: RMAN> blockrecover datafile 8 block 56,127,234; ----- 56th, 127, and 234 blocks in the No. 8 data file have the following repair methods for a large number of or all of the bad blocks: RMAN> blockrecover upload uption list; ------- after checking through the backup validate database Command, use

 

After the restoration, use the DBV tool to check whether there are any bad blocks.

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.