Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Recover from a dropped datafile
Hemant
At 01:41 PM Tuesday, Jeremiah Wilton wrote:
>Rich,
><deleted>
>As long as there are no extents in the missing file, you can startup the
>database in mount mode, then ALTER DATABASE DATAFILE ... OFFLINE DROP; for
>the missing datafile (make sure you don't drop the wrong one!), then alter
>database open. You can then create a new tablespace and move the tables
>from the messed up tablespace into the new one using CREATE TABLE ... AS
>SELECT * FROM ...;
>
><deleted>
>--
>Jeremiah Wilton
>ORA-600 Consulting
>
>I have a situation where a customer has "accidentally" dropped a datafile
>from a tablespace. The good news is that the datafile was empty since she
>just added it. The bad news is that there is no backup and it is a 7.3.4
>database.
>
>Is it possible to offline the datafile and open the database and some how
>move the data to a new tablespace?
Hemant K Chitale
http://web.singnet.com.sg/~hkchital
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 14 2006 - 09:26:57 CST