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

Thread: Importing table structure hangs on forever

  1. #1
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650

    Question Importing table structure hangs on forever

    When i impot the table structure with out rows hangs forever. I could see the segments and extents allocated, but export does not complete, it just hangs for hours.
    "What is past is PROLOGUE"

  2. #2
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    I could find a trigger is involved with the table and this trigger inserts data to the remote database through dblink on a Trasparent gateway to non-oracle db.

    Does this has role in the import hang?
    "What is past is PROLOGUE"

  3. #3
    Join Date
    Sep 2001
    Location
    Makati, Philippines
    Posts
    857
    have you try disabling the trigger and constraints of the table b4 importing?
    ---------------

  4. #4
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    There is no trigger available in the database at the time of import.
    "What is past is PROLOGUE"

  5. #5
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    After much of research i found the rollback segment is corrupt. How to resolve from the corrupt rollback? Have only export backups!!
    This is oracle 9i R2 on solaris.
    "What is past is PROLOGUE"

  6. #6
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool



    Create another rollback (tablespace) and drop corrupt rollback (ts).

    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  7. #7
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    Quote Originally Posted by LKBrwn_DBA


    Create another rollback (tablespace) and drop corrupt rollback (ts).

    There is a locked remote query on the table which has corrupted the undo. unable to rollback the query as well purge. Let me try!
    "What is past is PROLOGUE"

  8. #8
    Join Date
    Jun 2006
    Posts
    259
    Try killing the remote querrry.
    What oracle error is being generated?

  9. #9
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    I killed the session.
    no errors???

    I can say the transaction is still in the rollback segment, which is corrupted. Need to purge the entries manually, then change the status of the query in the table to proceed further. Looking into workaround.
    "What is past is PROLOGUE"

  10. #10
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    Got this solved today, how?

    Purged the entries manually, did a db restart that eventually cleared dictionary. Got the undo back as before.

    Thanks all for your valuable suggestions and concerns.
    "What is past is PROLOGUE"

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