DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Block Repair with Oracle 8i DBV utility

  1. #1
    Join Date
    May 2001
    Posts
    1

    Question

    The dbverify utility in Oracle 8i shows me that pages corrupt 1. Now in the dbms package for block repair and populating the repair table, you need to pass the IN parameter values of OBJECT NAME and SCHEMA NAME. Finding the schema name is ok but through which view one can find out the object name which holds that corrupt block ?

  2. #2
    Join Date
    Mar 2001
    Posts
    71
    Find out file number using dba_data_files. --> PX

    Not the page no. (block no.) where dbv failed. --> BX

    Now user dba_extents view to query which object is effected.

    e.g.

    select segment_name from dba_extents
    where file_id = PX
    and BX between block_id and block_id+blocks-1;

    HTH

    np70

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width