expdp, impdp in 12 c and 10g

Hi all

We have oracle 10g release 2 on windows environment. We want to take backup of this database using expdp and import it into oracle 12 c using impdp.

How to do this?

I use the following approach

on 10g database (production):

expdp complete system/password@orcl directory = y = TEST_DIR dumpfile = fulldb_12_jan_2016.dmp logfile = fulldb_12_jan_2016.log

on 12 c database (test):

Impdp complete system/password@orcl directory = y = TEST_DIR dumpfile = fulldb_12_jan_2016.dmp logfile = fulldb_12_jan_2016.log

the problem is that we need to create storage space and data files. I already create their production before the impdp command.

second problem is that the user schemas have quota on the tablespace. So I have to create users as well before the impdp? I don't know some of the passwords of the user schema.

Please guide me

Thank you.

Hello

Since you are doing the full expdp, users and tablesapces will be created for you.

So no need to creaet them pre.

Concerning tablespaces, impdp will try to create storage space with the same data files (eg - same location of files).

So, if you do not have same directory on the destination structure it will fail.

If the file structure is different you can pre create tablespaces and remap the data files using remap_datafile.

Users will be created with the same passwords on the destination. It is so no worries.

Tags: Database

Similar Questions

  • expdp, impdp Grid 11.2 and ACFS

    Version of the grid: 11.2.0.3
    OS: Red Hat Enterprise Linux 5.4

    A few months, our cluster of CARS, while taking a backup expdp in a local Linux file system, I got some errors. Remember the error code or the script now that I had too much work this day. The problem was solved when we used a location of file system ACFS as the directory for expdp object.

    Today, in the same cluster RAC, to reproduce that issue, I tested it with an expdp backup in a local Linux format
    file system (/ home/oracle/pumpDir) and the expdp finished without any problems.

    Someone at - it all met problems with expdp, impdp in environment RAC cluster in reason to use a local Linux file system?

    The error would be more probably "file not found".

    expdp/impdp (datapump) will begin in several parallel processes on the cluster. If all nodes cannot find the 'local' directory, you will get the above error.

    Bottom line, the parallel processes expdp may or may not be on a single node, so the 'directory' MUST be accessible across the cluster.

  • migration by expdp/impdp db to AIX and Linux. Impdp errors, help.

    Hi, I did complete expdp (11 GR 1 material) and complete impdp (11 GR 2) migrate db from aix to linux.

    I have the following questions in mind:
    (1) I checked the imp papers and found a lot of mistakes. I think that most can be ignored, but I just want to be double sure before that I release the new db migrated for use. Is there a better way to avoid these mistakes?


    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_GENERIC ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_ID ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _EXCEPTIONS_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _FLAVORS_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _FLAVOR_NAME_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _REFRESH_TEMPLATES_S ' already exists
    ......
    Table 'SYSTEM '. "" REPCAT$ _AUDIT_COLUMN "exists. Data will be added to the existing
    table but all dependent metadata will be ignored because the table_exists_action a
    ppend
    Table 'SYSTEM '. "" REPCAT$ _FLAVOR_OBJECTS "exists. Data will be added to the existin
    Table g but all dependent metadata will be ignored due to table_exists_action of
    Add
    Table 'SYSTEM '. "" REPCAT$ _TEMPLATE_STATUS "exists. Data will be added to existi
    ng table but all dependent metadata will be ignored due to table_exists_action o
    f add
    .......
    Treatment of type of object DATABASE_EXPORT/SCHEMA/VIEW/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRAN
    T
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_WORKLOAD ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_FILTER ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_LOG ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_FILTERINSTANCE ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_RECOMMENDATIONS ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_EVALUATIONS ' already exists
    ...............

    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_REFGROUPS ' 5,015 KB 0 rows
    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_SITES ' 5,359 KB 0 rows
    ORA-31693: Data Table object 'SYSTEM '. "" REPCAT$ _TEMPLATE_STATUS ' failed to load/u
    nLoad and being ignored because of the error:
    ORA-00001: unique constraint (SYSTEM. REPCAT$ _TEMPLATE_STATUS_PK) violated
    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_TARGETS ' 4,937 KB 0 rows
    ORA-31693: Data Table object 'SYSTEM '. "" REPCAT$ _TEMPLATE_TYPES ' failed to load/United Nations
    load and being ignored because of the error:
    ORA-00001: unique constraint (SYSTEM. REPCAT$ _TEMPLATE_TYPES_PK) violated
    . . imported 'SYSTEM '. "" REPCAT$ _USER_AUTHORIZATIONS ' 4,773 KB 0 rows
    . . imported 'SYSTEM '. "' SQLPLUS_PRODUCT_PROFILE ' 5,140 KB 0 rows
    . . imported 'SYSTEM '. "' TOAD_PLAN_SQL ' 4,859 KB 0 rows


    (2) in addition, I've seen a few new users 11 GR 2 is not in 11R1, I should not worry update these users, right?

    Thank you in advance.

    You receive the ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_GENERIC "already exists, because the SYSTEM object already exists. You can ignore this error.

    You can also view links below

    Cross platform Transportable Tablespace with RMAN
    http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html

    Import/export transportable tablespace on the same endian platforms
    http://www.oracleracexpert.com/2009/10/cross-platform-transportable-tablespace.html

    Hope this helps,

    Concerning
    http://www.oracleracexpert.com
    Block of Corruption and recovery
    http://www.oracleracexpert.com/2009/08/block-corruption-and-recovery.html]
    Redo log corruption and recovery
    http://www.oracleracexpert.com/2009/08/redo-log-corruption-and-recovery.html]

  • 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 :)

  • 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

  • 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

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

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

  • 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

  • difference between oracle 9i and 10g

    I want to know what is the main difference between oracle 9i and 10g?

    Salvation;

    Please see:
    http://SS64.com/ora/syntax-versions.html

    Respect of
    HELIOS

  • Oracle 9i and 10g on the same machine?

    Hello!

    I tried to install oracle 9i (* 9.2.0.1 *) and 10g (* 10.2.0.4 *) on the same server (windows 2008 sp2). First, I installed 9i and 10g (two editions of the company). then I tried to create a Database 9i with database configuration assistant. After you configure the database settings and began creating, the installer crashed (JRE. EXE, module symcjit.dll failure).

    someone has an idea of what the problem might be or a tutorial how to install 9i and 10g on the same server? Thanks in advance!

    Best regards
    Christian

    The problem is that 9.2.0.1 is not yet certified for Windows 2008 and was backed off long ago.
    This means regarding this version, you are on your own.
    Oracle 10.2.0.4 also is no longer in first aid, then Oracle will not address all the new problems.
    You can switch to 11 GR 2 or to demote the server to Windows XP. Windows XP is however out of support too.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Doesn't have JHeadstart capable of converting Forms 10g times 11g and 10g ADF Faces?

    We would like to buy for JDeveloper 10.1.3.3 JHeadstart generator g 10 forms to ADF Faces. This version of JHeadstart capable of converting forms 10g 10 g ADF Faces. But I want a universal JHeadstart generator ADF Faces, who will be able to convert forms 10g times 11g and 10g ADF Faces. Please help me by your valuable suggestion/advice.

    Try asking on the JHeadstart forum:
    JHeadstart

    As far as I KNOW, JHeadstart 11 g is still not released.

  • Upgrade the database to 8i and 9i and 10g and 11g

    Nice day

    Hi all

    Please can someone help me to get a good document for the upgrade of the database to upgrade the database to 8i and 9i and 10g and 11g include prerequisites and upgrade processes and after upgrading the process waiting for your response because it required required

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14238/TOC.htm

    Concerning
    Asif Kabir

  • 9i and 10g on the same machine

    I want to have Oracle 9i and 10g on the same machine. I have already installed 9i. Oracle 9i home is (/ opt/oracle/920)
    I'll put oracle new home for 10g (/ opt/oracle/10). that works perfectly. and what changes I will make to the PATH variable so that I can use both versions.

    or will I do a new oracle 2 user and perform the installation of 10g with it.


    Thank you

    Khurana

    I say you're wasting your time as such a script already exist and is called "oraenv.

    Just
    export ORACLE_SID =...
    Export ORAENV_ASK = NO
    . oraenv
    Export ORAENV_ASK =

    and you're done.
    Working for more than 10 years!

    If I could study how much time is wasted by people invent their own hacks, simply because they refuse to read the documentation, I would start tomorrow student!

    ---------
    Sybrand Bakker
    Senior Oracle DBA

  • Listeners 11g and 10g

    Hello

    I have two databases 11g and 10g on a single server.
    11g uses a port 1522 10 g using port 1521.

    At the start of the 11 g database I get the following error:

    SQL > bootable media.
    ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
    ORA-00132: error syntax or network name not resolved "LISTENER_DB11G."

    Can I copy my 10g listerner.ora enty in my listnerer.ora 11g and rename/edit the 10g to listener2.
    and start then 11g receiver?

    I prefer to use the two auditors.

    Thank you...

    user8969 wrote:
    I just want that my setup to work if it's easier with a listener that's fine!
    That what I have to do to get the two DB on the same listener was my question.

    I received this Burleson Oracle DBA Forum:
    http://dbaforums.org/Oracle/index.php?showtopic=9569

    Thank you.

    There is room for improvement in this other thread. Some examples of file listener.ora to a 10g R2 on Windows listener serving 10.2.0.4 11.1.0.7 database instances:

    TRACE_LEVEL_LISTENER = 0
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = VM)
          (ORACLE_HOME = C:\oracle\product\10.2.0)
          (SID_NAME = VM)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = LT)
          (ORACLE_HOME = C:\oracle\product\10.2.0)
          (SID_NAME = LT)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = LT2)
          (ORACLE_HOME = C:\oracle\product\10.2.0)
          (SID_NAME = LT2)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = VM11)
          (ORACLE_HOME = C:\Oracle\Product\11.1.0)
          (SID_NAME = VM11)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = VMTEST)
          (ORACLE_HOME = C:\Oracle\Product\11.1.0)
          (SID_NAME = VMTEST)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.185.50.51)(PORT = 1521))
        )
      )
    
    SAVE_CONFIG_ON_STOP_LISTENER = TRUE
    

    There are probably things to improve in the above listener.ora file, but it works. It is also possible to use a 11.1.0.7 earpiece to maintain a 10.2.0.4 database instance - the listener.ora follows the same pattern.

    Charles Hooper
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

Maybe you are looking for