Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: !!**** Urgent HELP (Table Deleted In Production )

Re: !!**** Urgent HELP (Table Deleted In Production )

From: <Riyaj_Shamsudeen_at_i2.com>
Date: Fri, 09 Feb 2001 12:38:12 -0800
Message-ID: <F001.002B0C50.20010209123057@fatcity.com>

Hi Saroj

     If the table has been dropped or truncated then you have to do media recovery which means that you have to:

  1. restore the backup
  2. Do the point-in-time recovery and then stop the recovery just before the table deletes.
  3. Open the database using resetlogs. This also means that you will lose all the transaction occurred after the table deletes. If you can not afford to lose the transaction, then
  4. you could restore the system, rollback and the datafile in which the table has extents to a DIFFERENT server and
  5. recover the database just before the table deletes,
  6. open the database using resetlogs
  7. export the table from this database to the actual production database..

   If the database is in the backup mode then the Media recovery becomes slightly complicated and you need to switchoff the backup mode just before opening the database using alter database datafile 'file name' end backup command.

    Hope this helps!!

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
"These are my comments and does not bind me or my employer. Use at your own risk"

                                                                                       
                          
                    "Dash, Saroj                                                       
                          
                    (CAP,CEF)"              To:     Multiple recipients of list 
ORACLE-L <ORACLE-L_at_fatcity.com>  
                    <Saroj.Dash_at_geca        cc:                                        
                          
                    pital.com>              Subject:     !!**** Urgent HELP (Table 
Deleted In Production )       
                    Sent by:                                                           
                          
                    root_at_fatcity.com                                                   
                          
                                                                                       
                          
                                                                                       
                          
                    02/09/01 11:06                                                     
                          
                    AM                                                                 
                          
                    Please respond                                                     
                          
                    to ORACLE-L                                                        
                          
                                                                                       
                          
                                                                                       
                          




Dear Friends
In product databace one of the developer had deleted a table and commited it
,
database is in online backup but no export backup or table backup Please tell me how can the table be recovered please
guide me the exact detaied steps torecover the table After getting the reply i will start it

Thanks and Best regards

I tried this command
recover database until time '2001-02-09:22:00:00' ;

it gived the following error
 recovery session canceled due to errors ORA-01124: cannot recover data file 1 - file is in use or recovery ORA-01110: data file 1: '/db/oracle/oradata/tlisuser/system01.dbf' SVRMGR> recover database

ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1: '/db/oracle/oradata/tlisuser/system01.dbf'
SVRMGR> recover database until time '2001-02-09:22:00:00' ;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1: '/db/oracle/oradata/tlisuser/system01.dbf'
SVRMGR> select * from v$backup ;

then again i shut down the database then up it again i tried but same errors

Plese reply soon
saroj dash

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Dash, Saroj  (CAP,CEF)
  INET: Saroj.Dash_at_gecapital.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Riyaj_Shamsudeen_at_i2.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Fri Feb 09 2001 - 14:38:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US