How to check & resolve block corruption if no RMAN backup is there?

*<<+MY Findings+>>*
to check block corruption :
(run command)
select * from v$database_block_corruption;
DB_VERIFY is useful in these situations:
When block corruption is expected;
Forecast any future problems w.r.t. database file/ block corruption;
When you restore files from a tape. It will help knowing if the first file pulled from tape is corrupt, instead of spending hours to extract all of them.
to check block corruption
DBVerify
C:\>dbv userid=nfadmin/nfadmin file=+DG1/nfdb/datafile/low_s_data.304.782536883 feedback=10000 blocksize=8192
can use DBMS_REPAIR to detect and repair corrupt blocks in tables and indexes
BEGIN
DBMS_REPAIR.admin_tables (
table_name => 'REPAIR_TABLE',
table_type => DBMS_REPAIR.repair_table,
action => DBMS_REPAIR.create_action,
tablespace => 'USERS');
DBMS_REPAIR.admin_tables (
table_name => 'ORPHAN_KEY_TABLE',
table_type => DBMS_REPAIR.orphan_table,
action => DBMS_REPAIR.create_action,
tablespace => 'USERS');
END;
Question* :::how to check & resolve block corruption if no RMAN backup is there?

http://www.oracle.com/technetwork/database/focus-areas/availability/maa-datacorruption-bestpractices-396464.pdf
http://www.oracle-base.com/articles/misc/detect-and-correct-corruption.php

Similar Messages

  • HT1766 How do I resolve the error "iTunes cannot restore backup because there is not enough free space on iPod"?

    I have an iPod touch 4th generation 8gb and im having a time zone issue on it, so I just backed up and I want to restore from backup. When I try to restore from backup it tells me that there is not enough space on  my ipod to restore backup. I have 687 mb free, how much space does it need? I dont want to restore then restore from backup in case something goes wrong like this and I have to start all over. Id rather have the time zone issue than an empty ipod. How do i resolve this? please help!

    Try moving/deleting from your iTunes libary apps and music which were on the iPod when the backup was made. When selecting apps,select the ones with app data that you can lose.

  • Logical Block corruption - not enough RMAN backups

    I have to deal with logical block corruption but these guys do not have enough rman backups to go back enough to recover blocks.
    All bad blocks are in SYSAUX and it seems because of it EM doesn't work as it's suppose to do. I dropped and recreated EM repository hoping it will clean itself but .... no.
    Any ideas?
    Oracle Linux 4.7 i386
    Oracle 10.2.0.4

    OCCUPANT_NAME OCCUPANT_DESC SCHEMA_NAME MOVE_PROCEDURE MOVE_PROCEDURE_DESC SPACE_USAGE_KBYTES
    EM Enterprise Manager Repository SYSMAN emd_maintenance.move_em_tblspc Move Procedure for Enterprise Manager Repository 52800
    EM_MONITORING_USER Enterprise Manager Monitoring User DBSNMP *** MOVE PROCEDURE NOT APPLICABLE *** 1600

  • Resolving block corruption issue

    Hi All,
    In one of our database a block in a datafile gotcorrupted, but I am not getting any object related to the corrupted.
    ESPSSTOR@ci418erx [home/oracle] $ dbv file=/oradata/ESPSSTOR/data03.dbf blocksize=8192
    Page 697507 is influx - most likely media corrupt
    Corrupt block relative dba: 0x024aa4a3 (file 9, block 697507)
    Fractured block found during dbv:
    Data in bad block:
    type: 35 format: 2 rdba: 0x024aa4a3
    last change scn: 0x0012.5ea06285 seq: 0x2 flg: 0x04
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x5e552301
    check value in block header: 0xdcf3
    computed block checksum: 0x3cd3
    From the above i came to know that block related to datafile 9, block 697507 got corrupted.
    I tried to find the object related to the block as following
    SQL> SELECT owner, segment_name, segment_type
    FROM dba_extents
    WHERE file_id = 9
    AND 697507 BETWEEN block_id AND block_id + blocks - 1; 2 3 4
    no rows selected
    I am not seeing any object related to the corrupted block.
    In this situation how to fix the corrupted block issue?
    I don't have RMAN backup and my Oracle is Standard Edition.
    Your suggestion is great help for me.
    Thanks,
    Mahi

    Hi,
    Can you please study the below link to clear all your doubts what actually dbv utility do.I'm sure it will help you.
    http://blog.aristadba.com/?tag=dbv
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Does Import/Export Utility check for Block corruption?

    Hi All,
    Just a quick question I have is does Import/Export Utiligy check for any block corruption while importing or exporting?
    If yes then does it do automatically or we have do set some parameter explicitly.
    I am using oracel version 9.2.0.6.
    Thx in advance.

    Hi yingkuan/kanchan
    Thx for your prompt reply. Still I am not clear as you said that export check for the block corruption error and if there is any it will display the error message in log file. But does it copy corrupted block or skip that block or mark that block as corrupted?
    Thx in advance.
    - Mehul

  • Block corruption - cant restore from backup

    Hi,
    we have development database 11.2.0.1. There was problem with storage, and as a result there are two corrupted blocks in data files.
    SQL> select * from V$DATABASE_BLOCK_CORRUPTION;
    FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
    6 2359942 1 0 FRACTURED
    25 1855622 1 0 FRACTURED
    I have scheduled weekly full backup and daily incremental backup using EM so now I want to use rman to perform media recovery on corrupted blocks. However rman says there is no backup for affected data files (see below)
    RMAN> RECOVER CORRUPTION LIST;
    Starting recover at 03-NOV-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    channel ORA_DISK_1: restoring block(s)
    channel ORA_DISK_1: specifying block(s) to restore from backup set
    restoring blocks of datafile 00006
    channel ORA_DISK_1: reading from backup piece /opt/oraBackup/rman/i2npb3o9_1_1
    channel ORA_DISK_1: piece handle=/opt/oraBackup/rman/i2npb3o9_1_1 tag=BACKUP_FULL_110212103009
    channel ORA_DISK_1: restored block(s) from backup piece 1
    channel ORA_DISK_1: block restore complete, elapsed time: 00:42:35
    channel ORA_DISK_1: restoring block(s)
    channel ORA_DISK_1: specifying block(s) to restore from backup set
    restoring blocks of datafile 00025
    channel ORA_DISK_1: reading from backup piece /opt/oraBackup/rman/i9npbd5e_1_1
    channel ORA_DISK_1: piece handle=/opt/oraBackup/rman/i9npbd5e_1_1 tag=BACKUP_FULL_110212103009
    channel ORA_DISK_1: restored block(s) from backup piece 1
    channel ORA_DISK_1: block restore complete, elapsed time: 00:16:35
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 11/03/2012 11:59:29
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 25 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    I dont understand this, because the backups are performed weekly and daily and all files are at their proper location. When I check the EM backup reports, I see COMPLETED for every weekly and daily backup.
    Anyone please could suggest how to repair the blocks from backups ?

    Hi people, I am back to this issue. I have found this in the database
    SQL> select * from v$backup_corruption;
         RECID      STAMP  SET_STAMP  SET_COUNT     PIECE#      FILE#     BLOCK#     BLOCKS CORRUPTION_CHANGE# MAR CORRUPTIO
             1  796949262  796948233       9293          1          6    2359942          1                  0 NO  CORRUPT
             2  796953328  796949174       9300          1         25    1855622          1                  0 NO  CORRUPT
             3  797035604  797034635       9318          1          6    2359942          1                  0 NO  CORRUPT
             4  797039692  797035556       9325          1         25    1855622          1                  0 NO  CORRUPT
             5  797134390  797121030       9343          1          6    2359942          1                  0 NO  CORRUPT
             6  797137228  797134397       9368          1         25    1855622          1                  0 NO  CORRUPT
             7  797739951  797725854       9590          1          6    2359942          1                  0 NO  CORRUPT
             8  797744507  797739957       9597          1         25    1855622          1                  0 NO  CORRUPT
             9  798340269  798330633       9794          1          6    2359942          1                  0 NO  CORRUPT
            10  798343497  798340270       9801          1         25    1855622          1                  0 NO  CORRUPTSo the backup contains corrupted blocks. Right ? Older backups are already gone because of retention policy.
    I have set up the backup using Enterprise Manager - Schedule Backup.
    What I need to know is how to avoid taking backup with corrupted blocks in future. I need such backup to fail.
    Thank you for advices and regards.

  • Block corruption detection in RMAN.

    Hi,
    I'd be be grateful if anyone could confirm or clarify the behaviour of the RMAN backup command with regard to detecting corrupt blocks in the datafiles.
    The environment is as follows:
    10.2.0.5.1
    Solaris 10
    2 node RAC
    Block Change Tracking file is not used.
    DB_BLOCK_CHECKING=OFF
    DB_BLOCK_CHECKSUM=OFF
    Does the BACKUP DATABASE command check both physical and logical block corruptions when run either as a full backup or incremental?
    I'm trying to establish wether running a BACKUP _VALIDATE [CHECK LOGICAL]_* DATABASE on a nightly basis provides any value if the same checks are being performed by the standard backup commands that are already scheduled every night?
    Any input appreciated.
    Thanks

    Hi,
    By default, RMAN just check for physical corruption, either in full or incremental backups. To check logical corruption you have to use the command "backup check logical;".
    About the parameter DB_BLOCK_CHECKSUM, its default is TRUE and Oracle Corporation advises leaving this parameter on default, so that any damage caused while the block is on disk, or corruptions introduced during the write and read process, will be detected.
    Hope it help.
    Regards,

  • How to check for blob corruption

    We had successfully inserted the images into the database blob datatype. But, we found some of the images can't be displayed from the application interface, well others are OK.
    Is it possisible that the blobs are corrupted, if it is, how to find out which are the ones?
    Thank in advance for your help!
    winnie

    Hi,
    Assuming that all the images were uploaded successfully using the same tool, then its unlikely that the BLOBs have been corrupted. In fact, its extremely unlikely that BLOBs are being corrupted at all. To the best of my knowledge, there is no way to verify the contents of a BLOB, as the contents are simply application specific raw binary data. Its much more likely to be an issue with the tool used to load the data, the application used to display the data, or the image data itself.
    Can you provide some more information about the problem you are experiencing. For example: what application interface are you using, and what sort of error message is being displayed?
    I tend to focus on HTTP and web, but here are some things to consider: some image formats are not supported internally within a browser. For example, an image tag that tries to display a Windows bitmap image is going to result in a broken image tag (unless you have a browser plugin that can render bitmap images). Another issue might be that the image format isn't recognized by the version of interMedia that you are using. For example, progressive JPEG images aren't recognized by interMedia until Oracle8i version 8.1.7. (And even then, only setProperties is supported.) However, if your application uses an exception handler of some sort to catch errors from setProperties, then although the data might be stored in the BLOB correctly, the MIME type is NULL. Although you may not be using a web interface to access the data, some of these issues may still be pertinent to your application.
    If you can tell us some more information about your application, how you are using interMedia and the errors you are seeing, then we'll try to help.
    Thanks,
    Simon
    null

  • How to check/resolve Unknown Device?

    I have HP Pavillian DV2416us with Windows Vista Business. 
    In Device manger list, there is 2 device listed under Other Device Category, shows these are not properly installed.
    1st one is named Coprocessor and 2nd is named Unknown Device.
    I tried to check their property, I did not get any clue what are these. So how do I check what are these devices?
    I did not installed any hardware on laptop, it's as is I bought.
    I tried to install driver using it's property menu but it failed.
    How do I solve this issue?
    I do not have any problem using computer.

    Hi,
    Go to Control Panel -> Devices Manager
    Click with right button of Your mouse on each yellow sign and choose properties. Then go to bottom details and paste here Hardware Ids. This way we will know what it is.
    Below You've got example how to do it:
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • How do I find a corrupted file in a backup folder on my computer?

    I have recently had to replace the battery in my iphone, but before doing so, I had backed up the phone about 3 times, all saying they were successful.  And then I had erased the phone(before I realised the battery was the problem).  However when I went back to restore from the backup, it says that it cannot be restored because the backup is corrupt.  I read on one site that sometimes if a phone turns off or disconnects while backing, it might cause a corrupt file, and I think that's exactly what my phone did due to the battery issues.  The big question is, is it only specific files inside the backup folder that are corrupt?  And how do I find out which files they are?  Please help.

    Hi
    This can be an issue on other end ( server end ) as export to HTML works fine so Muse is exporting the files correctly but while exporting to external server if it stuck then we should check on server side if there is any problem related to specific file upload.
    As a workaround, you can use any FTP client and then upload the exported html files to root location.
    Thanks,
    Sanjit

  • How to resolve of corruption of undotbs without any backup and DB in Noarch

    Hi Guys,
    On one of my database having block corruption error, as no backup is availabe and its in noarchive mode. Previously It might be in "archvie mode"
    but when access comes to me it was in no archvie mode.
    database is down, when I run "startup" cmd on sqlprompt it give error as below:
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    and when check with alert.log file it gives as below error: corrupton of undotbs.
    ORA-01578: ORACLE data block corrupted (file # 2, block # 9)
    ORA-01110: data file 2: 'D:\ORACLE\TEST1\UNDOTBS01.DBF'
    ---I also try with below steps:
    1) first take coldbackup
    2) create pfile from spfile and change parameters :
    undo_management to manual
    comment out undo_tablespace and undo_retention
    3) add one parameter as below:
    allowresetlogs_corruption=true
    4) add one more parameter :
    corruptedrollback_segment=(_SYSSMU1$,_SYSSMU2$,_SYSSMU3$,_SYSSMU4$,_SYSSMU5$)
    3) mount with pfile
    4) recover database until cancel
    cancel
    5) alter database open resetlogs;
    but the same error :(
    any suggestion...

    jigisha wrote:
    database is in mount mode ...not able to open
    and dont have any backup as well.Its a serious mistake to run the db in noarch and that too without any backup. Do NOT use those underscore parameters without OSS coming and asking you to do so. You have already fingers burnt of yours, don't make the complete hand getting burnt by using these parameters without consent of OSS. Raise an SR to oracle and do what they say.
    HTH
    Aman....

  • How to check blocking locks

    I have a query as to how to check for blocking locks in the database. I am trying to check it from TOAD but the session of TOAD is hanging. I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hi user574290,
    Here is other script:
    clear screen
    set serveroutput on
    BEGIN
    dbms_output.enable(1000000);
    for do_loop in (select session_id, a.object_id, xidsqn, oracle_username, b.owner owner,
                    b.object_name object_name, b.object_type object_type
                    FROM v$locked_object a, dba_objects b
                       WHERE xidsqn != 0
                        and b.object_id = a.object_id)
    loop
        dbms_output.put_line('.');
        dbms_output.put_line('Blocking Session   : '||do_loop.session_id);
         dbms_output.put_line('Object (Owner/Name): '||do_loop.owner||'.'||do_loop.object_name);
        dbms_output.put_line('Object Type        : '||do_loop.object_type);
         for next_loop in (select sid from v$lock
                         where id2 = do_loop.xidsqn
                             and sid != do_loop.session_id)
         LOOP
              dbms_output.put_line('Sessions being blocked   :  '||next_loop.sid);
        end loop;          
    end loop;
    END;
    /Best Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • Block corruption error

    Hi,
    We are facing block corruption error file system file. I rtied to identify the corrupted object using dba_extents but that query is also giving the block corruption error for the same block. we are running the database in noarchivelog mode and we don't have backup.
    please suggest the way how can i solve this corruption error?
    Thanks in advance.
    Regards
    Chirag

    you can use dbverify to check which blocks are corrputed and see below to know how to solve it http://www.google.co.in/search?hl=en&q=how+to+resolve+block+corruption%2Boracle&btnG=Search&aq=f&aqi=&aql=&oq=&gs_rfai=

  • Database Block Corruption

    Dear Experts,
    In our BW system, from the alert log we have found that one oracle block was corrupted.
    > ORA-01578: ORACLE data block corrupted (file # 137, block #
    > 516877)#ORA-01110: data file 137:
    > '/oracle/PBP/sapdata1/sr3_121/sr3.data121'#ORA-26040: Data
    > block was loaded using the NOLOGGING option
    Database error 1578
    Database error 1578 at FET
    > ORA-01578: ORACLE data block corrupted (file # 137, block #
    > 516877)#ORA-01110: data file 137:
    > '/oracle/PBP/sapdata1/sr3_121/sr3.data121'#ORA-26040: Data
    > block was loaded using the NOLOGGING option
    Database error 1578
    From the SAP Market place we have found one KBA (1812719 - Avoid NOLOGGING during the index creation) which says that it was not really a corruption and it can be cleared by rebuilding the index.
    Can any one please help us how to find the index present in that block. I have tried with below command which returns no rows.
    SQL> select segment_name, partition_name, segment_type, block_id, blocks from dba_extents where (516877 between block_id and (block_id + blocks - 1)) and file_id = 137 and rownum < 2;
    no rows selected
    SQL>
    Please suggest how to find the index for rebuilding the same for clearing the corruption.
    Thanks
    Suresh

    Hi Suresh,
    Kindly check SAP Notes  365481 - Block corruptions
    1559652 - How to deal with block corruptions on Oracle
    923919 - Advanced Oracle block checking features
    Regards,
    Gaurav

  • Oracle Datafile block corruption

    HI all
    i am facing datafile block corruption in following datafile .
    i don't have any backup.
    how i can recover these blocks
    Regards
    Vivek Rawat

    Hi Vivek,
    Please refer below SAP notes to analyze the affected objects which needs to be recovered
    365481 - Block corruptions
    1559652 - How to deal with block corruptions on Oracle
    923919 - Advanced Oracle block checking features
    http://www.dba-oracle.com/t_repair_corrupt_blocks.htm
    Hope this helps.
    Regards,
    Deepak Kori

Maybe you are looking for