Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

TRANSPORTABLE TABLESPACE

arnelcNov 11 2003 — edited Nov 12 2003
I'm soliciting your advise/help to solve my problems in EXP/IMP of TRANSPORTABLE TABLESPACE.

Here are the steps I do and corresponding errors:

@source:
1. Set tablespaces for transport read-only
alter tablespace "TABLESPACE" read only;

2. Export metadata of tablespaces for transport using user with DBA role

exp user/password@dB file=FILE_1.DMP TRANSPORT_TABLESPACE=Y tablespaces=TABLESPACE_1
TRIGGERS=n CONSTRAINTS=n

exp user/password@dB file=FILE_2.DMP TRANSPORT_TABLESPACE=Y tablespaces=TABLESPACE_2
TRIGGERS=n CONSTRAINTS=n

***error during export TABLESPACE_2***
ORA-29341: the transportable set is not self-contained

3. Physically copy exported files and datafiles to target

@target:
Created User having these privileges and run the following:
a) DBA
b) CREATE SESSION
c) CREATE Privs on imported objects
d) IMP_FULL_DATABASE
e) Execute privileges on the DBMS_RLS package
f) Run the CATEXP.SQL OR CATALOG.SQL scripts

4. Import metadata of transportable tablespaces

imp user/password@dB file=FILE_1.DMP TRANSPORT_TABLESPACE=y
datafiles=DIRECTORY OF CORRESPONDING DATAFILE

imp user/password@dB file=FILE_2.DMP TRANSPORT_TABLESPACE=y
datafiles=DIRECTORY OF CORRESPONDING DATAFILE

***error during import of both dmp files***
PLS-00201: identifier 'string' must be declared

Arnel Ca�on
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2003
Added on Nov 11 2003
4 comments
203 views