RMAN Recovery Scenario - Few Blocks in Datafile got corrupted - How to Restore Corrupted Blocks?
Vložit
- čas přidán 6. 10. 2020
- Few Blocks in Datafile got corrupted
SELECT header_block FROM dba_segments WHERE segment_name='EMP';
select OWNER, TABLESPACE_NAME, header_block FROM dba_segments WHERE segment_name='EMP';
col FILE_NAME for a50
select FILE_NAME, TABLESPACE_NAME from dba_data_files where TABLESPACE_NAME='USERS';
dd of=/u01/app/oracle/oradata/DEVDB/users01.dbf bs=8192 conv=notrunc seek=147 -- EOF
corruption test
EOF
alter system flush buffer_cache;
select * from scott.emp;
backup validate database archivelog all;
select * from V$DATABASE_BLOCK_CORRUPTION;
select * from scott.emp;
docs.oracle.com/cd/B10501_01/...
dbv file=/u01/app/oracle/oradata/DEVDB/users01.dbf blocksize=8192
col FILE_NAME for a50
select FILE_NAME, FILE_ID from dba_data_files;
recover datafile 4 block 147;
select * from V$DATABASE_BLOCK_CORRUPTION;
select * from scott.emp;
#BlockCorruption #RMANRecovery #DatafileBlockCorruption #Restore #Recovery #ASM #Oracle #RAC #Database #Exadata #ASM
Please do follow me and support me on,
LinkedIn: / mallik034
CZcams: / mallik034
Fakebook: / mallik034
Blog: mallik034.blogspot.com
twitter: / mallik034
Instagram: / mallik034
FBPage: / mallik034oracledba
Skype: malluramadurg
Regards,
Mallikarjun Ramadurg
Mobile: +91 9880616848
WhatsApp: +91 9880616848
Email: malluramadurg@gmail.com
LinkedIn: / mallik034
CZcams: / mallik034
Fakebook: / mallik034
Blog: mallik034.blogspot.com
twitter: / mallik034
Instagram: / mallik034
FBPage: / mallik034oracledba
Skype: malluramadurg
Very informative and useful video. Thank you so much brother
Good scenario and explanation. Well done. 👍
Awesome explanation..thanks a lot :)
Lovely one sir... well explanation and easy to understand.
Good 👍 session and clear explanation.
Thanks
Thankew its very helpful video of Block corruption
You are welcome
Thank you very much sir
Please make more videos
Sure noted
we don't have standby db instance, this case we need to take downtime on oracle database when we are trying de-corrupt particular datafile ?
sir how did u get seek=147 in the command dd of ?
sir one thing needs clarification from where did you recover the corrupted datafile.
Hi Sir,
Hi the vedio is very useful and I am faceing issue in migration the database of 98GB from prod to test 1:It is taking huge time almost 24 hrs to finish the expdp 2:While exporting im getting errors like ORA-31693,ORA-02354: error in exporting/importing data
ORA-01555: snapshot too old: rollback segment number 55 with name............I have seen solution in oracle support but not help me .Do you any suggestion on this .
Reply
Can we recover corrupt block without rman backup??
Hi Mallik
Is it possible to share the document..
All the commands are in the video description.
You can get it from there.
@@Mallik034 sure thank you