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

Thread: Invalid Objects in Performing Import

  1. #1
    Join Date
    Feb 2001
    Posts
    44
    HI All DBA's
    I want to migrate from Oracle 7.x to Oracle 8i.I know that during the process of migration some of the objects become invalid.Will running catalog.sql solve the problem?What,in any case are the objects that become invalid.Any Suggestions?
    Thanks in Advance
    vishywish

  2. #2
    Join Date
    Mar 2001
    Posts
    11

    RE

    Hi,

    Before migration take a list of all valid objects by using following ...

    1. select owner,object_name,status from
    dba_objects where
    status ='VALID';

    2. select count(*) as VALID_OBJECTS from dba_objects
    where status ='VALID';
    3. select count(*) as INVALID_OBJECTS from dba_objects where
    status='INVALID';

    Count the valid objects again after the migration and if count differs then compile all those objects which are becomes invalid which were VALID before migration by checking the list

  3. #3
    Join Date
    Mar 2001
    Posts
    18
    Running catalog.sql may solve part of the problem, but may invalidate other objects. After the upgrade, just recompile any invalid objects.

    Dave

  4. #4
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    I heard executing utlrp.sql in $O_H/rdbms/admin dir. recompiles invalid objects. Someone plz. confirm this.

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