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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to add a deleted datafile again

Re: How to add a deleted datafile again

From: Steve H <steven.hankin_at_citigroup.com>
Date: 8 Feb 2005 02:58:55 -0800
Message-ID: <1107860335.811885.298180@g14g2000cwa.googlegroups.com>


Hmm...it sounds like your database is in noarchivelog mode. Maybe you would prefer to have the database in ARCHIVELOG mode if you are going to start dropping datafiles ;) It sounds like a complete recovery is impossible, unless that datafile did not contain any useful data.

Options:

  1. If the file did not have any useful data in it, you can just add the file back by using the alter tablespace <name> reuse 'a1.dbf'. But you won't get any data in the file back again.
  2. If the file had useful data in, you can either restore the database from a previous backup (but obviously lose all changes between the full backup and the current version)..
  3. ..or you can restore the database to a new location, drop the tablespace that owned the 'a1.dbf', and transport a copy of the tablespace from the restored version. Search the manuals for TSPITR
Received on Tue Feb 08 2005 - 04:58:55 CST

Original text of this message

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