Database 11g expdp, impdp in a 10g database for

Hello

I would like to export an Oracle 11 g server to import it into an oracle database 10 g, which method is correct:

1 - expdp (binary 10g)

2 - expdp (binary 11 g) using the VERSION = 10.2 setting

Thank you

second method, you must specify the parameter version = 10.2 while using the commands the expdp and impdp.

Please refer to this nice blog post: http://dbaoracledba.blogspot.com/2012/07/version-parameter-in-oracle-expdp-and.html

Kind regards

Tags: Database

Similar Questions

  • expdp/impdp method in the database upgrade from 11.2.0.4 to 12.1.0.2 an error in logic of "command line"?

    Hi DBA:

    We are evaluating different methods of upgrading 11 GR 2 DB to 12 c (12.1.0.2) this year, it is very important for us to use the right method.  It was reported that when DB version was 9i and has been updated to 11g, there were some order of tables 'line' was wrong when execute SELECT statements in application (Java application) - at the moment I didn't if it is ' select * from... "or any specific part with a"where"clause, and what type of data was wrong (maybe sequence CLOB data, etc.).

    I think I know, ' exp/imp', "expdp/impdp" logical backup of DB methods.  Therefore, Oracle automatically import data and fix it in each table.  If no error in impdp connects after it's over, should not be any mistake, right?

    If the use of the method of 'creates a new data + expdp/impdp basis for schemas user' 11g 12 c port data, questions:

    1. this method will lead to erroneous sequence data when ordering?  If so, how to re - generate the sequence number?

    2. this method can bring CLOB, BLOB data and without any errors?  If error, how to detect and repair?

    I use the same method in the 10.2.0.5 to 11g port data, no problem.

    I'll keep this thread posted after getting more information from application.

    Thank you very much!

    Dania

    INSERT... SELECT, CREATE TABLE in the SELECT and Export-Import will all "re-organize" the table by assigning new blocks.

    In place--update (using DBUA or command line) don't re-create the user tables (although it DOES not rebuild the data dictionary tables).  Therefore, does not change the physical location of lines for user tables.  However, there is no guarantee that a further reason for INSERT, DELETE, UPDATE instructions does not change the physical location of ranks.  Nor is it a guarantee that a SELECT statement will return always stored in the same order unless an ORDER BY is specified explicitly.

    If you export the data while it is still used, you don't avoid update sequences in the source database.  Usually results in a mismatching number sequence between the source database and the new database (imported). In fact, even the numbers may be different, unless you use CONSISTENT or FLASHBACK_SCN.  (These two options in exp / expdp do NOT prevent update sequences).   The right way to manage sequences is to rebuild or increase them in data imported with the values in the data source, once the import is complete.

    Hemant K Collette

  • Expdp/impdp can be used to upgrade the database (instead of DBUA) R12

    Hi all

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Thanks in advance!

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    I do not. You must upgrade, and then convert the characters or convert then upgrade - you can save an SR to confirm this with the support of the Oracle.

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    Only DBUA is the way supported in Oracle EBS instance level. Please see this similar thread - Oracle EBS 11i Database Upgrade to 11 GR 2 - Upgrade method Support Manual is?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Please see the documentation referenced in this thread - ADADMIN convert character set CUSTOM_TOP

    Thank you
    Hussein

  • expdp/impdp: constraints in the child-Parent relationship

    Hello

    I have a table parent1 and child1, child2 and chld3 tables have foreign key created on this parent1.

    Now, I want to do a delete on parent1. But as the number of records is very high on parent1, we go with expdp / impdp with option querry.

    I took the expdp parent1 level query. Now I dropped parent1 with option of cascade constraints and all foreign keys created by child1, 2 and 3 that parent1 references are automatically deleted.

    Now, if I have the impdp to the query of fire level dump file, are these foreign key constraints will be created automatically on child1, 2 and 3 or I need to manually recreate it?

    Kind regards

    ANU

    Hello
    The CF will not be in the dumpfile - see the code example below where I generate a sqlfile following pretty much the process that you would have done. This is because FK belongs to the DDL for the child table not the parent.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    
    OPS$ORACLE@EMZA3>create table a (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table a add primary key (col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>create table b (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table b add constraint x foreign key (col1) references a(col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>
    
    EMZA3:[/oracle/11.2.0.1.2.DB/bin]# expdp / include=TABLE:\"=\'A\'\"
    
    Export: Release 11.2.0.3.0 - Production on Fri May 17 15:45:50 2013
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04":  /******** include=TABLE:"='A'"
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    . . exported "OPS$ORACLE"."A"                                0 KB       0 rows
    Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_04 is:
      /oracle/11.2.0.3.0.DB/rdbms/log/expdat.dmp
    Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully completed at 15:45:58
    
    Import: Release 11.2.0.3.0 - Production on Fri May 17 15:46:16 2013
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    Master table "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "OPS$ORACLE"."SYS_SQL_FILE_FULL_01":  /******** sqlfile=a.sql
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Job "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully completed at 15:46:17
    
    -- CONNECT OPS$ORACLE
    ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
    -- new object type path: SCHEMA_EXPORT/TABLE/TABLE
    CREATE TABLE "OPS$ORACLE"."A"
       (    "COL1" NUMBER
       ) SEGMENT CREATION IMMEDIATE
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
     NOCOMPRESS LOGGING
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM" ;
    -- new object type path: SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ALTER TABLE "OPS$ORACLE"."A" ADD PRIMARY KEY ("COL1")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM"  ENABLE;
    -- new object type path: SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    DECLARE I_N VARCHAR2(60);
      I_O VARCHAR2(60);
      NV VARCHAR2(1);
      c DBMS_METADATA.T_VAR_COLL;
      df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';
     stmt varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,NULL,:14,:15,NULL,:16,:17)';
    BEGIN
      DELETE FROM "SYS"."IMPDP_STATS";
      c(1) := 'COL1';
    
      DBMS_METADATA.GET_STAT_INDNAME('OPS$ORACLE','A',c,1,i_o,i_n);
      EXECUTE IMMEDIATE stmt USING 0,I_N,NV,NV,I_O,0,0,0,0,0,0,0,0,NV,NV,TO_DATE('2013-05-17 15:43:24',df),NV;
    
      DBMS_STATS.IMPORT_INDEX_STATS('"' || i_o || '"','"' || i_n || '"',NULL,'"IMPDP_STATS"',NULL,'"SYS"');
      DELETE FROM "SYS"."IMPDP_STATS";
    END;
    /
    

    Kind regards
    Harry

    http://dbaharrison.blogspot.com/

  • IMP/exp expdp/impdp vs

    Hi all;
    which is better in performance the traditional exp/imp or expdp/impdp?

    Hello

    Oracle Data Pump is a more recent, rapid and flexible alternative to utilities 'exp' and 'imp' used in previous versions of Oracle. In addition to export and import of basic feature data pump provides a PL/SQL API and support for external tables

    If Oracle is recommended for all 10g databases and more use of Data Pump and pre 10g use old exp/imp :)

  • problem in expdp/impdp

    Hi, I'm currently expdp/impdp but every time the same mistakes. OS win Server 03 on ORACLE 10 g.

    errors:

    C:\Documents and Settings\Administrateur > impdp rΘpertoire "/ as sysdba" = "data_pump_dir" dumpfile = logfile = scott.log'scott.dmp ' '

    Import: Release 10.2.0.3.0 - Production on Tuesday, March 25, 2014 10:43:18

    Copyright (c) 2003, 2005, Oracle.  All rights reserved.

    Connected to: Oracle Database 10 g Enterprise Edition Release 10.2.0.3.0 - Production

    With partitioning, OLAP and Data Mining options

    ORA-31626: there is no job

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. "DBMS_INTERNAL_LOGSTDBY '

    ORA-06512: at "SYS." "KUPV$ FT", line 834

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. DBMS_INTERNAL_LOGSTDBY ".

    SQL > alter the body of package DBMS_INTERNAL_LOGSTDBY compilation;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > show error

    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY errors:

    LINE/COL ERROR

    -------- -----------------------------------------------------------------

    2563/4 PL/SQL: statement ignored

    2563/20 PL/SQL: ORA-00942: table or view does not exist

    2625/3 PL/SQL: statement ignored

    2625/19 PL/SQL: ORA-00942: table or view does not exist

    2809/2 PL/SQL: statement ignored

    2809/13 PL/SQL: ORA-00942: table or view does not exist

    HELP ME PLEASE

    Since you're using Oracle 10 g version...

    Check if you have columns that contain "TEMESTAMP (6) ' data by using this query type:"

    Select dba_tab_columns owner, table_name, column_name data_type where column_name = 'TIMESTAMP' and data_type like '% TIMESTAMP ';

    If the previous query lists for you a list of tables, you must do the following for each table:

    ALTER table system.table_name change (date timestamp);

    Then recompile the package "DBMS_INTERNAL_LOGSTDBY" again.

    I hope this helps.

    Kind regards

  • Schema of database for the processing of the results

    Hi all

    I have a question on the results of teststep registration in the database. I use the generic recordset as my database for the recording of data.

    In my database (SQL Server), there are the following diagrams: dbo, dbtest1, dbtest2. I created all the tables of results (UUT_Result, Step_Result etc...) of the generic Recordset object in all schemas. Therefore, to display the results in the table of Step_Result, I specify the schema as well as the name of the table, for example SELECT * FROM dbtest1. Step_Result.

    Is there a way to tell Teststand to save the result in another schema (dbo, dbtest1, dbtest2) programmatically?

    Yours sincerely,

    chati

    Yes, the tool is easier to visualize what makes SQL. A user can access patterns as much as they have permission for. The problem is that, in order to specify the schema, you must assign the rating on your SQL commands. I don't know of an easy way to do this in Teststand.

    If you manually create the SQL commands is noted:

    [Database]. [Schema]. [Table]

    It is easier to implement multiple user names and to use the default schema to define.

    You can also have a database that is different for each category of journaling (and no need to use patterns at all).

    A lot of good information here:

    https://TechNet.Microsoft.com/en-us/library/dd283095 (v = sql.100) .aspx

  • change of database for processing result

    Hello everyone,

    I have a question regarding the change of the use of the database for the processing of the result. My environment is 2014 Teststand, LabView 2014.

    I need to be able to change the database used to store the result data programmatically. I use the simple example of the user interface provided by TestStand as a starting point to build the user interface. As I do this is by creating a global variable of station (StationGlobals.DBName) in the TestStand. The user can select its database via a combo box in the user interface. When users perform a sequence, Teststand asked to the user interface, the name of the database selected by the user (using UIMessage).

    It does not work like I wanted. It is better described the symptom using the following use cases:

    1. start the user interface

    2. choose a database (DB - A)

    3. run a sequence

    4. check the result data tables in DB - A. This works.

    5. choose another database (DB - B)

    6. run the same sequence

    7. check the result data tables in DB - B. They are not DB - B.

    8. check the result data tables in DB - A. They are in DB - A.

    It seems that the global variable of the station can be passed to the configuration database before you start to execute any order. The next event in the sequence, it does not take effect more.

    I wonder if I need to change a reminder to operate correctly.

    No idea why it behaves in this way? Here is a screenshot of my setup of database:

    Thanks in advance for any pointer.

    Yours,

    chati

    Hello Warren_Scott,

    apparently in my case, when I change the database between runs, I can simply turn off the option "Share Data Link between executions" in the result of treatment-> database option and it will work. Thanks for your suggestions.

    Yours,

    chati

  • How to make a database for an application

    How to make a database for an application. I can create it outside somewhere in my computer and then copy it into the current folder? or is there a standard way?

    Yes you can do it outside if you wish, two programs I've used SQLite Browser and sqlitestudio two do work but sqlitestudio has more features and is the one I now use exclusively.

    There are many others, however, simply search for sqlite application in google.

  • A web application from merger can also run on Smartphones? So what of the database for mobile?

    Mr President.

    A web application from merger can also run on Smartphones? So what of the database for mobile?

    Concerning

    Any web application can run on smart phone because you access this browser so no need of database or application server on your mobile phone

    It's the same access to a Web site on mobile

    If you are talking about the mobile app

    check - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html

    Ashish

  • The use of tables of database for authentication in the ADF

    Hello

    I need to use my user table in the database for authentication in ADF (adf 11.1.2).

    I have 3 categories: agent admin and user is unique, each has its own page, logging, the application checks the type of user and directs its jsf task or the page of the jsf page flow.

    I have a user with the type attribute table

    HOW CAN I MAKE THIS PRAYER.

    Hello

    See links below.

    Whatever Fusion Middleware: Tables database user to implement authentication in the ADF

    Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider

  • How can I make a database for my site (muse)?

    How can I make a database for my site (muse)?

    locking this post as it seems to be a double post

    How to create a base gives pour my website (muse)?

  • Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical users to end dry change

    Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical end users EASILY change the sections of the web site.  Can this work?  Thank you.

    I would like some ideas.

    A CMS is the standard solution in the industry today. The most common environment is LAMP (LINUX, Apache, MySQL, PHP).

    Some of us to write custom CMS systems for a living. I concentrate on CMS for retirement centers. There are all kinds of solutions CMS available ranging from generalist, off-the-shelf CMS like WordPress, completely custom, with a lot of opportunities in the meantime.

  • Accelerate exp/imp or expdp/impdp

    Hello

    Is it possible to speed up and exp/imp or expdp/impdp that already works? Is is possible to speed up a run RMAN backup or restore RMAN process?

    Kind regards

    007

    To accelerate a datapump export market and import you can attach to employment and increase the level of parallelism... impdp attach = job

    I don't know any way to speed up a running RMAN backup.

    To expedite an RMAN restore, you can kill the restoration and re - run using several channels.  The restoration should take up where he left off and can run faster with many channels.  It is relevant only if you have several items from backup.

  • How to check the growth of the database for a database on ASM?

    Hello

    I have been using the following script to check the growth of the database (for DBs on file system):
    SELECT b.tsname tablespace_name ,
      MAX(b.used_size_mb) cur_used_size_mb ,
      ROUND(AVG(inc_used_size_mb),2)avg_increas_mb
    FROM
      (SELECT a.days,
        a.tsname ,
        used_size_mb ,
        used_size_mb - LAG (used_size_mb,1) OVER ( PARTITION BY a.tsname ORDER BY a.tsname,a.days) inc_used_size_mb
      FROM
        (SELECT TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY') days ,
          ts.tsname ,
          MAX(ROUND((tsu.tablespace_usedsize* dt.block_size )/(1024*1024),2)) used_size_mb
        FROM dba_hist_tbspc_space_usage tsu ,
          dba_hist_tablespace_stat ts ,
          dba_hist_snapshot sp,
          dba_tablespaces dt
        WHERE tsu.tablespace_id    = ts.ts#
        AND tsu.snap_id            = sp.snap_id
        AND ts.tsname              = dt.tablespace_name
        AND sp.begin_interval_time > sysdate-7
        GROUP BY TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY'),
          ts.tsname
        ORDER BY ts.tsname,
          days
        ) a
      ) b
    GROUP BY b.tsname
    ORDER BY b.tsname;
    And I think that he always gave me good results until I ran this script on a database (10.2.0.5) on ASM.

    Is it because the databases on the ASM are maintaied differently, OR do most proabbly there was no activity on this database in the last 7 days? I even ran this query for last 90/180 / day and it is me again after results:
    TABLESPACE_NAME                CUR_USED_SIZE_MB AVG_INCREAS_MB
    ------------------------------ ---------------- --------------
    SYSAUX                                   574.38            .36
    SYSTEM                                   514.69              0
    DATA                                    1593.25              0
    IDX                                         .06              0
    UNDOTBS1                                  69.06          -3.84
    USERS                                     96.13              0
    Thanks in advance!

    I have no reason to believe tablespaces under ASM are maintained differently, so the most likely explanation is the change in the activity of the DB.

    What is your AWR retention? The default value is 7 days, so if yours is set to the default value, and then by running the query for 90/180 days you would not give more information.

    If you want to get the output of your scripts, you may need to adjust the AWR retention and your tablespace SYSAUX respectively.

    If the DB is managed by Oracle Enterprise Manager (OEM), you can make tablespace forecast based on the measurements taken by the OEM. I did a presentation on this (NYOUG, VirtaThon) just now:
    http://iiotzov.files.WordPress.com/2011/08/iotzov_oem_repository.PDF
    http://iiotzov.files.WordPress.com/2012/05/OEM-repository-a-second-look.doc

    Lordane Iotzov

Maybe you are looking for