Tablespace vs transport tablespace exp

i am confuse in both cases
what the diffrence between these two
tablespace exp vs transport tablespace
acc to me
tablespace export is much easer then transport tablespace just as table export
but in transport tablespace we can also copy dbf file.
which one is more appropriate?
kuljeet pal singh

Unlike regular exports, transportable tablespace exports are intended for moving data between tablespaces, and generally have no backup/recovery value.
When performing a transportable tablespace export, the only information exported from the database is the Metadata about the tablespace. Because of this, the tablespace or tablespaces must be self-contained and have no relationships outside of the tablespace (FK, Indexes etc). There are other restrictions then this please consult the documentation.
A transportable tablespace export allows for a very quick export with a correspondingly small file.
Once the export is complete, the datafiles associated with the tablespace are copied to there new location (tablespace must be in read only mode when performing this).
Please note, that if you are planning to use this method for database refreshes, the existing tablespace in the target database must be dropped before being reimported.
For more information please consult the documenation.

Similar Messages

  • Oracle Upgrade V9 to V10 - Transportable Tablespaces

    Hi,
    I am upgrading a database from Oracle 9i v 9.2.0.6.0 to Oracle 10g 10.2.0.4.0. Both servers are running Windows 2003 Server 32Bit.
    My plan is to upgrade using Transportable Tablespaces. This is what I have done.
    1) exec DBMS_TTS.TRANSPORT_SET_CHECK('XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX',true); --> This checked out fine.
    2) Set the above tablespaces as read only.
    3) Copied all the datafiles to the new server (2TB)
    4) Did the export: exp 'xxx@xxxx as sysdba' transport_tablespace=y tablespaces=(XXX,XXX,XXX,XXX,XXX ETC...) tts_full_check=y file=c:\EXP.dmp log=c:\exp.log
    5) Here comes the problem: When I do the import it imports the tables with the data and forces me o create the Schemas manually. It does not import the users / packages / views / triggers etc...
    I need to do an export that that will include everything (Creates Schemas, Packages, Views, Triggers, Tables, data).
    I know there is a function FULL=y, this will not work as I do not have an additional 2TB for the export file.
    Can someone please explain how to do this?
    Kind Regards
    Henk

    Welcome to the forums !
    Is there a reason you are using transportable tablespaces ? Would it not be easier to do an in-place upgrade on the current server, then copy/clone the instance to the new server ?
    HTH
    Srini

  • TIP 03: Transportable Tablespaces in 10g by Joel Pèrez

    Hi OTN Readers!
    Everyday I get connection on Internet and one of the first issues that
    I do is to open the OTN main page to look for any new article or any
    new news about the Oracle Technology. After I open the main page of
    OTN Forums and I check what answers I can write to help some people
    to work with the Oracle Technology and I decided to begin to write some
    threads to help DBAs and Developers to learn the new features of 10g.
    I hope you can take advantage of them which will be published here in
    this forum. For any comment you can write to me directly to : [email protected]
    Please do not replay this thread, if you have any question related to
    this I recommend you to open a new post. Thanks!
    The tip of this thread is: Transportable Tablespaces
    Joel Pérez
    http://otn.oracle.com/experts

    Step 9: Apply this command to see all the options of the export utility
    C:\>
    C:\>EXP HELP=Y
    Export: Release 10.1.0.2.0 - Production on Fri Apr 23 19:48:30 2004
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    You can let Export prompt you for parameters by entering the EXP
    command followed by your username/password:
         Example: EXP SCOTT/TIGER
    Or, you can control how Export runs by entering the EXP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword    Description (Default)      Keyword      Description (Default)
    USERID     username/password          FULL         export entire file (N)
    BUFFER     size of data buffer        OWNER        list of owner usernames
    FILE       output files (EXPDAT.DMP)  TABLES       list of table names
    COMPRESS   import into one extent (Y) RECORDLENGTH length of IO record
    GRANTS     export grants (Y)          INCTYPE      incremental export type
    INDEXES    export indexes (Y)         RECORD       track incr. export (Y)
    DIRECT     direct path (N)            TRIGGERS     export triggers (Y)
    LOG        log file of screen output  STATISTICS   analyze objects (ESTIMATE)
    ROWS       export data rows (Y)       PARFILE      parameter filename
    CONSISTENT cross-table consistency(N) CONSTRAINTS  export constraints (Y)
    OBJECT_CONSISTENT    transaction set to read only during object export (N)
    FEEDBACK             display progress every x rows (0)
    FILESIZE             maximum size of each dump file
    FLASHBACK_SCN        SCN used to set session snapshot back to
    FLASHBACK_TIME       time used to get the SCN closest to the specified time
    QUERY                select clause used to export a subset of a table
    RESUMABLE            suspend when a space related error is encountered(N)
    RESUMABLE_NAME       text string used to identify resumable statement
    RESUMABLE_TIMEOUT    wait time for RESUMABLE
    TTS_FULL_CHECK       perform full or partial dependency check for TTS
    TABLESPACES          list of tablespaces to export
    TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
    TEMPLATE             template name which invokes iAS mode export
    Export terminated successfully without warnings.Joel Pérez
    http://otn.oracle.com/experts

  • Transportable Tablespace Issue

    Hi all,
    I dont know somebody else has posted this error here before, I am sorry If so..
    I am getting an error when I am transporting tablespace's metadata... can anyone help me about this issue ?
    My OS is RH 4
    ======================================================================
    [oracle@localhost export]$ exp parfile=/home/oracle/oracle9i/backup/export/prams.dat
    Export: Release 9.2.0.1.0 - Production on Mon Apr 28 13:33:23 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 1001 encountered
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 819
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 774
    ORA-01187: cannot read from file 201 because it failed verification tests
    ORA-01110: data file 201: '/home/oracle/oracle9i/oradata/db1/dbf/temp01.dbf'
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1093
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    ====================================================================
    My parameter file looks like below
    TRANSPORT_TABLESPACE=y
    TABLESPACES=users
    FILE=/home/oracle/oracle9i/backup/export/ts_users_28042008_10:04.dmp
    LOG=/home/oracle/oracle9i/backup/export/explog.log

    Check the similar sort of thread.
    Re: Transportable tablespace
    Regards,
    Sabdar Syed.

  • TRANSPORTABLE TABLESPACE IN 8.1

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-16
    Oracle8i에서는 tablespace단위로 그 구성 datafile들을 옮겨서 다른
    database에 연결시켜 사용할 수 있는 기능이 제공된다.
    SCOPE
    8i~10g Standard Edition 에서는 Import transportable tablespaces 기능만이 지원이 됩니다.
    유용성
    1. 전사적 정보시스템내에서 대량의 data의 흐름이 필요할 경우, - 예를 들어,
    OLTP database에서 data warehouse database로의 data이전 또는 data
    warehouse에서 data mart로의 data이전 등 - 8.1이전까지는 SQL*Loader의
    direct path나 parallel DML등의 방법을 이용하여 그 작업속도를
    향상시키려고 시도 하였다. 8.1의 Transportable Tablespace기능을
    이용한다면 datafile들을 새로운 system으로 copy하는 정도의 시간으로
    작업을 완료할 수 있다.
    2. 중앙에서 변경, 관리되고 지방(지사)에서 사용되는 data들을 CD-ROM에 담아서
    배포하는 등에 이용가능하다.
    예를 들어, 제품의 사양, 가격등에 대한 정보를 담는 tablespace를 중앙에서
    변경, 저장하여 배포하고, 이 data를 지방의 database에 연결하여 주문
    system등에 이용할 수 있다.
    3. Contents 사업자들은 자신이 제공하는 contents들을 Transportable
    Tablespace형태로 제공 하여 고객들의 database에 바로 연결하여 사용할 수
    있도록 할 수 있다.
    특성, 제한사항
    1. 특정 tablespace내의 전체 data를 이동시킨다.
    2. Media recovery를 지원한다.
    3. Source database와 target database는
    - 동일한 OS에서 구동되고 있어야 한다.
    - Oracle8i(8.1)이상의 version이어야 한다.
    - 동일한 block size를 이용해야 한다.
    - 동일한 characterset을 이용해야 한다.
    작업절차
    1. 대상 tablespace를 read only 상태로 변경한다.
    file을 copy하는 동안 해당 tablespace에 변경작업이 일어나지 않도록
    보장한다.
    2. Source database에서 metadata를 export한다.
    해당 tablespace와 그 안의 object들에 대한 dictionary정보를 dump file에
    받는 과정이다.
    3. 대상 tablespace의 datafile들을 target system으로 이동시킨다.
    4. Export dump file을 이동시킨다.
    5. Metadata를 target database에 import한다.
    6. 필요하다면 이후에 해당 tablespace를 read-write mode로 변경한다.
    SAMPLE
    Source database : dbA
    Target database : dbB
    이동 대상 tablespace : TRANS_TS(/u01/data/trans_ts01.dbf, /u01/data/trans_ts02.dbf 로 구성)
    1. dbA에서 TRANS_TS를 read only로 변경
    alter tablespace TRANS_TS read only ;
    2. dbA에서 metadata를 export한다.
    exp sys/manager file=trans.dmp transport_tablespace=y
    tablespaces=trans_ts triggers=n constraints=n
    version이 8.1.6이상이라면,
    exp system/manager 대신에 exp \'sys/manager as sysdba\'와 같이
    주여야 한다.
    transport_tablespace(Y or N)는 Y로 설정한다.
    tablespaces에는 transport의 대상이 되는 tablespace를 지정한다.
    대상 tablespace의 table들에 걸려있는 trigger, constraint들도 대상으로
    할 것인지를 지정한다.
    3. TRANS_TS의 두개의 datafile들을 dbB가 존재하는 system으로 binary
    copy한다.
    4. 위의 2번 과정에서 export한 dump file을 dbB가 존재하는 system으로
    binary copy한다.
    5. dbB에 metadata를 import한다.
    imp sys/manager file=trans.dmp transport_tablespace=y
    datafiles=/disk1/trans_ts01.dbf,/disk2/trans_ts02.dbf
    8.1.6이상이라면 이 부분도 sys/manager대신에 \'sys/manager as dba\'
    와 같이 적는다.
    transport_tablespace(Y or N)는 Y로 설정한다.
    datafile의 name은 dbB system에 copy된 filename을 지칭한다.
    6. 필요할 경우 tablespace를 read write mode로 변경한다.
    alter tablespace TRANS_TS read write ;
    TRANSPORT SET
    Transport하고자 하는 tablespace set은 self-contained이어야만 한다.
    대상이 되는 tablespace set 내에 partitioned table이 존재한다면 해당
    table의 모든 partition들이 이들 tablespace 내에 존재해야 하며, 비슷하게
    LOB column의 data들도 table의 data들과 함께 이들 tablespace 내에 존재해야
    하는데, 이렇게 서로 관련된 object들이 tablespace set내에 모두 존재하는
    것을 self-contained라고 지칭한다.
    tablespace set이 self-contained하지 않다면 transport할 수 없다.
    Transport tablespace set이 self-contained인지의 여부를 확인하기 위해서
    DBMS_TTS.TRANSPORT_SET_CHECK procedure를 이용한다.
    예를 들어,
    DBMS_TTS.TRANSPORT_SET_CHECK(ts_list=>'A,B,C',incl_constraints=>TRUE)
    을 수행하면 A, B, C 세개의 tablespace로 구성된 transport tablespace set이
    self-contained인지에 대한 정보를 TRANSPORT_SET_VIOLATIONS view에 기록해
    준다.
    incl_constraints를 설정하면 referencial(foreign key) constraint에
    대해서도 self-contained 여부를 check해준다.

    you can do the following:
    1. export all objects in your tablespace, by using option tables=(x,y,...)
    2. drop your tablespace including contents
    3. create new tablespace with a desired name using the same datafiles names (you can physically delete them first or use a REUSE option)
    4. create objects you exported in the new tablespace.
    5. perform your import
    By creating objects first, you guarantee that export will populate tables in the tablespace you need.
    This is just a general plan, you have to clarify and confirm all details.

  • Transportable tablespace /imp problem

    Dear all ,
    please i need to correct me if i am wrong
    transportable tablespace can you done of different version of oracle database
    (means can do that task from lower to upper ex:10g.2 to 11g.2) take in your consideration the limitation of this taks.???
    1. when i do this task in same platform unix to unix and same edians big to big
    there is no way to convert datafile or tablespace
    the take is done by take tablespace read only and then exp this tablespace and ftp the datafile and dmp file
    to new server and switch tablespace read write thus imp the dmp ???
    2. when this taks is done from win to unix from 10g.2 to 11g.2
    check the self_contained this in the two and take tablespace read only and convert and exp and ftp the datafile and dmp file
    to new server thus convert the datafile and then imp and the last one switch the tablespace in read write???
    please i need your opinion obout this ?????
    and i need your advice in import
    imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y FROMUSER=sys@TABSTST as sysdba TOUSER=sys@PRODICON as sysdba file=/icon/appl/oracle/trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
    Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:11:34 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    IMP-00017: following statement failed with ORACLE error 29342:
    "BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
    IMP-00003: ORACLE error 29342 encountered
    ORA-29342: user ORAESB does not exist in the database
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    oraicon@billdb03 $ imp USERID=\'sys/iti_ICON_sys as sysdba\' \ tablespaces=USERS transport_tablespace=y file=trans.dmp datafiles='/icon/appl/oracle/USERS01.dbf'
    Import: Release 10.2.0.3.0 - Production on Tue Dec 20 12:28:50 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    . importing SYS's objects into SYS
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 29342:
    "BEGIN sys.dbms_plugts.checkUser('ORAESB'); END;"
    IMP-00003: ORACLE error 29342 encountered
    ORA-29342: user ORAESB does not exist in the database
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1895
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    oraicon@billdb03 $
    MANY THANKS

    1 read documentation. You can use rman to convert the files
    2 read documentation. You can use rman to convert the files.
    3 the error message is self explanatory
    4 the error message is self explanatory
    Please do your own research prior to posting.
    Please include only 1 question per post.
    Sybrand Bakker
    Senior Oracle DBA

  • Transportable tablespace

    hi all
    i am new to oracle
    i want to export in oracle 10g. transportable tbs.
    when i execute expdp cmd. it give me error
    cmd>expdp scott@orcl/tiger directory=data_load dumpfile=emp.dmp transport_tablespace=users.
    in documentation i read transport_datafile ?? clearify me what is mean of transport_datafile and we used this clause in expdp cmd then what happend.
    thanx in advance.

    why dont you use exp and imp instead of expdp and impdpbcoz. i thing according to doc. transport tbs in original exp and imp tools used in different ways.
    and oracle 10g. data pump in expdp and impdp transport tbs used in different ways.
    bcoz i search in doc and i found differenct command in original and data pump utitites export and import.
    before that plz clearify what is mean and what is used to transport tablespace i read doc in doc. transport tbs is used to metadata but i not know much about metadata.
    thanx for reply sir

  • Transportable tablespace error

    Oracle version 9.2.0.8
    OS - Windows XP
    I am doing tablespace transport from one database to another database.
    My export went good but while importing I am getting some errors
    Not only that but I have to restart instance every time I try import
    C:\>exp userid='sys/**** as sysdba' transport_tablespace=y tablespaces=xyz5 file='C:\u03\expor\xyz5.dmp' log='C:\u03\expor\xyz.log'
    Export: Release 9.2.0.8.0 - Production on Sat Mar 22 22:50:20 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace EXAMPLE3 ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.
    C:\>imp USERID='sys/** AS SYSDBA' TRANSPORT_TABLESPACE=y DATAFILES='C:\oracle\oradata\spri\xyz5.DBF' TABLESPACES=xyz5 FILE='C:\u03\expor\xyz5.dmp'
    Import: Release 9.2.0.8.0 - Production on Sat Mar 22 23:21:58 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN sys.dbms_plugts.beginImport ('9.2.0.8.0',178,'2000',NULL,'NULL',252"
    "78,7151,1); END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00000: Import terminated unsuccessfully

    How the error of exp and imp will come in alert.log file?
    It will come in the log file we specified in parameter. I already posted that information.

  • Transportable tablespace number of datafiles

    We are using transportable tablespace to move tablespaces.
    Our database one data tablespace contain 21 datafile and index tablespace contain 18 datafiles.
    Tablespace Name:TEST_DATA Datafiles: /oradata/test_data001.dbf,/oradata/test_data002.dbf, .... /oradata/test_data021.dbf
    Tablespace Name:INDEX_DATA Datafiles: /oradata/index_data001.dbf,/oradata/index_data002.dbf, .... /oradata/test_data018.dbf
    I will take export Successfully bellow using command.
    exp "'/ as sysdba'" file=exp_tts.dmp log=exp_tts.log transport_tablespace=y \
    tablespaces=TEST_DATA,INDEX_DATA
    For Example. (datafile sample i have given)
    imp "'/ as sysdba'" file=exp_tts.dmp log=imp_tts.log fromuser=xxx \
    touser=xxx transport_tablespace=y datafiles=/oradata/test_data001.dbf,/oradata/test_data002.dbf, .... /oradata/test_data021.dbf, \
    /oradata/index_data001.dbf,/oradata/index_data002.dbf, .... /oradata/test_data018.dbf
    Over all we are using 39 datafiles in transportable tablespace.
    My question is import side i will give all datafiles name. it is very Complicated ( it's possiable to miss any datafile name)
    1.Any other way to using import ?
    2.It's possiable to given one location in all datafiles. (ex datafile=/oradata)
    3.we are using source location and target location same.
    Regds
    Murali
    Edited by: skrmurali on Oct 30, 2009 12:21 PM

    hi,
    you can give your desired location during import... but you should give the exact location of the datafiles that have been restored..
    i.e,
    if you copied all datafiles to /uo1/oradata/test_data001.dbf
    then in the import you must mention the same,, datafiles='/uo1/oradata/test_data001.dbf'.....
    import will done successfully...
    orelse if you can do cloning do RMAN clone..
    regards,
    Deepak

  • Transportable Tablespace in No archive log

    Can I use transportable tablespaces when both source and destination databases are in noarchive log mode?

    Fahd Mirza wrote:
    Can I use transportable tablespaces when both source and destination databases are in noarchive log mode?Yes... It is exp/imp utility so it has nothing to do with archivelog.
    Regards
    Rajesh

  • Transport Tablespace Issues

    hi.. i'm trying to use transport tablespace across the same platforms rather than performing export/import . i'm following the steps in Note:371556.1to exp/imp ASM files.
    i have finished all the steps and successfully transport the tablespace. this process involved only 2 TBS, CC_DATA and CC_INDEXES and the schema is CC. i choose to check the full containment before the export done. but when i count the objects before export and after the import, the count is different. the question is how to make the count of objects is same before and after transport.
    before export
    SQL> select count(*), object_type from user_objects group by object_type;
    COUNT(*) OBJECT_TYPE
    33 SEQUENCE
    3 DATABASE LINK
    55 TABLE
    82 INDEX
    19 SYNONYM
    39 VIEW
    6 rows selected.
    after import
    SQL> select count(*), object_type from user_objects group by object_type;
    COUNT(*) OBJECT_TYPE
    82 INDEX
    55 TABLE
    thanks in advance.
    -julie-
    Edited by: gunit on Nov 17, 2008 7:35 PM

    It's a limitation on transportable tablespace (http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1007233)
    You cannot transport the SYSTEM tablespace or objects owned by the user SYS. Some examples of such objects are PL/SQL, Java classes, callouts, views, synonyms, users, privileges, dimensions, directories, and sequences.So you need to transfer the views, sequences,etc., one method is using exp/imp.
    [source]$ exp cc/<pwd> file=cc.dmp rows=no
    [target]$ imp cc/<pwd> file=cc.dmp ignore=yes HTH
    Enrique

  • Transport Tablespace export error.

    Hello to All.
    Oracle Version : 9.2.0.1
    Operating System : Windows XP
    Sir.
    On testing to export a transportable tables space I got the following errors. I am unable to understand the cause of errors. Please guide
    The command fired and errors are :
    Before this I have made the tablespace users read only by this command :;
    sql> alter tablespace users read only;
    Tablespace Altered
    C:\Documents and Settings\admin>exp \"sys/oracle as sysdba\" transport_tablespace=Y tablespaces=users log=ts_users.log
    Export: Release 9.2.0.1.0 - Production on Fri Oct 3 20:23:09 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 1001 encountered
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 819
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 774
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1093
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    thanks and regards
    Neeraj
    Edited by: ora-boy on Oct 3, 2008 8:05 AM
    Edited by: ora-boy on Oct 3, 2008 8:06 AM

    EXTREMELY sorry for this type of silly blunder.
    now the result is
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM TRANSPORT_SET_VIOLATIONS;
    VIOLATIONS
    Default Partition (Table) Tablespace SYSTEM for EMP1 not contained in transportable set
    Default Partition (Table) Tablespace SYSTEM for EMP1 not contained in transportable set
    Default Partition (Table) Tablespace SYSTEM for EMP1 not contained in transportable set
    Default Partition (Table) Tablespace USERS for EMP1 not contained in transportable set
    Default Partition (Table) Tablespace USERS for EMP1 not contained in transportable set
    Default Partition (Table) Tablespace USERS for EMP1 not contained in transportable set
    6 rows selected.
    but I am unable to understand this.
    thanks

  • Transportable Tablespaces

    Hi all,
    I am trying to tranport a tablespace from one Database to another database.
    I tried the following steps.
    I made the tablespace which going to transport as read only.
    Then I issue the exp command to export the meta data, but throwing following errors,
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 29341 encountered
    ORA-29341: The transportable set is not self-contained
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1387
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    Could you please tell me any other settings I have to do for this export?
    Thanks & Cheers
    Antony

    Hi,
    Be aware of the following limitations as you plan to transport tablespaces:
    The source and target database must use the same character set and national character set.
    You cannot transport a tablespace to a target database in which a tablespace with the same name already exists. However, you can rename either the tablespace to be transported or the destination tablespace before the transport operation.
    Objects with underlying objects (such as materialized views) or contained objects (such as partitioned tables) are not transportable unless all of the underlying or contained objects are in the tablespace set.
    Beginning with Oracle Database 10g Release 2, you can transport tablespaces that contain XMLTypes, but you must use the IMP and EXP utilities, not Data Pump. When using EXP, ensure that the CONSTRAINTS and TRIGGERS parameters are set to Y (the default).
    The following query returns a list of tablespaces that contain XMLTypes:
    select distinct p.tablespace_name from dba_tablespaces p,
    dba_xml_tables x, dba_users u, all_all_tables t where
    t.table_name=x.table_name and t.tablespace_name=p.tablespace_name
    and x.owner=u.username
    For your reference go through this link
    http://youngcow.net/doc/oracle10g/server.102/b14231/tspaces.htm#i1007169
    and "Transporting Tablespaces Between Databases"
    Aman,
    Sorry I could not seen your reply....due to the refresh...Other wise I would not have been posted...
    Thanks
    Pavan Kumar N
    Message was edited by:
    Pavan Kumar

  • Export hangs while transporting tablespace..

    Hello,
    I have a database running on Win2000. The host is a small machine. I am trying to transport tablespaces from one database to another. I have already checked to make sure that all the data is contained completely within the tablespace. I have already declared the tablespace readonly. When I issue "exp transport_tablespace=y tablespaces=MINE grants=y triggers=y constraints=y file=c:\exp.dmp" it seems to start out fine because I see a lot of disk reads. After a while it just seems to stop..I don't see any activity at all. Any ideas?
    Thanks.

    Hi
    Maybe is performing some CPU work, what is the size of tablespace? Did you check the task manager and CPU usage?
    A10!
    null

  • Transportable tablespace becomes non-transportable

    Dear Guru's,
    For years we exported and imported our transportable tablespaces, but recently the export fails with the following error message:
    EXP-00008: ORACLE error 29341 encountered
    ORA-29341: The transportable set is not self-contained
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1143
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    We use Oracle9i in RedHat 3.4 on xSeries 336 machine.
    The exporting command: exp parfile=export.f
    Contents of export.f:
    USERID="/ as sysdba"
    TRANSPORT_TABLESPACE=y
    TABLESPACES=JAFFA_TSB,BLOB_TSP
    # Outcommented lines contains default value:
    #GRANTS=Y
    #CONSTRAINTS=Y
    #TRIGGERS=Y
    #INDEXES=Y
    TTS_FULL_CHECK=TRUE
    OBJECT_CONSISTENT=Y
    STATISTICS=COMPUTE
    FILE=syn_meta.dmp
    LOG=syn_meta.log
    These attempts were made:
    EXECUTE dbms_tts.transport_set_check('BLOB_TSP', TRUE, TRUE);
    SELECT * FROM transport_set_violations ==> "no rows selected"
    Oracle support service has still no answer to this issue.
    How can we find where the problem is? Can anybody help?
    Thanks a lot in advance!

    Amazing!!!
    Thank you very much Chris! We only need to drop the table and we manage to export again. This is the result of the conclusion:
    SQL> execute dbms_tts.transport_set_check('JAFFA_TSB,BLOB_TSP',TRUE,TRUE);
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM transport_set_violations;
    VIOLATIONS
    Sys owned object REPAIR_TEST in tablespace JAFFA_TSB not allowed in pluggable set
    Thanks again!!!

Maybe you are looking for

  • How can I get MPEG-2 video into Final Cut Pro X?

    Hello!  I have several MPEG-2 video files on which I need to perform some edits.  When I tried to import them into Final Cut Pro, I learned that Final Cut Pro can't import MPEG files.  Okay, so I went into QuickTime and exported one as 720p.  20 minu

  • Replace() function doesn't work in Application Designer?

    I'm using PeopleSoft Application Designer 8.51. I'm trying to do a simple Replace function so I can escape single quotes rather than allow them to blow up the sql query. &deptid = Replace(&deptid, "'", "''"); App Designer chokes when I hit Save: "Inv

  • Fireworks to Edge Reflow?

    I know Adobe don't like Fireworks but I'm hoping that they will have a workflow from FW6 to Edge Reflow. Is there any info on this? Photoshop is great for image editing but it sucks real hard for web and mobile design, I just can't use it for that so

  • To papulate byte[]. Help please

    hello all java programmers, I have some variable defined as fallows : byte code = 0x22; byte type = 0x00; short csum = 44; short rsvd = 00; InetAddress a = new InetAddress("111.111.1.11"); Now i want to put all this values into byte[]. I used DataOut

  • Current turn-around time for UK books?

    I've ordered a couple of books in the past which have usually printed within 2-3 days of uploading them. I ordered 2 large soft-cover books last Monday but they still seem to be printing, despite it saying 3-4 days on the estimate. I realise that it'