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: Dropping tablespace (create zero-block tablespace)

Re: Dropping tablespace (create zero-block tablespace)

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 17 Aug 1998 19:52:06 +0200
Message-ID: <35D86DC6.9746D6C@sybrandb.demon.nl>


The tric here is a bit more simple than described below

Hth

Sybrand Bakker

LEVINIR wrote:

> I am working on project where in one instance default tablespace for users
> objects is user_data and in second default tablespace is users . I have to do
> full export of first instance, then drop this instance, and do full import to
> second instance (second instance is empty).
>
> When I import I have to make sure that users objects who's default tablespace
> was user_data would be imported into second instance and go to tablespace
> users. Also user_data tablespace should not be created in second instance. Do
> you have any suggestions? Import from user to user works just fine, but I have
> to do full import.
>
> I though this paragraph that I got from Oracle7 Server Utilities User's Guide
> would be helpful in my case, however I don't understand how to create zero
> block tablespace.
>
> Dropping a Tablespace
> You can drop a tablespace by doing a full database export, then creating a
> zero-block tablespace with the same name (before logging off) as the tablespace
> you want to drop. During import, the relevant CREATE TABLESPACE command will
> fail and prevent the creation of the unwanted tablespace. All objects from that
> tablespace will be imported into their owner's default tablespace.
>
> I would really appreacite your help.
> Thanks
> Irina
Received on Mon Aug 17 1998 - 12:52:06 CDT

Original text of this message

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