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: Removing datafiles

Re: Removing datafiles

From: Suhen Pather <pathers5_at_telkom.co.za>
Date: Wed, 26 Jul 2000 15:48:48 +0200
Message-Id: <10570.113035@fatcity.com>


It is not a very difficult process

One thing you need to do is make a back before doing a drop user/tablespace= .

If you have any foreign keys pointing to any tables you are about to drop = make sure you disable them before dropping the tables. Enable them after = the tables are imported.
Any objects that become invalid after the import should be recompiled.

I haven't heard of : Alter Tablespace ... Remove datafile You can drop the tablespace rather :
drop tablepace tablespace_name;
Then recreate the tablespace with proper sizing.

You can then import the data without any problems.

Regards
$uhen Pather
Oracle DBA
Telkom SA

>>> Kirsten.deWeerd_at_Oranjewoud.nl 07/26/00 11:16AM >>>
Hi all,

Yeah yeah, I should know this, but I'm just out of a two weeks 'Forget it all'-vacation, and I simply can't remember and don't have the necessary = docs
to find it.

There are several tablespaces that I want to export, drop everything and recreate with an import.

Dropping everything is very easy using : Drop User ... cascade ; When the datafiles are empty, I want to remove them so that I can replace and resize them more appropriately.

Is it as simple is I think it is : Alter Tablespace ... Remove datafile '...' ;

Thanx for your attention!

Greets,

Kirsten

--=20
Author: Weerd de E.C. Kirsten
  INET: Kirsten.deWeerd_at_Oranjewoud.nl=20

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 Wed Jul 26 2000 - 08:48:48 CDT

Original text of this message

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