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
     1. you could restore the system, rollback and the datafile in which
the table has extents to a DIFFERENT server and
     2. recover the database just before the table deletes,
     3. open the database using resetlogs
     4. 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 <[EMAIL PROTECTED]>  
                    <Saroj.Dash@geca        cc:                                        
                          
                    pital.com>              Subject:     !!**** Urgent HELP (Table 
Deleted In Production )       
                    Sent by:                                                           
                          
                    [EMAIL PROTECTED]                                                   
                          
                                                                                       
                          
                                                                                       
                          
                    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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to