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: What is different b/w exp tablespace and exp user

Re: What is different b/w exp tablespace and exp user

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Wed, 01 Nov 2006 20:19:32 +0100
Message-ID: <eiaocv$ca8$1@news1.zwoll1.ov.home.nl>


aman.oracle.dba schreef:
> Hi,
>
> If I export full tablespace with the command
> exp userid=system/manager owner=hr
>
> and then imp in other database
> imp userid=system/manager fromuser=hr
> touser=hr ignore=y
>
> (Some same tables exists there but without data)
> or
> If I export tablespace with the command
> exp userid=system/manage tablespaces=users
>
> and then imp in other database
> imp userid=system/manager tablespaces=users
> ignore=y
>
> Both user and tablespace with the same name exists there and user "HR"
> is the only user who is using tablespace "USERS".
> So what is difference between both (WITH OWNER and TABLESPACE) exp and
> imp.
>
>
> As well as what will the difference if some tables already exists in
> user "HR" or Not Exists.
>

Who says that the tablespace contains only tables of one user? Who said a user can only have objects in one tablespace?

There's your difference.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Wed Nov 01 2006 - 13:19:32 CST

Original text of this message

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