GeekInterview.com
Series: Subject: Topic:
Question: 1 of 25

Block Corruption

where we can find block corruption? which view desc block corruption?
Asked by: vikrant.dixit | Member Since Jul-2008 | Asked on: Jul 16th, 2008

View all questions by vikrant.dixit

Showing Answers 1 - 4 of 4 Answers
kishoredba

Answered On : Jul 21st, 2008

View all answers by kishoredba

using Rman we can find it.
V$block_corruption view there to find out corrupted blocks.

Rman>block recover datafile block ;

using above statement we recover corrupted blocks.

Yes  2 Users have rated as useful.
  
Login to rate this answer.
sangeethaso

Answered On : Aug 25th, 2010

View all answers by sangeethaso

Block corruption can be viewed from the view v$database_block_corruption, there is no view like v$block_corruption.

Using RMAN backup – block media recovery (oracle 10g database)

i.) Select * from v$database_block_corruption; --> Return rows if any corrupted blocks are found.

Multi block corrupted:
BLOCKRECOVER DATAFILE <file#> BLOCK <block#> DATAFILE <file#> BLOCK block#>;
Single block corruption:
BLOCKRECOVER DATAFILE <file#> BLOCK <block#>;

backup validate datafile 8;
Select * from v$database_block_corruption; --> no rows returned

The block media recovery is completed.

  
Login to rate this answer.
sangeethaso

Answered On : Aug 26th, 2010

View all answers by sangeethaso

Block corruption can be viewed from the view v$database_block_corruption there is no view like v$block_corruption.

Using RMAN backup – block media recovery (oracle 10g database)

i.) Select * from v$database_block_corruption; --> Return rows if any corrupted blocks are found.

Multi block corrupted:
BLOCKRECOVER DATAFILE <file#> BLOCK <block#> DATAFILE <file#> BLOCK block#>;
Single block corruption:
BLOCKRECOVER DATAFILE <file#> BLOCK <block#>;

backup validate datafile <file#>;
Select * from v$database_block_corruption; --> no rows returned

The block media recovery is completed.

 

  
Login to rate this answer.
naveenkumar

Answered On : Apr 3rd, 2012

we can find corrupted block by this command in sql>select * from database_block_corruption;

we can also find the corrupted block from unix command by database verify $ dbv file=path block size=8192;

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.