Transport Tablespace using RMAN from 10.2.0.2 to 10.2.0.3 ??

Hello all,
Is it possible to do RMAN Transport Tablespace from 10.2.0.2 to 10.2.0.3 ??
TIA,
J J

Are the two database on same platform?
Yes, it's possible to move from 10.2.0.2 to 10.2.0.3
You should check Oracle document,
You cannot export transportable tablespaces and then import them into a database at a lower release level. The target database must be at the same or higher release level as the source database.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1006840

Similar Messages

  • Transport Tablespace using rman

    Hi,
    I have two databases working on windows 2003.i need Migrate to one database.
    which option is best and minimum downtime.
    Oracle Database Version : 10.2.0.3 (two database)
    We are using Partition table.
    Regds
    Murali

    skrmurali wrote:
    Hi,
    I have two databases working on windows 2003.i need Migrate to one database.
    which option is best and minimum downtime.
    Oracle Database Version : 10.2.0.3 (two database)
    We are using Partition table.
    Regds
    MuraliYou can use both Transportable tablespace feature of RMAN or Data Pump utility

  • Unable to restore TABLESPACE using RMAN backups

    Hi,
    I am not able to restore tablespace using RMAN (TSPITR).
    I have full backup of database,
    While try to restore it's failed.
    RMAN> recover tablespace TEST1 until logseq 706 auxiliary destination '/tmp';
    Starting recover at 16-OCT-13
    using channel ORA_DISK_1
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS2
    Creating automatic instance, with SID='CsFz'
    initialization parameters used for automatic instance:
    db_name=TRAINEE
    db_unique_name=CsFz_tspitr_TRAINEE
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/tmp
    log_archive_dest_1='location=/tmp'
    #No auxiliary parameter file used
    starting up automatic instance TRAINEE
    Oracle instance started
    Total System Global Area     292933632 bytes
    Fixed Size                     1336092 bytes
    Variable Size                100666596 bytes
    Database Buffers             184549376 bytes
    Redo Buffers                   6381568 bytes
    Automatic instance created
    List of tablespaces that have been dropped from the target database:
    Tablespace TEST1
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 16-OCT-13
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=81 device type=DISK
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /oracle/product/11.2.0/dbhome_1/dbs/c-332232391-20131016-09
    channel ORA_AUX_DISK_1: piece handle=/oracle/product/11.2.0/dbhome_1/dbs/c-332232391-20131016-09 tag=TAG20131016T144951
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/tmp/TRAINEE/controlfile/o1_mf_95wbkpvj_.ctl
    Finished restore at 16-OCT-13
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile  1 to new;
    set newname for clone datafile  7 to new;
    set newname for clone datafile  2 to new;
    set newname for clone tempfile  1 to new;
    set newname for datafile  6 to
    "/oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile  1, 7, 2, 6;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /tmp/TRAINEE/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 16-OCT-13
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to /tmp/TRAINEE/datafile/o1_mf_system_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00007 to /tmp/TRAINEE/datafile/o1_mf_undotbs2_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00002 to /tmp/TRAINEE/datafile/o1_mf_sysaux_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00006 to /oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /tmp/1iomi9rv_1_1
    channel ORA_AUX_DISK_1: piece handle=/tmp/1iomi9rv_1_1 tag=TAG20131016T144935
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 16-OCT-13
    datafile 1 switched to datafile copy
    input datafile copy RECID=11 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_system_95wbkybb_.dbf
    datafile 7 switched to datafile copy
    input datafile copy RECID=12 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_undotbs2_95wbkycy_.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=13 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_sysaux_95wbkybz_.dbf
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # online the datafiles restored or switched
    sql clone "alter database datafile  1 online";
    sql clone "alter database datafile  7 online";
    sql clone "alter database datafile  2 online";
    sql clone "alter database datafile  6 online";
    # recover and open resetlogs
    recover clone database tablespace  "TEST1", "SYSTEM", "UNDOTBS2", "SYSAUX" delete archivelog;
    alter clone database open resetlogs;
    executing Memory Script
    executing command: SET until clause
    sql statement: alter database datafile  1 online
    sql statement: alter database datafile  7 online
    sql statement: alter database datafile  2 online
    sql statement: alter database datafile  6 online
    Starting recover at 16-OCT-13
    using channel ORA_AUX_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 702 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_702_807275402.dbf
    archived log for thread 1 with sequence 703 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_703_807275402.dbf
    archived log for thread 1 with sequence 704 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_704_807275402.dbf
    archived log for thread 1 with sequence 705 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_705_807275402.dbf
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_702_807275402.dbf thread=1 sequence=702
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_703_807275402.dbf thread=1 sequence=703
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_704_807275402.dbf thread=1 sequence=704
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_705_807275402.dbf thread=1 sequence=705
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 16-OCT-13
    database opened
    contents of Memory Script:
    # make read only the tablespace that will be exported
    sql clone 'alter tablespace  TEST1 read only';
    # create directory for datapump import
    sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /tmp''";
    # create directory for datapump export
    sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /tmp''";
    executing Memory Script
    sql statement: alter tablespace  TEST1 read only
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''
    Performing export of metadata...
       EXPDP> Starting "SYS"."TSPITR_EXP_CsFz":
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
       EXPDP> Master table "SYS"."TSPITR_EXP_CsFz" successfully loaded/unloaded
       EXPDP> ******************************************************************************
       EXPDP> Dump file set for SYS.TSPITR_EXP_CsFz is:
       EXPDP>   /tmp/tspitr_CsFz_17454.dmp
       EXPDP> ******************************************************************************
       EXPDP> Datafiles required for transportable tablespace TEST1:
       EXPDP>   /tmp/TRAINEE/datafile/o1_mf_test1_95wbkyck_.dbf
       EXPDP> Job "SYS"."TSPITR_EXP_CsFz" successfully completed at 14:56:02
    Export completed
    contents of Memory Script:
    # shutdown clone before import
    shutdown clone immediate
    executing Memory Script
    database closed
    database dismounted
    Oracle instance shut down
    Performing import of metadata...
       IMPDP> Master table "SYS"."TSPITR_IMP_CsFz" successfully loaded/unloaded
       IMPDP> Starting "SYS"."TSPITR_IMP_CsFz":
       IMPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Removing automatic instance
    Automatic instance removed
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_temp_95wblk08_.tmp deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_3_95wblj14_.log deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_2_95wblhn8_.log deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_1_95wblh8q_.log deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_sysaux_95wbkybz_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_undotbs2_95wbkycy_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_system_95wbkybb_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/controlfile/o1_mf_95wbkpvj_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/16/2013 14:56:16
    RMAN-06963: Error received during import of metadata
    RMAN-06961:    IMPDP> ORA-39123: Data Pump transportable tablespace job aborted
    ORA-01565: error in identifying file '/oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

    Hi,
    Cloud you please cheek below link:
    ORACLE Cookies: TSPITR to recover a dropped tablespace
    Thank you

  • Restore the dropped tablespace using RMAN?

    Hello,
    I have done a oracle tablespace re-org for PSAPPOOLD,PSAPPOOLI. Now I want to restore only the OLD PSAPPOOLD,PSAPPOOLI tablespace using TAPE backup via RMAN. 
    The probelm is I have dropped the old tablespace during re-org which is a part of the re-org. Is it possible to restore the dropped tablespace using RMAN?
    My Oracle version is 9.2.05
    if anyone has done this before, please share your valuable ideas.
    I wrote the below script for the restore.
    run {
    allocate channel ch1 type sbt_tape;
    startup nomount
    restore controlfile; -
    >(I guess,if I restore old control file, I might get old structure which help the restore of TB)
    alter database mount ;
    restore tablespace PSAPPOOLD,PSAPPOOLI;
    recover tablespace PSAPPOOLD,PSAPPOOLI;;
    release channel ch1;
    Thanks,
    Arjun
    Edited by: Arjun Venkateswarlu on Jul 31, 2009 6:40 PM

    > I have done a oracle tablespace re-org for PSAPPOOLD,PSAPPOOLI. Now I want to restore only the OLD PSAPPOOLD,PSAPPOOLI tablespace using TAPE backup via RMAN. 
    >
    > The probelm is I have dropped the old tablespace during re-org which is a part of the re-org. Is it possible to restore the dropped tablespace using RMAN?
    Hello Arjun,
    why would you want to do this?
    What is is you want to achieve by this action?
    BTW: it's not possible to do that.
    Check [Performing RMAN Tablespace Point-in-Time Recovery|http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtspit.htm].
    You want a "Tablespace point in time recovery" (TSPITR) for a dropped tablespace and that is just not possible with RMAN.
    So, the easiest way for you to get this tablespace back would be to restore and recover the database to a different host.
    Ah, while we're at it: using RMAN outside the BRTOOLS is not supported by SAP - so you better be a wiz with it because there won't be much help in case anything does not work.
    regards,
    Lars

  • Transport Tablespace via RMAN

    Hii all
    I configured control file autobackup on and take a backup whole database with "backup database;" command and
    RMAN> transport tablespace users tablespace destination 'c:\Transport' auxiliary destination 'c:\Auxi';
    I am receiving ;
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    In begining lines of rman command I saw that "control_files=c:\Auxi/cntrl_tspitr_ST1_dFcB.f" looks like using unix path format in windows? Have you any idea ?
    Best Regards
    Oracle 10.2.0.3 on Vista Sp2

    hi
    Yes it is on besides I take backup with "backup database include current controlfile" nothing has changed
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\
    NCFST1.ORA'; # default
    also I have just tested same command on aix platform it works well I think this is related windows platform ?
    Edited by: EB on Sep 25, 2009 4:56 PM

  • Duplicate of Database - Restore of Specific Tablespaces using RMAN

    Hi, is it possible to perform a duplicate of a large database to a point in time (from tape) but only restore specific tablespaces, this database uses partitioned tables for a week of data, each set of partitions have their own tablespace.
    Thanks.

    Use can use the “SKIP TABLESPACE” option of RMAN DUPLICATE to bring only the tablespaces you want.
    Iordan Iotzov
    http://iiotzov.wordpress.com/

  • Restore a tablespace using RMAN

    Hi all,
    Please help me to solve the below problem,
    This is a test case.
    I have taken one L0 backup and one L1 backup.
    Then I have created a table "TEST_TABLE" along with some values in "USERS" tablespace.
    Again I took another L1 backup.
    Now accidentally (for testing) I have dropped the table "TEST_TABLE".
    Can I get the table back.
    I have tried the following::
    1. Took the tablespace USERS offline
    2. Removed the datafiles manually.
    3. Restored the tablespace
    4. Recovered the tablespace
    5. Made the tablespace USERS online.
    Now when I queried for the table "TEST_TABLE", I couldn't get the table back.
    Is there any way to get back my table.
    Regards,
    Bikram

    Hi zekeriya,
    Thanks. I am using 10g.
    Ofcourse we can use flashback but If possible I just want to recover the "USERS" tablespace users upto a specific time from the incremental backup that I have before the drop command.
    I couldn't find the specific command to do so.
    Please help.
    Thanks,
    Bikram

  • Error while using Transport Tablespace

    Hi,
    I am running into the below errors when I do the transport tablespace in 11g using the OEM --> Data Movement --> Transport Tablespace.
    RMAN-03009: failure of conversion at source command on ORA_DISK_1 channel at 04/22/2008 08:28:32
    RMAN-20038: must specify FORMAT for CONVERT command
    When I search for the RMAN-03009 in OTN,Metalink,google , I get some unrelated hits with different message and not the "Failure of Conversion..." message.. for this message code.
    Please advice if you have had the same issue and resolved the same.
    Thanks
    Sheik

    From 11g Error Messages:
    RMAN-20038: must specify FORMAT for CONVERT command
    Cause: No FORMAT was specified when using CONVERT command.
    Action: Resubmit the command using FORMAT clause.

  • How to refresh the database from target to clone system using RMAN ?

    I created the database using RMAN from target (Node A) to clone (Node B)
    I want to refresh the data what are all the changes happened in (Not complete database only chages) target to clone system using RMAN ? or any other way?

    I want to refresh the data what are all the changes
    happened in (Not complete database only chages)
    target to clone system using RMAN ? or any other way?Incremental changes can't apply, once database is open using RMAN or any other B&R method.STREAMS can be use to capture and apply changes.
    Cheer,
    Virag

  • Dbid in transportable tablespaces

    Is it necessary to have same DBID for rman transportable tablesapace or for normal exp/imp transportable tablespace ?

    Pascal Nouma wrote:
    Hi Kamran
    Someone in database general forum posted that, dbid is essential. Is he wrong?
    transport tablespace from raw to cooked
    I forget to mark question as resolved sorry about thatI don't like to say someone's answer that it's "right" or "wrong". But according to Oracle documentation, there's no any need for two databases to have same dbid to transport tablespace between them. Generally, database's have different unique DBID which make them different from others. So if you have two databases which runs on Linux and Windows OS and you want to transport a tablespace between them, you don't need to changed dbid of one of them.
    Moreover, you can refer to documentation: [Limitations on Transportable Tablespace Use|http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/tspaces013.htm#i1007233]

  • Error ORA-39125 and ORA-04063 during export for transportable tablespace

    I'm using the Oracle Enterprise Manager (browser is IE) to create a tablespace transport file. Maintenance...Transport Tablespaces uses the wizard to walk me through each step. The job gets created and submitted.
    The 'Prepare' and 'Convert Datafile(s)' job steps complete successfully. The Export step fails with the following error. Can anyone shed some light on this for me?
    Thank you in advance!
    =======================================================
    Output Log
    Export: Release 10.2.0.2.0 - Production on Sunday, 03 September, 2006 19:31:34
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYS"."GENERATETTS000024": SYS/******** AS SYSDBA dumpfile=EXPDAT_GENERATETTS000024.DMP directory=EM_TTS_DIR_OBJECT transport_tablespaces=SIEBEL job_name=GENERATETTS000024 logfile=EXPDAT.LOG
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_STATISTICS]
    ORA-04063: view "SYS.KU$_IOTABLE_VIEW" has errors
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6241
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2CF48130 14916 package body SYS.KUPW$WORKER
    2CF48130 6300 package body SYS.KUPW$WORKER
    2CF48130 2340 package body SYS.KUPW$WORKER
    2CF48130 6861 package body SYS.KUPW$WORKER
    2CF48130 1262 package body SYS.KUPW$WORKER
    2CF0850C 2 anonymous block
    Job "SYS"."GENERATETTS000024" stopped due to fatal error at 19:31:44

    More information:
    Using SQL Developer, I checked the view SYS.KU$_IOTABLE_VIEW referred to in the error message, and it does indeed report a problem with that view. The following code is the definition of that view. I have no idea what it's supposed to be doing, because it was part of the default installation. I certainly didn't write it. I did, however, execute the 'Test Syntax' button (on the Edit View screen), and the result was this error message:
    =======================================================
    The SQL syntax is valid, however the query is invalid or uses functionality that is not supported.
    Unknown error(s) parsing SQL: oracle.javatools.parser.plsql.syntax.ParserException: Unexpected token
    =======================================================
    The SQL for the view looks like this:
    REM SYS KU$_IOTABLE_VIEW
    CREATE OR REPLACE FORCE VIEW "SYS"."KU$_IOTABLE_VIEW" OF "SYS"."KU$_IOTABLE_T"
    WITH OBJECT IDENTIFIER (obj_num) AS
    select '2','3',
    t.obj#,
    value(o),
    -- if this is a secondary table, get base obj and ancestor obj
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, secobj$ s
    where o.obj_num=s.secobj#
    and oo.obj_num=s.obj#),
    null),
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, ind$ i, secobj$ s
    where o.obj_num=s.secobj#
    and i.obj#=s.obj#
    and oo.obj_num=i.bo#),
    null),
    (select value(s) from ku$_storage_view s
    where i.file# = s.file_num
    and i.block# = s.block_num
    and i.ts# = s.ts_num),
    ts.name, ts.blocksize,
    i.dataobj#, t.bobj#, t.tab#, t.cols,
    t.clucols, i.pctfree$, i.initrans, i.maxtrans,
    mod(i.pctthres$,256), i.spare2, t.flags,
    t.audit$, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln,
    t.avgspc_flb, t.flbcnt, t.analyzetime, t.samplesize, t.degree,
    t.instances, t.intcols, t.kernelcols, t.property, 'N', t.trigflag,
    t.spare1, t.spare2, t.spare3, t.spare4, t.spare5, t.spare6,
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.encalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.intalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    (select c.name from col$ c
    where c.obj# = t.obj#
    and c.col# = i.trunccnt and i.trunccnt != 0
    and bitand(c.property,1)=0),
    cast( multiset(select * from ku$_column_view c
    where c.obj_num = t.obj#
    order by c.col_num, c.intcol_num
    ) as ku$_column_list_t
    (select value(nt) from ku$_nt_parent_view nt
    where nt.obj_num = t.obj#),
    cast( multiset(select * from ku$_constraint0_view con
    where con.obj_num = t.obj#
    and con.contype not in (7,11)
    ) as ku$_constraint0_list_t
    cast( multiset(select * from ku$_constraint1_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint1_list_t
    cast( multiset(select * from ku$_constraint2_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint2_list_t
    cast( multiset(select * from ku$_pkref_constraint_view con
    where con.obj_num = t.obj#
    ) as ku$_pkref_constraint_list_t
    (select value(ov) from ku$_ov_table_view ov
    where ov.bobj_num = t.obj#
    and bitand(t.property, 128) = 128), -- IOT has overflow
    (select value(etv) from ku$_exttab_view etv
    where etv.obj_num = o.obj_num)
    from ku$_schemaobj_view o, tab$ t, ind$ i, ts$ ts
    where t.obj# = o.obj_num
    and t.pctused$ = i.obj# -- For IOTs, pctused has index obj#
    and bitand(t.property, 32+64+512) = 64 -- IOT but not overflow
    -- or partitioned (32)
    and i.ts# = ts.ts#
    AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (o.owner_num, 0) OR
    EXISTS ( SELECT * FROM session_roles
    WHERE role='SELECT_CATALOG_ROLE' ));
    GRANT SELECT ON "SYS"."KU$_IOTABLE_VIEW" TO PUBLIC;

  • Importing tablespace using impdp

    Hi,
    I am trying to transport tablespace using expdp/impdp like:
    source side: expdp dumpfile=tbs1.dmp logfile=tbs1.log directory=datapump transport_tablespaces=tbs1
    transformed to target side
    target side: impdp dumpfile=tbs1.dmp directory=datapump transport_datafiles='/u01/app/oracle/sales/tbs1.dbf'
    it is giving:
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-29345: cannot plug a tablespace into a database using an incompatible character set
    when i searched in google some suggestions are given like do transport using rman.
    But when we have the option in impdp why i need to go to rman tool.
    i want to use impdp only. but i ma unable to use it properly while importing.
    can you please alter me.
    thank you!

    Hello,
    ORA-29345: cannot plug a tablespace into a database using an incompatible character setIt cannot work due to the error ORA-29345 above:
    ORA-29345: cannot plug a tablespace into a database using an incompatible character set
    Cause: Oracle does not support plugging a tablespace into a database using an
    incompatible character set.
    Action: Use import/export or unload/load to move data instead.
    i want to use impdp only. but i ma unable to use it properly while importing.So, as suggested, move the data by import/export. But, be careful, as you have different character set you may have conversions.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Upgrade failed 9i to 10g using rman

    Hi all,
    I have an instance 9i at computer1. And I want to create new instance 10g at computer2 using rman from previous 9i instance. I have took a rman from 9i instance. And I have restored the other computer. Then I want to startup the new instance (10g), I have following error:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Mon Jun 21 15:24:03 2010
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 7209
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    What can I do?
    Regards
    Edited by: ilke_altinpulluk on 22.Haz.2010 08:16

    Don't use RMAN as the DBUA (Really). Build a new 10 database and migrate the data using either data pump or Import/Export.
    Create non-system roles first (create a script on oracle 9)
    Then create the users. (Do not create system users)
    (DBA_USERS should have all this info)
    Do not move any SYS or SYSTEM schema objects. (Forget about SCOTT etc too)
    Move all other schemas and compare.
    Make sure you check for Database links and directories etc that need to be moved but are not part of any schema.
    Database link scripts can be created from SQL DEVELOPER.
    You can get directory info from DBA_DIRECTORIES
    Double check all user and role grants at the very end.

  • R12 Rapidclone when using RMAN

    Per note# 406982.1, the cloning steps are:
    1. On the target server: run perl adcfgclone.pl dbTechStack
    2. Create the target database control files manually using RMAN
    3. Start the target database in open mode
    etc..
    Step 1 --- is the before I refresh the database from source...?

    user12004510 wrote:
    I am restoring and recovering the source database using RMAN from the backup files (no catalog, using backup location).
    RMAN duplicate open the database.
    ..then what?
    ..run adcfgclone.pl ..
    ...sorry the note on Rapidclone is not clear ..It is clear :)
    1) Run "perl adcfgclone.pl dbTechStack" command
    2) Duplicate the database using RMAN
    and continue with the remaining steps.
    Thanks,
    Hussein

  • Can I use RMAN transportable database cross platform from 10g to 11g?

    Hi,
    I'm working on the migration plan, the source db server is solaris with 10g database while the destination server is AIX with 11g database.
    Can I use RMAN transportable database for this purpose?
    Coz I have read the restrictions on Cross-Platform Transportable Database, but it does not mention whether it can work for different version of database.
    please help.

    Hi,
    Do you have metalink account? If yes please check : Cross-Platform Migration on Destination Host Using Rman Convert Database [ID 414878.1]*
    RMAN Cross-Platform Transportable Databases and Tablespaces
    Thank you

Maybe you are looking for