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: How to drop a datafile ?

RE: How to drop a datafile ?

From: Sinardy Xing <SinardyXing_at_bkgcomsvc.com>
Date: Wed, 29 Oct 2003 01:54:25 -0800
Message-ID: <F001.005D4D9F.20031029015425@fatcity.com>


Hi,

How about do these:

  1. Create new tablespace
  2. Move all objects from Old tablespace to new tablespace
  3. drop old tablespace and delete the files
  4. recreate the old tablespace with correct datafiles size
  5. move all objects from new tablespace to redesign old tablespace
  6. drop new tablespace and delete the files.

Only if your database size is small or medium.

Sinardy

-----Original Message-----
Sent: 29 October 2003 17:24
To: Multiple recipients of list ORACLE-L

I don't beelive you can drop a datafile from a tablespace, you have to drop the tablespace, just reaize the datafile to 1M if space is the problem

Regards

>From: Prem Khanna J <jprem_at_kssnet.co.jp>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: How to drop a datafile ?
>Date: Tue, 28 Oct 2003 22:19:24 -0800
>
>doc 111316.1 doesn't mention about using
>OEM for the same.
>
>so i hope it cannot be done with OEM.
>am i right LIST ?
>
>so how do i do it from sqlplus ?
>
>TIA.
>Jp.
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: Prem Khanna J
> INET: jprem_at_kssnet.co.jp
>
>Fat City Network Services -- 858-538-5051 http://www.fatcity.com
>San Diego, California -- Mailing list and web hosting services
>---------------------------------------------------------------------
>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).



Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Craig Richards
  INET: craigdba_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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.net
-- 
Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Wed Oct 29 2003 - 03:54:25 CST

Original text of this message

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