BLOCK CORRUPTION ERROR:
Cause: When the datafile is corrupted, some of the blocks are corrupted in the particular datafile it shows the error message like block corruption.
The error code is ORA-01578.
By default, RMAN will check for physical corruption. We can include CHECK LOGICAL in RMAN
to find the corrupted blocks.
How to check the particular block is corrupted:
we can query,
v$database_block_corruption;
How to recover the corrupted blocks:
RMAN> BLOCKRECOVER DATAFILE 12 BLOCK 5; [recover the particular block number which is corrupted.]
Here Datafile 12 is the particular datafile number, and block 5 is the corrupted block number.
or
RMAN> blockrecover corruption list; (all blocks from v$database_block_corruption it will recover)
No comments:
Post a Comment