Run transportable tablespace

Hi;
I have a file system database on linux which is 10g.I want to transport this database to new host asm on 11g.
I am unable to use transportable database since the endian formats are different. I want to use transportable tablespace feature with rman.
The database is pretty big. I dont have enough space to do the conversion on the source database.
If I ship the backup of the database to new host, can I do the conversion on new host ?
ie:
run {
allocate channel t1 type 'SBT_TAPE';
transport tablespace "USERS"
Tablespace destination '/ora_backup/tts'
Auxiliary destination '/ora_backup/tts'
Datapump directory data_pump_dir
dump file 'tts_test.dmp'
Import script 'tts_test.imp'
Export log 'exp_tts_test.log'

Ricardo,
I had given you a link in the other thread of yours. Did you see it? If not , please do. You can do the conversion either on the source or you can ship the files on the target host and can convert there as well. Please see the link since it covers it completely.
Aman....

Similar Messages

  • 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.

  • Transport tablespace related problem

    Hi all,
    I have a problem i want to export tablespaces as i have to migrate my db from oracle 9.2 to oracle 10.2 from win to RHEL4.......but i am getting an error ,pls suggest me for the same....
    SQL> @G:\oracle\ora92\rdbms\admin\dbmsplts.sql;
    Package created.
    Package created.
    Grant succeeded.
    Package created.
    Grant succeeded.
    drop view sys.transport_set_violations
    ERROR at line 1:
    ORA-00942: table or view does not exist
    PL/SQL procedure successfully completed.
    drop table sys.transts_error$
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Package created.
    SQL> exec sys.dbms_tts.transport_set_check('SRO',true);
    BEGIN sys.dbms_tts.transport_set_check('SRO',true); END;
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SYS.DBMS_TTS" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    SQL> desc dbms_tts
    PROCEDURE DOWNGRADE
    FUNCTION ISSELFCONTAINED RETURNS BOOLEAN
    Argument Name                  Type                    In/Out Default?
    TS_LIST                        CLOB                    IN
    INCL_CONSTRAINTS               BOOLEAN                 IN
    FULL_CHECK                     BOOLEAN                 IN
    PROCEDURE KFP_CKCMP
    PROCEDURE TRANSPORT_SET_CHECK
    Argument Name                  Type                    In/Out Default?
    TS_LIST                        CLOB                    IN
    INCL_CONSTRAINTS               BOOLEAN                 IN     DEFAULT
    FULL_CHECK                     BOOLEAN                 IN     DEFAULT
    SQL> exec dbms_tts.transport_set_check('SRO',true);
    BEGIN dbms_tts.transport_set_check('SRO',true); END;
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SYS.DBMS_TTS" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1

    Are you,by any chance, running Oracle 9i installation code in an Oracle 10g database?
    If so : why?
    As far as I know you can only transport tablespaces to a database of an identical version, so it looks like this is not going to work.
    Sybrand Bakker
    Senior Oracle DBA

  • 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

  • Transportable tablespaces for migration and upgrade

    Hello All,
    I'm trying to find out some theory about transportable tablespace and upgrade in a single step. I've to move a DB from a Windows server to a Linux server. Win is running 10.1 and Linux 10.2 . It's possible to use RMAN to migrate the whole database and then on new node run startup upgrade and catupgrd.sql to upgrade catalog ?
    Should work?
    Thanks
    Raj

    The following doc for TDB says :-
    "Note: TDB requires the same Oracle Database software version on the source and target systems; hence, a database upgrade cannot be accomplished simultaneous with the platform migration. However, best practices for a database upgrade, as documented in the Oracle Upgrade Companion, also apply to any planned database maintenance activity, including platform migration."
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_PlatformMigrationTDB.pdf
    There is also an Oracle Whitepaper called "Database Upgrade Using Transportable Tablespaces: Oracle Database 11g Release 1" but I am still trying to find a copy.

  • 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

  • What is the best way to copy Oracle Transportable Tablespace datafiles betw

    Hi All,
    We are planning to implement Oracle Transportable Tablespace feature to copy huge data (around 900 GB) between the DBs.
    Our plan is to:
    1. Offline the tablespace 1 and tablespace 2 on Linux BOX1.
    2. Take export of these two tablespaces using TTS on Linux BOX1.
    3. zip datafiles of tablespace1 & 2 on Linux BOX1.
    4. Copy the zipped datafiles and dump file to Linux BOX2.
    5. Unzip datafiles of tablespace1 & 2 on Linux BOX1.
    6. Make the tablespaces online on Linux BOX1.
    7. Unzip datafiles of tablespace1 & 2 on Linux BOX2.
    8. Import the dump file to DB on Linux BOX2.
    9. Online the tablespace1 & 2 on Linux BOX2.
    However I do have below queries before I proceed.
    1. Do you see any issue with the above approach?
    2. To improve the copying speed across the network, Do you suggest any solution than rcp and ftp
    Our Environment: Oracle 9.2.0.8 running on Linux 2.6.5-7.308-bigsmp #1 SMP
    Please share your experiences.
    Thanks in advance for your time and suggestions :)
    Krishna Bussu.

    Take a look at Note:77523.1.
    Hope this Helps
    Regards

  • Transportable Tablespace in ASM

    Hi all,
    I want to move one tablespace from a database to another database using the 10g cross platform transportable tablespace.
    My source database is running on Linux 32 bit (Little endian format) and the target database is running on AIX (Big endian format). However both databases use the ASM diskgroup as a storage option.
    Do I need to convert the endian format of the source tablespace datafile to transport to the target database?
    Thanks,

    Because ASM diskgroup consists of one or more raw
    partitions or raw devices, I am wondersing if I still
    have to convert the endian format of datafiles..Interesting question.
    As you said earlier:
    - Linux natively uses Little endian
    - AIX natively uses Big endian
    You imply that perhaps Linux's ASM 'converts' to an 'Oracle neutral-endian' format whenever something is stored in the ASM disk group. Which would make it identical to AIX's ASM format, also 'converted'.
    (I use 'convert' in quotes, as one or the other would not need to get switched, if a specific endian form is maintained.)
    Worth investigating further. Although I am not sure why Oracle would introduce the overhead of conversion to-and-from every storage call.

  • Transportable Tablespace Importing - Failed to read stderr from process

    Hello,
    I'm using the normal EM console packaged with Oracle (10gR2) and am trying to import a tablespace on RedHat rel4.
    I follow the Transport Tablespaces link on the maintenance tab and get the option of export or import and also the place to put the host credentials in. I select import, enter the credentials and click continue and am given this error: Failed to read stderr from process.
    I've tried logging into EM as SYSTEM, SYS, and a DBA account I use and have used both root and the oracle account with no luck.
    Searching hasn't gotten me any useful results here or in metalink so I'm stuck. What am I missing?
    Thanks

    Thank you thank you!
    The short version is I traced it back to an error with /bin/nmo which traced back to a failure to run root.sh when upgrading to 10.2.0.3.
    Thanks again!

  • Transportable tablespaces requirment

    Hello All,
    This is what I am running on.
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - Production
    We have datawarehouse env. and we are thinking of doing transportable tablespace. From what I understand when you do transportable tablespace the block size have to be the same and NLS_chracater? I am sure there are more requirments that I am not aware of. Please if you have a helpful link please let me know. My question is what are the requirments for transportable tablespace?
    Thanks in advance

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1288
    OR
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1007169

  • Transportable tablespace copy during cold backup

    Is it possible to start the copy of the transportable tablespace files while the backup is taking place? Logically it doesn't sound like there should be a conflict, but I wanted to run the idea past you guys first.

    i know that.
    process i want to use is:
    alter tablespace(s) read only.
    export transportable tablespace metadata
    start file copies
    shutdown instance
    startup mount
    perform rman
    startup database
    when copies complete, alter tablespaces read write.
    sorry i wasn't absolutely clear before. it made sense to me when i wrote it.

  • 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 parallism

    Hi,
    We are trying to move tablespaces from one database to another database using transportable tablespace feature. We are using parallism option of the rman convert tablespace command.
    Is there any why to find out how much time each command will take and we are not seeing any log or anthing, to know whether the command is doing anything in database.
    Thanks,
    Prasad

    Hello,
    When you run a RMAN script you may specify a LOG, for instance:
    RMAN @<rman_script> LOG <rman.log>Hope this help.
    best regards,
    Jean-Valentin

  • Transportable Tablespace and Packages/Functions etc

    We are currently experimenting with transportable tablespaces. Is it possible to take functions/packages etc or are you limited to tables/data/triggers.
    Thanks
    Chris

    Transport tablespace is available in version 9.2. In that version you need to put the tablespace in read only mode, export the tablespace metadata, copy the tabalespace files, and then import the metadata. Now, I don't believe this will transport the other objects. Someone else chime in if I am incorrect.
    What you can do is transport the tabelspace and then run an export rows=n
    and then import this empty dump (that will include the procedures/functions.etc) with ignore=y

  • Expdp problem when executing from pl/sql transportable tablespaces

    Hello
    i have a very strange problem for which your assistance is really appreciated. i am applying the transportable tablespaces approach and i have a problem when executing expdp from commandline in comparison to the procedure generated to make the exact same thing.
    more precisely when running:
    expdp etl/etl dumpfile=TBSP090609_DMP.dmp logfile=TBSP090609_DMP.log directory=EXPDP transport_tablespaces=TBSP090609 transport_full_check=y
    the dmp file produced is over 200MB.
    when runng the below pl/sql code the volume produced is around 50MB. any idea what i am missing?
    job_handle :=
    dbms_datapump.OPEN (operation => 'EXPORT',
    job_mode => 'TRANSPORTABLE',
    job_name => 'export_tablespace',
    VERSION => 'COMPATIBLE'
    dbms_datapump.add_file (handle => job_handle,
    filename => dump_file_name,
    DIRECTORY => export_dir_name
    dbms_datapump.set_parameter (handle => job_handle,
    NAME => 'TTS_FULL_CHECK',
    VALUE => 1
    dbms_datapump.metadata_filter (handle => job_handle,
    NAME => 'TABLESPACE_LIST',
    VALUE => '('''
    || tablespace_name
    || ''')'
    dbms_datapump.start_job (job_handle);

    thanx you for your response. the problem was eventually managed to be resolved as follows:
    job_handle :=
    dbms_datapump.OPEN (operation => 'EXPORT',
    job_mode => 'TRANSPORTABLE',
    job_name => 'export_tablespace',
    VERSION => 'COMPATIBLE'
    dbms_datapump.add_file (handle => job_handle,
    filename => dump_file_name,
    DIRECTORY => export_dir_name
    dbms_datapump.set_parameter (handle => job_handle,
    NAME => 'TTS_FULL_CHECK',
    VALUE => 1
    dbms_datapump.metadata_filter (handle => job_handle,
    NAME => 'TABLESPACE_EXPR',
    VALUE => 'IN('''
    || tablespace_name
    || ''')');
    dbms_datapump.start_job (job_handle);

Maybe you are looking for

  • MS ACCESS, NULL, and '%'

    I am using a prepared statement to query my access database which contains personal data first name, last name, address, city, state, etc.... I allow the user to search the database by any of these fields (or any combination of them) by making the de

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts, we are creating webservice data control to invoke bpel process from ADF side. When I run the application and inovoke the bpel every thing is working fine. But when we are changeing the instances from DEV to SIT the bpel url(hostname an

  • Error while executing function

    hiii all, hope doing welll iam getting error while executing the function and error is ORA-00932: inconsistent datatypes: expected NUMBER got AMPLEX_GRAND1.SYS_PLSQL_75185_9_1

  • Pulseaudio - user settings and microphone auto adjustment

    Hi all, Few questions if I may - I have search the wiki/forum but couldn't find any answers. When recording my webcam with ffmpeg along with my webcam microphone the recording level of the microphone is automatically adjusted by pulseaudio (I am assu

  • Help, my mini REFUSES to shut down/restart

    Hey guys. I'm looking for some help figuring out what is making my mini hang on shut down. My icons all dissappear and then I just see the osx backdrop. From there the system refuses to take any keyboard input, though I can move the mouse around. It