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: file/tablespace deleted at the OS level

Re: file/tablespace deleted at the OS level

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Sat, 01 Sep 2001 09:45:45 -0700
Message-ID: <F001.003802A9.20010901094027@fatcity.com>

startup mount
alter tablespace offline drop;
alter database open;
drop tablespace including contents;
create tablespace ............
<reload table>

shutdown and do another backup

offline drop tells oracle to ignore the fact that it's not there, you're going to get rid of it anyway.

I'm doing this from memory here, check the docs to make sure it's tablespace offline drop and not datafile offline drop

>From: Charlie Mengler <charliem_at_mwh.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: file/tablespace deleted at the OS level
>Date: Sat, 01 Sep 2001 09:05:20 -0800
>
>Oracle V9.0.1 Solaris 2.6 a development instance
>
>I made more than one mistake which resulted in me
>deleting a file that held single table tablespace. Now
>the instance won't STARTUP (naturally). Since I
>can easily recreate the data, I'd like to know how
>to convince Oracle to ignore the missing file and
>startup.
>
>If my recovery steps fail, I'll get all the files for this
>instance restored from Thursday's cold backups.
>
>TIA & HAND!
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Charlie Mengler
> INET: charliem_at_mwh.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).



Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: carmichr_at_hotmail.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 Sat Sep 01 2001 - 11:45:45 CDT

Original text of this message

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