Transportable tablespace accross different oracle versions

Hi
Do I need same oracle versions if I want to transport tablespaces ?
i.e Can I transport tablespaces from oracle9i to oracle 11g ? or from oracle 10g to oracle 11g ?
I read the documents however Im still confused.

Thanks, I have read the document and notice that from oracle 10g and onwards I can transport tablespaces accross different oracle versions.
I think we can change the endian format via rman hence no need to have same endian format
"Beginning with the Oracle10g database, a tablespace can always be transported to a database with the same or higher compatibility setting, whether the target database is on the same or a different platform."

Similar Messages

  • Different Oracle versions Replication?

    Hello,
    We want to create a replication in our laptop.
    The server has oracle 9i rel.1. In the laptop we want to install oracle 9i rel. 2.
    Can we replicate part of the database using different Oracle DBMS versions?
    As a comment: The replication is SDE information.
    Thanks,

    Hi;
    Please see:
    Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]
    Re: Replication between 8i and 10g
    Regard
    Helios

  • DBConnect with two different oracle versions

    Hullo folks,
    I've been looking for threads concerning the use of SAP BI's DBConnect tool with multiple external oracle databases.
    My client is currently using BI 3.5 and we have successfully used DBConnect to extract information from an external Oracle 9.2.0.5.0 database (btw BW uses the same oracle version).
    Currently my customer requests to extract information from a new external non-sap application. This application will be using an oracle database as well, but it will use the latest oracle version, 10.
    I know that in the past it wasn't possible to use DBConnect with different oracle versions as the differences were to big. I wonder whether this is also the case with the oracle 9 and 10 versions. Would it be possible to use both versions and extract the data with DBConnect? Or are the changes too big and SAP BW can only pick one of these versions? Perhaps there's a workaround? I don't know, and I'm hoping some of you know something.
    Thanks in advance.

    Thanks for your answer,
    though this doesn't answer my question. Yes, I know I'll have to create a different sourcesystem for the new oracle database.
    However, I can only use one ini file for Oracle in DBConnect. In the past it wasn't possible to have active connections with different versions of oracle databases (you can only have one file for oracle installed in DBConnect).
    The question is, whether it's possible to have a connection with two source systems where one uses Oracle 10 and the other Oracle 9... and if it's possible which file should be used in DBConnect...
    Remi

  • Transports between different Oracle versions

    Hello Experts,
    Is it possible to have DEV, QAS on Oracle 10.2.0.2 and PRD on Oracle 9.2.0.8? Will the transports work?
    Thanks & Regards,
    tamilboyus

    > Is it possible to have DEV, QAS on Oracle 10.2.0.2 and PRD on Oracle 9.2.0.8? Will the transports work?
    Sure - the whole transport thing works database independently.
    But you should really move on with your Oracle versions there - 10.2.0.2: old, 9.2.0.8: damn old...
    regards,
    Lars

  • Transportable tablespace procedure in oracle 9i

    Hi all,
    We are using oracle 9.2.0.7 version in our production.In that one tablespace is having 160GB but objects size is 60Gb,am unable to get back the remaining space.So we are planning for either creating new tablespace and moving all the objects to that and dropping earlier one or transportable tablespace(not sure whether it is possible)
    So please suggest me the better approch. help me out to transport a tablespace procedure
    Thanks a lot

    exp/imp is the other option.
    Or you can use this query find out the object (table/index) on high water mark and just move them.
    select a.tablespace_name
           ,a.file_name
           ,(b.maximum+c.blocks-1)*d.db_block_size highwater
    from   dba_data_files a
           ,(select file_id,max(block_id) maximum
             from dba_extents
             group by file_id) b
           ,dba_extents c
           ,(select value db_block_size
             from v$parameter
             where name='db_block_size') d
    where a.file_id  = b.file_id
    and   c.file_id  = b.file_id
    and   c.block_id = b.maximum
    order by a.tablespace_name,a.file_name
    /

  • ORA-00979: not a GROUP BY expression on different oracle version

    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expression
    SELECT COUNT(*) OVER() CNT,
    COUNT(member_id) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent,
    date_order,
    (COUNT(member_id) -
    (Select Count( *)
    FROM oracjoc.email_alert_bounce_backs bb
    WHERE aa.journal_id = bb.journal_id
    AND aa.volume_id = bb.volume_id
    AND aa.issue_id = bb.issue_id
    AND aa.etoc_type = bb.etoc_type
    AND aa.date_sent = TO_CHAR(bb.date_sent, 'ddMonYYYY')
    )) delivered
    FROM
    (SELECT member_id,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    TO_CHAR(date_sent, 'ddMonyyyy') date_sent,
    To_Number(To_Char(Date_Sent, 'yyyymmdd')) Date_Order
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id,
    Volume_Id,
    Issue_Id,
    Etoc_Type,
    Current_Registered_Users,
    Date_Order,
    Date_Sent
    ORDER BY date_order DESC
    Oracle version:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production: I got failed result on this one
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production: sql was successfully executed.
    Can someone explain is this still a part of bug on non enterprise edition?, TIA!

    919272 wrote:
    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expressionRead the full error message. It has also a row and a column number specified. Use this number to find out which column gives you the trouble.
    I see that there are several not needed date to char conversions. I could imaging that they confuse the query merge mechanism. Other than that: try to strip down the query to the smallest posisble set of colum combination. So that you can see where the error comes from.
    SELECT COUNT(*) OVER() CNT,
    COUNT(*) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent2,
    (COUNT(*) -
      (Select Count( *)
        FROM oracjoc.email_alert_bounce_backs bb
        WHERE aa.journal_id = bb.journal_id
        AND aa.volume_id = bb.volume_id
        AND aa.issue_id = bb.issue_id
        AND aa.etoc_type = bb.etoc_type
        AND aa.date_sent2 = trunc(bb.date_sent)
        )) delivered
    FROM  (SELECT member_id, etoc_type, journal_id, volume_id, issue_id, current_registered_users,
           trunc(date_sent) date_sent2,
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id, Volume_Id, Issue_Id, Etoc_Type, Current_Registered_Users, Date_Sent2
    ORDER BY Date_Sent2 DESC

  • Dataguard between different oracle versions

    Can I dataguard an 11.1.0.6 database to a backup 11.2.0.1 database

    For rolling upgrade purposes yes. But only to a Logical standby. And you can also use the transient Logical standby rolling upgrade as well if you are a Physical standby user.
    See the following:
    Mixed Oracle Version support with Data Guard Redo Transport Services (Doc ID 785347.1) on Oracle Support
    MAA Rolling Upgrade paper at http://www.oracle.com/technology/deploy/availability/maa/maa_wp_11g_upgrades_made_easy.pdf
    Transient Logical Standby Rolling Upgrade MAA paper at http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11g_transientlogicalrollingupgrade.pdf
    Larry

  • Dbms_xmldom.writetoclob.different result on different oracle version.

    Hi all,
    I have a problem using dbms_xmldom.
    please give me an advise.
    take a look here.
    ora-06502 when using xmltype
    thanks

    Thasleem;
    This will depend upon type of Standby.
    For Logical is is possible, for Physical no.
    Here's a supporting MOS document :
    Mixed Oracle Version support with Data Guard Redo Transport Services [ID 785347.1]
    Best Regards
    mseberg

  • Different plsql for different Oracle versions

    Hi everyone,
    I am working on a plsql script which may be run on multiple databases. Unfortunately, I have a need to run one query type if the version is 10g, and another if it is 9i. The 10g query is preferable for the type & amount of information it returns, but 9i does not have the same level of support. I wrote the below (dumbed down for posting purposes) to do this:
    spool sqlLog.txt append
    set heading off;
    SET NEWPAGE 0;
    SET SPACE 0;
    SET LINESIZE 32767;
    SET PAGESIZE 0;
    --SET ECHO OFF;
    SET FEEDBACK OFF;
    SET VERIFY OFF;
    SET HEADING OFF;
    SET MARKUP HTML OFF;
    SET TERMOUT OFF;
    SET TRIMOUT ON;
    SET TRIMSPOOL ON;
    SET WRAP OFF ;
    SET LONG 4000;
    SET LONGCHUNKSIZE 500;
    set serverout on;
    set serveroutput on;
    declare     
    ver VARCHAR2(64);
    BEGIN
    select v.version into ver from product_component_version v where product like '%Oracle%';
    ver:=substr(ver,0,2); --remove anything but the highest version number, a.k.a. 9 or 10.
    dbms_output.put_line('ver: '||ver);
    --10g
    IF to_number(ver)>=10
    THEN
         for csr_10g in (SELECT sql_fulltext, a.parsing_schema_name, b.name, b.value_string
                             FROM V$SQL a left outer join v$sql_bind_capture b ON a.SQL_ID = b.SQL_ID)
              loop
                dbms_output.put_line(csr_10g.sql_fulltext||';'|| csr_10g.parsing_schema_name||';'|| csr_10g.name||';'|| csr_10g.value_string);
             end loop;
    ELSE
    --9i
         for csr_9i in (SELECT a.sql_Text, b.Schemaname
                             FROM v$sqlarea a left outer join v$session b ON a.parsing_schema_id=b.schema#
              loop
                dbms_output.put_line(csr_9i.sql_text||';'|| csr_9i.schemaname||';');
             end loop;
    END IF;
    END;
    --run;
    spool off;
    exit;If I run this on a 10g database, it works correctly, spooling the query return to a file.
    If I run this on a 9i database, it will not run, and i get these errors:
                             FROM V$SQL a left outer join v$sql_bind_capture b ON a.SQL_ID = b.SQL_ID --combine to also find the bound variables used
    ERROR at line 13:
    ORA-06550: line 13, column 35:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 12, column 17:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 27, column 30:
    PLS-00364: loop index variable 'CSR_10G' use is invalid
    ORA-06550: line 27, column 9:
    PL/SQL: Statement ignored
    Am I doing something wrong with my syntax, or is there another way to go about this?
    Thanks!

    Hi,
    Dynamic SQL, like John suggested, might be the most elegant solution, but here are some others to consider:
    (1) Create dummy objects. Your code guarantees that you'll never get a run-time error trying to query v$sql in Oracle 9, but the problem is that you're getting a compile-time error just by referencing it. So create a v$sql: a dummy table in your own schema, a synonym to the Oracle 10 data dictionary via a database link, anything just so it compiles.
    (2) Create real objects. For example, in your Oracle 9 database, create a view called v$sql, based on v$sqlarea and v$session, that has all the same columns you use in Oracle 10. If you can do this, you won't even need an IF statement in your PL/SQL; the same code that runs against the data dictionary v$sql in Oracle 10 will run against your own schema's v$sql in Oracle 9.
    (3) Isolate the problems. Write two different versions of a package, one for each version, and put all version-dependent code in the package. In most of your code, call the procedure to do the version-dependent stuff. For example, don't open a cursor in your program: instead, call the package to open a cursor.
    (4) Comment Out. Klugy but cute. Write your PL/SQL without IF statements, like this:
    BEGIN
    &v10     for csr_10g in (SELECT sql_fulltext, a.parsing_schema_name, b.name, b.value_string
    &v10                         FROM V$SQL a left outer
    &v9     for csr_9i in (SELECT a.sql_Text, b.Schemaname
    &v9                         FROM v$sqlarea a left outer join v$session b ON a.parsing_schema_id=b.schema#
    &v9                                                                                  join v$sql_bind_capture b ON a.SQL_ID = b.SQL_ID)
              loop
    &v10            dbms_output.put_line(csr_10g.sql_fulltext||';'|| csr_10g.parsing_schema_name||';'|| csr_10g.name||';'|| csr_10g.value_string);
    &v9            dbms_output.put_line(csr_9i.sql_text||';'|| csr_9i.schemaname||';');
             end loop;
    END;Compile your PL/SQL in SQL*Plus.
    Define two substitution variables: v10 and v9.
    In Oracle 10, v10 make " " and make v9 "--".
    In Oracle 9, v10 make "--" and make v9 " ".
    You can do the assignments on the fly with the SQL*Plus "COLUMN ... NEW_VALUE" command.
    In either database, code that only works in the other version will be commented out. Your code will look like hell (good spacing and comments will make it less hard to read), but it will compile and work.
    None of these ideas are mutually exclusive. You might want to do dynamic SQL in some places, and use on dummy objects in others, for example.

  • Shared Listener with different oracle versions

    Hi,
    I have configured the following shared listener for two databases running with different versions.
    I have started the O02TXN3-9i along with the shared listener and then listener was started with 9i version and then I brought up the O01TXN3 -10g.
    Please let me know whether I can connect to the 10g database O01TXN3 remotely with shared listener.
    Note: Please find listener and oratab files below.
    Your early response is much appreciated.
    Database O01TXN3 with 10g
    Database O02TXN3 with 9i
    ==== Listener.ora File ======
    TNS_DTXN03 =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3)
    (ADDRESS =
    (COMMUNITY = tcpcom)
    (PROTOCOL = TCP)
    (Host = dtxn03)
    (Port = 1525)
    STARTUP_WAIT_TIME_TNS_DTXN03 = 0
    CONNECT_TIMEOUT_TNS_DTXN03 = 10
    LOG_DIRECTORY_TNS_DTXN03 =/dtxn03/txn/oracle/admin
    TRACE_LEVEL_TNS_DTXN03 = OFF
    SID_LIST_TNS_DTXN03 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = O01TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/10.2.0-64)
    (SID_DESC =
    (SID_NAME = O02TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/9.2.0-64)
    # Added to get rid of the "inbound connection timed out (ORA-3136)"
    INBOUND_CONNECT_TIMEOUT_TNS_DTXN03 = 180
    ==
    Oratab:
    #LISTENER:/dtxn03/txn/oracle/9.2.0-64
    O01TXN3:/dtxn03/txn/oracle/10.2.0-64:Y
    O02TXN3:/dtxn03/txn/oracle/9.2.0-64:Y

    As a general rule, only one listener is required for a machine as long as all database versions are currently supported. (In other words one listener for Oracle7 and Oracle11g will not work.)
    As a general rule, an old listener MAY not be able to handle the features of the newer database (such as transferring blobs was a limitation in Oracle8). Therefore use the newest listener to handle all the databases.
    As a general rule, listeners can be considered independent of databases in a sense similar as ASM. Therefore it's not a bad idea to have a separate ORACLE_HOME specifically to install the listener. This is especially useful if you have multiple databases with differing service level agreements,
    I'd want to see
    1) the output of lsnrctl status
    2) any console session stuff and copy/paste to be surrounded by preview tages as described in the FAQ (http://www.oracle.com/technology/forums/faq.html#q14)

  • Install client for two different oracle versions

    hello, right now I'm involved in two different projects, which work with Oracle 9i and 10g, and I need to access both databases from the same computer. My question is if it's possible to install the client software for both versions without problems.
    Thank you

    The problem is that the client for 9i is already installed in that machine, and it can't be uninstalled. So I need to install 10g client software, but without uninstalling the other one, only if this operation doesn't generate any conflicts. Is there an official Oracle document or somethign similar about this topic?

  • Dbstart & different oracle versions

    I have a couple different versions of oracle running on one box (9.2.0.4, 9.2.0.7 & 10.2.0.2).
    The dbstart being called is in the 9.2.0.4 directory. It failed to start the instances in 9.2.0.7 when the machine was last restarted.
    If I call the 10.2.0.2 dbstart, will it start all the instances (for all 3 versions)?
    Also, is it true that 9.2.0.4 dbstart will not start 9.2.0.7?
    I don't have a reliable way to test this as I can't restart nodes.
    Thanks!

    Which ever dbstart you call, it will look for oratab to choose the correct ORACLE_HOME, ORACLE_SID etc..
    Therefore, all dbstart should work for all instances on the server, if you make the oratab entry correct.
    # On Solaris
    # ORATAB=/var/opt/oracle/oratab
    # All other UNIX platforms
    # ORATAB=/etc/oratab
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    #

  • Oracle 10gR2 - Any way to speed up Transportable Tablespace Import?

    I have a nightly process that uses expdp/impdp with Transportable Tablespace option to copy a full schema from one database to another. This process was initially done with just expdp/impdp, however the creation of the indexes started to slow down the process at which time I switched to using Transportable Tablespace.
    In the last 3 months, the number of objects in the schema has not changes however the amount of data has increased 15.73%. At the same time, the Transportable Tablespace impdp has increased 30.77% in time to process.
    Is there any way to speed up a Transportable Tablespace impdp in Oracle 10gR2? The docs show that I cannot use parallel with TTS. I have excluded STATISTICS in the export.
    Eventually I will be moving away from doing this TTS expdp/impdp, however for now I need to do what I can to contain the amount of time it takes to process.
    Environment: Oracle 10.2.0.4 (source and destination) on Sun Solaris SPARC v10. We are not using ASM currently. Tablespace is 6 datafiles for a total of 87.5GB, 791 tables, 1924 indexes, 1773 triggers, and 10 LOBs.
    Any help would be greatly appreciated.
    Thanks!
    -Vorpel

    My reading of this thread was that there was a need to be able to do offline setups when the client had lost oracle lite (we get this on PDAs all the time when they go totally dead), so the CD install is something that can be sent out.
    Any install (CD or otherwise) will be empty in terms of applications and data, not much you can do about that on a CD, but depending on the type of device and the storage possibilities you have you can secure the database and application files seperately. for example on a PDA using the external SD or flash for the data and file storage will keep them when the orace directory is lost from main storage and therefore all thet is needed after the oracle lite recovery is to recreate the odbc file (and possibly polite if you have special parameters). The setting of the crr flags for 'real' data on the server is a trick to bring the database up to date without a total rebuild.
    NOTE if you use SD cards etc. on PDAs/small devices, beware of windows ce/mobile power up differential between main memory and external storage. If you power down in the middle of an update or query, you can get device read/write errors when the device powers up due to processing continuing before the storage media is active

  • 10gR2 Transportable Tablespaces Certified for EBS 11i for Migration

    Guys,
    Good news is Now 10gR2 Transportable Tablespaces Certified for EBS 11i,
    Here is Steven chan blog link, I know personally how much i struggled with expdp and impdp on linux, it sounds good news who is migrating 11i .
    http://blogs.oracle.com/stevenChan/2010/04/10gr2_xtts_ebs11i.html?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+OracleE-BusinessSuiteTechnology+%28Oracle+E-Business+Suite+Technology%29

    To migrate the database you can either use Transportable tablespaces or export/import.
    Transportable Tablespaces
    New Source Database Added for EBS 12 + 11gR2 Transportable Tablespaces
    https://blogs.oracle.com/stevenChan/entry/new_source_database_added_for
    New Source Databases Added for Transportable Tablespaces + EBS 11i
    https://blogs.oracle.com/stevenChan/entry/new_source_databases_added_for
    Database Migration using 11gR2 Transportable Tablespaces Now Certified for EBS 12
    https://blogs.oracle.com/stevenChan/entry/database_migration_using_11gr2_transportable
    Export/Import
    Export/import process for 12.0 or 12.1 using 11gR1 or 11gR2 (Doc ID 741818.1)
    Export/import notes on Applications 11i Database 11g (Doc ID 557738.1)
    If your application will remain on the same OS (which is different than the target database OS) then please also see:
    Oracle EBS R12 with Database Tier Only Platform on Oracle Database 11.2.0 (Doc ID 456347.1)
    Using Oracle EBS with a Split Configuration Database Tier on 11gR2 (Doc ID 946413.1)
    Oracle E-Business Suite Upgrades and Platform Migration (Doc ID 1377213.1)
    Thanks,
    Hussein

  • 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

Maybe you are looking for

  • Open Sales Order quantity & value

    Hi, We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give

  • Memory leak in Skype 7.4.0.102 on Win 7 x64

    Ever since upgrading to the latest version of Skype on my Win 7 x64 box, I've had nothing but issues with Skype having a huge memory leak.  It'll start out running fine when I boot up, hovering around 141K of memory usage (even though I think that's

  • DMEE - Structure paid line item counter

    Dear Friends, We have created DMEE structure as per bank format.Bank will print payment advice also by using this txt file. In payment advice part there are 3 line start from "H" which is header part of payment advice and will count like 1, 2 ,3 belo

  • Music Videos - have sound but video does not play in windows 7

    I have windows 7 and the latest version of Itunes. Most everything seems to be working ok, but when i try to play a music video i get the sound ok, but the video never starts, it just seems to stay on the first screen shot and never changes, even whe

  • T440s - removable battery is not charged

    Dear All, I found today that my T440s is not charging removable battery. When I click on battery icon on the Windows tray, the system shows 100% charged (in-built battery is fully charged), but no information about removable battery (2 days ago 2 bat