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

Thread: Drop Tablespace Accident

  1. #1
    Join Date
    Nov 2008
    Posts
    1

    Unhappy Drop Tablespace Accident

    Hello,

    I am on SAP/Oracle 10g/Unix. I accidently issueed the command in SQLPLUS on the wrong tablespace, and immediately withing 1 second hit "CNTRL-C"

    "drop tablespace PSAPP1S including contents and datafiles;


    I got this error below after hitting "CNTRL-C"
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01013: user requested cancel of current operation

    Afterwards I ran a verification of the tablespace and all datafiles were still online, it turns out that only 5 tables were deleted, and I recreated them after doing a consistency check with the SAP Data Dictionary".

    I was wondering if anyone can advise me on how bad the damage could possibley be. Any tips on how to find out what damage was done?

    Thanks!

  2. #2
    Join Date
    Oct 2008
    Posts
    20
    Is the recycle bin parameter ON for the database...If yes the tables can be recovered from the recycle bin.
    Type the below to know whether recycle bin is set to on or not
    show parameter bin;

  3. #3
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    B**S*IT (if i can use that word here)

    When you cancelled the operation using cntrl +C it cannot drop all the tables in the tablespaces should still be there when you say drop tablespace oracle does not go on dropping each table indvidually

    regards
    Hrishy

  4. #4
    Join Date
    Nov 2008
    Posts
    11
    Quote Originally Posted by hyrdo4535
    Hello,
    I am on SAP/Oracle 10g/Unix. Thanks!
    You use Flash Recovery db to time point! NOW!

  5. #5
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    sounds like a recovery to me.
    Jeff Hunter

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