How to identify corrupted block in Particular tablespace?

Hi,
i am getting lot of block corruption error from particular tablesapce datafile. i couldn't able to use DBVerify utility .bcz datafiles not created using .dbf format.
how to idetify corrupted blocks?

Detecting and Repairing Data Block Corruption
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/repair.htm(9i)
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm(10g)
Find more information “Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g” Metalink Note: 28814.1.
http://dbataj.blogspot.com/2008/04/oracle-database-block-corruption.html
http://sysdba.wordpress.com/2006/04/05/how-to-check-for-and-repair-block-corruption-with-rman-in-oracle-9i-and-oracle-10g/

Similar Messages

  • How to identify who deleted the particular management pack?

    In our environment someone deleted the custom management pack.  Is it possible to find who deleted that management pack?
    Thanks in advance.
    Regards
    Karthick

    Hi,
    Some people askd the same feature, but it seems the answer is no:
    How to track management pack changes in Management Group
    http://social.technet.microsoft.com/Forums/en-US/e7fd3bcb-d9d7-4c65-953f-7311e650fb11/how-to-track-management-pack-changes-in-management-group
    Regards,
    Yan Li
    Regards, Yan Li

  • Help Fix 26473 Corrupt blocks in system09.dbf

    How to Format Corrupted Block Not Part of Any Segment [ID 336133.1]
    I'm following the above doc to fix 26K corrupt blocks in system09.dbf
    in Step 7 of the Doc it says:
    +" First find the *extent size* by querying dba_free_space "+
    +65536 = If its 64 K+
    +1048576 = 1M+
    I'm getting 891559936 with the following query:
    SQL> Select bytes from dba_free_space where file_id= 352 and 192128 between block_id and block_id + blocks -1;
    BYTES
    891559936
    What will be my extent size?
    I'm lost on how to proceed with the following steps:
    BEGIN
    for i in 1..1000000 loop
    EXECUTE IMMEDIATE 'alter table apps.s allocate extent (DATAFILE '||'''/oracle/KPSO/db/apps_st/data/system09.dbf''' ||'SIZE 64K) ';
    end loop;
    end ;
    +/+
    Note you need to change accordingly the size (1M ,64K or 128k) and the value of for loop
    can be changed as per requirement.
    Thanks.
    -Joey-

    >
    currently doing another round of steps 5-9 to see if it will wipe out all the corrupt blocks.Just want to give an update:
    Datafile was completely free of corruption after 2 more passes ..
    $ dbv file=/oracle/KPSO/db/apps_st/data/system09.dbf blocksize=8192
    DBVERIFY: Release 11.1.0.7.0 - Production on Thu Mar 22 05:08:56 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /oracle/KPSO/db/apps_st/data/system09.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 192128
    Total Pages Processed (Data) : 160979
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 26455
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 2124
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 2570
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    Total Pages Encrypted : 0
    Highest block SCN : 3757005752 (1388.3757005752)

  • Finding Total Number Of Corrupted Blocks

    Hello,
    I just browsed several websites including RMAN documentation and information on how to identifiy corrupted blocks.
    I´m in the middle of reorganizing production backups and their restore tests by duplication, which should (in my opinion) be followed by an analysis for corrupted blocks.
    I found RMAN command  BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL; to fit my needs. Recently I read the validate command only writes NEWLY found corrupted blocks to View V$DATABASE_BLOCK_CORRUPTION.
    1. How do I check the WHOLE database for its TOTAL physical and logical corrupted blocks?
    2.Under which circumstances is it NOT necesssary to check the database after the restore? In other words is there a way to ensure the backup cancels immediately when finding a corrupted block?
    3. Is it necessary to set maxcorrupt to "0" during the Backup to get it cancelled for every corrupted block found?
    4. What does dbv in contrast to backup validation?
    Please be so kind to post me some short hints.
    Regards
    Dominik

    Hi,
    thanks for your feedback again.
    Yesterday I "accidently" faced the situation to work with a block corrupted database during a restore test.
    So I had the chance to run both backup validate and dbv against its corrupted files.
    dbv worked fine, recognized all corrupted blocks and reported them in its output.
    Disappointingly backup validate neither reportted any corrupt withtin the whole database (there are several datafiles with corrupted blocks), nor posted them to V$DATABASE_BLOCK_CORRUPTION. There I could only find a hand full, but not all of them.
    I´m very consufed now, what would I need backup validate for anymore??? :-/
    I built myself a script to check the whole database with dbverify. Regarding production databases we cannot live with uncertainties like that
    Regards
    Dominik

  • RMAN identifies corrupt block

    Hi,
    If Rman identify corrupt block while performing a backup of the archive logfiles, it failover to an existing intact copy...wht does tht mean...

    If there is no copy available then RMAN backup fails. You can override this by using skip inaccessible option with backup command.
    RMAN > BACKUP DATABASE PLUS ARCHIVELOG SKIP INACCESSIBLE; OR
    rman > BACKUP ARCHIVELOG ALL SKIP INACCESSIBLE;
    BUT this compromises sthe database recovery as missed archivelog file is not present is the backup. The SKIP INACCESSIBLE option just asks the RMAN to continue the backup if an archivelog is missing . This completes the backup of all other datafiles, archivelog files , controlfiles . The backup will not fail in this case.

  • Block Corruption in the SYSAUX tablespace

    Problem Description: Block Corruption in the SYSAUX tablespace :
    ==================================
    We are facing block corruption issue in the SYSAUX tablespace during rman backup..
    So currently we are using SET MAXCORRUPT FOR DATAFILE 3 TO 2; parameter to take the backup and it is running fine.. Now we have to fix the issue..
    Please let us know the steps to fix the issue..
    Please find the details below.
    Dbv output:
    sesoxpro33.p51x1> dbv file=/oradata/p51x/data/p51x_sysaux_01.dbf blocksize=32768 end=64000
    DBVERIFY: Release 10.2.0.3.0 - Production on Fri Aug 26 20:47:29 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /oradata/p51x/data/p51x_sysaux_01.dbf
    Page 64 is influx - most likely media corrupt
    Corrupt block relative dba: 0x00c00040 (file 3, block 64)
    Fractured block found during dbv:
    Data in bad block:
    type: 0 format: 0 rdba: 0x00000000
    last change scn: 0x0000.00000000 seq: 0x0 flg: 0x00
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000001
    check value in block header: 0x0
    block checksum disabled
    DBVERIFY - Verification complete
    Total Pages Examined : 64000
    Total Pages Processed (Data) : 22547
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 23859
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 14586
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 3007
    Total Pages Marked Corrupt : 1
    Total Pages Influx : 1
    Highest block SCN : 281617057 (2054.281617057)
    SELECT tablespace_name, segment_type, owner, segment_name FROM dba_extents
    WHERE file_id = 3 and 64 between block_id AND block_id + blocks - 1;
    TABLESPACE_NAME SEGMENT_TYPE OWNER
    SEGMENT_NAME
    SYSAUX SYS_LOB0000000594C00007$$
    OS & database Details :
    ==========
    Oracle Solaris on x86-64 (64-bit)
    Oracle Server - Enterprise Edition -- 10.2.0.3
    If any more informatin is needed, Please let me know..
    Thanks & Regards,
    Suresh Bommalata.

    refer:
    logical corruption found in the sysaux tablespace
    Check the metalink note: Identify the corruption extension using RMAN/DBV/ANALYZE etc - 836658.1
    Note 28814.1 - Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g
    Note 472231.1 - How to identify all the Corrupted Objects in the Database reported by RMAN
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmrecov.htm
    http://oracleinstance.blogspot.com/2010/05/block-recovery-using-rman-backup.html

  • 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

  • How to identify temp tablespace user in the past

    hi,
    can anyone guide me on how to identify temp tablespace users and corresponding temp space amount they used in the past?
    we have this situation where in we need to identify the top temp tablespace user last jan 1 around a specific time.
    is this possible? do these get stored in one of the tables in the dictionary? any sql statement?
    thanks.

    900666 wrote:
    hi ckpt,
    thats unfortunate..=(
    anyways, any sql that can be used to capture current sessions with their used mb in temp tablespace? for future monitoring.
    thansk.Here is example
    SQL> SET LINESIZE 145
    SQL> SET PAGESIZE 9999
    SQL> SET VERIFY   off
    SQL>
    SQL> COLUMN tablespace_name       FORMAT a15               HEAD 'Tablespace Name'
    SQL> COLUMN username              FORMAT a15               HEAD 'Username'
    SQL> COLUMN sid                   FORMAT 99999             HEAD 'SID'
    SQL> COLUMN serial_id             FORMAT 99999999          HEAD 'Serial#'
    SQL> COLUMN contents              FORMAT a9                HEAD 'Contents'
    SQL> COLUMN extents               FORMAT 999,999           HEAD 'Extents'
    SQL> COLUMN blocks                FORMAT 999,999           HEAD 'Blocks'
    SQL> COLUMN bytes                 FORMAT 999,999,999       HEAD 'Bytes'
    SQL> COLUMN segtype               FORMAT a12               HEAD 'Segment Type'
    SQL>
    SQL> BREAK ON tablespace_name ON report
    COMPUTE SUM OF extents   ON report
    SQL> SQL> COMPUTE SUM OF blocks    ON report
    SQL> COMPUTE SUM OF bytes     ON report
    SQL>
    SQL>
    SQL> SELECT
      2      b.tablespace          tablespace_name
      3    , a.username            username
      4    , a.sid                 sid
      5    , a.serial#             serial_id
      6    , b.contents            contents
      7    , b.segtype             segtype
      8    , b.extents             extents
      , b.blocks              blocks
      9   10    , (b.blocks * c.value)  bytes
    FROM
    11   12      v$session     a
    13    , v$sort_usage  b
    14    , (select value from v$parameter
    15       where name = 'db_block_size') c
    16  WHERE
    17        a.saddr = b.session_addr
    18  /
    Tablespace Name Username           SID   Serial# Contents  Segment Type  Extents   Blocks        Bytes
    TEMP          SYSTEM            1333      4725 TEMPORARY LOB_DATA            1      128    1,048,576
                    SYSTEM            1562       444 TEMPORARY SORT               89   11,392   93,323,264
                    SYSADM            1602        80 TEMPORARY LOB_DATA            1      128    1,048,576
                    SYSTEM            1613     18693 TEMPORARY SORT               89   11,392   93,323,264
    sum                                                                          180   23,040  188,743,680
    SQL>

  • How can we block, a particular payment term for a particular vendor.

    Dear Experts,
    How can we block, a particular payment term for a particular vendor.
    BR.
    Chandra

    Hi Chandra,
    If you want to block payment term for "particular vendor" then you need to define a validation rule.
    As per my understanding, the link provided by Owen will block term for all vendors.
    Regards,
    Ankit K. Agarwal

  • How to identify a particular order type(PP01) is coming to APO?

    How to identify a particular order type(PP01) is coming to APO? Can it be checked at CIF exits on APO side?

    Hi Abhishek,
    I am looking for exits at APO side only.
    Thanks,
    Prenith PP

  • How to go back to a particular item of the preivous block

    Hi,
    In the pre-block trigger, how to navigate back to a particular item of the preivous block? I've tried go_item('block1.item2'), but it only goes to :system.cursor_item. What if the system cursor item is not item2, how can go back to item2?
    Vanessa

    Have you try this,
    go_block('block1');
    go_item ('block1.item2');

  • How can I block a particular program and not the whole channel?

    I want to block a particular program. When I am trying to that, it blocks whole channel. How can I do that?
    Second Q is: can I have two parental control pins to block programs?

    Then there is no point to use it for me. Some channels require parental control for some programs, so this option should be available.Someone can argue that then "why don't you lock whole channel and unlock whenever you want to use it." I want to avoid locking-unlocking by locking specific programs.
    Comcast has this option of locking specific program as well locking channel!

  • Oracle 8.0 - how to identify temporary tablespace using dba v$ views

    Hello experts,
    can someone tell me how can I query a v$ or dba_ view to identify which are the temporary tablespace in a 8.0.5 Oracle database?
    Thx in advance.

    8.0 did not have the concept of tempfiles.
    However, a Tablespace could be created as a Temporary tablespace (still using "normal" datafiles) with CREATE/ALTER TABLESPACE tablespacename TEMPORAR.
    Meaning : You can't query DBA_TEMP_FILES or V$TEMPFILEs. You have to query DBA_USERS to identify the designated Temporary Tablespace(s) and then query DBA_TABLESPACES for the storage parameters and then query DBA_DATA_FILES for the files.
    You can also query DBA_TABLESPACES for CONTENTS='TEMPORARY' and then query DBA_DATA_FILES.
    Hemant K Chitale

  • How to identify that a host is connected to which particular edge switch

    Hello Guys
    Can anybody explain how to identify that a host is connected to which particular edge switch and port in a Cisco SAN Fabric ??

    Hi,
    Hopefully you know the host PWWN. 
    If the edge switch is not in NPV mode, get the FCID from the output of "show fcns database"
    The answer may also be as simple as finding this entry in the "show fcns database detail".
    If not, once you have the fcid, the first byte of the fcid is the switch domain ID. With the combination of "show fcdomain domain-list vsan xx" "show fcs ie" you should be able to determine what you need.
    If the edge switch is in NPV and registers as a NPV device ( Cisco switches do ), then the FCID will be assigned by the core switch upstream of that edge switch.   You can see this from a "show flogi database".  Find the PWWN here.  There will likely be multiple entries for the port where the host is connected.  Once you find the port where the NPV switch is attached.  The first flogi entry on that port will be the switch WWN.  Get the FCID for the switch and then find the entry for this FCID in the "show fcns database detail", this will give you the switch information.
    Best regards,
    Jim

  • How to identify whether that particular process chain is active or not?

    Hi all,
    How to identify whether that particular process chain is active or not ?
    thanxs
    haritha

    If see the process chain then it will not be greyed out if it is active. Or else check in these tables.
    RSPCCHAIN
    RSPCCHAINT
    to check the logs
    RSPCLOGS               
    RSPCPROCESSLOG
    Give the chain name and check in the object version.
    Khaja

Maybe you are looking for

  • Satellite L300D-11A - DVD-drive issue and Blue Screen

    Hi I'm going out of my mind :o// My Satellite L300D-11A was delivered with a Windows Vista Home Premium, but I recently made a clean installation of the Windows 7 Home Premium 64 bits. Since then I have had problems with "Blue screen error's" comming

  • How do I stop Firefox from going to Google everytime I open the browser?

    In my organization, we have well over 2,000 PCs. Every time Firefox is open, it connects to Google IPs (74.125.x.x) even when we are not on Google's site and do not have Google as the search provider. From what I understand (and correct me if I am wr

  • Cfform using cfif in action= causes error

    Hi, Just ran into a code problem I haven't seen before. To use the CF validation for some text input, I've changed some of our <form's to <cfforms> However, If I want to check for the existence of a URL param before trying to send it in the action= o

  • Oracle 8 DB Level Stats

    Hi, Please have a look at a portion of the stats taken from a report.txt file of an Oracle 8.0.5 DB supporting 11.0.3 SVRMGR> Rem The total is the total value of the statistic between the time SVRMGR> Rem bstat was run and the time estat was run. Not

  • Using dual monitors with CS4... image opens on wrong one

    Has anyone else had this issue with Photoshop CS4?  I keep all my panels on the right monitor and work on the left one... normally if I drag my image to the left and save/close it, all future image windows open on that side.  Not so with CS4 - it alw