One dump file inport into multiple schema

Hi,
I need to import one dumpfile to multiple schema but it's not working.
impdp "'system/redhat as sysdba'" dumpfile=CTBNGUMB_14022011.dmp logfile=CTBNGUMB_IMP_1602.log directory=DUMP_DIR remap_tablespace=NGUMB_TS:TRUSTWARE01 remap_tablespace=TRUSTWARE:TRUSTWARE01 remap_tablespace=NEXTGENREF:TRUSTWARE01
remap_schema=CTBNGUMB:CTBNGUMB_1,CTBNGUMB:CTBNGUMB_2,CTBNGUMB:CTBNGUMB_3,CTBNGUMB:CTBNGUMB_4
how can import one dumpfile to multiple schema?
Edited by: 819136 on Feb 16, 2011 5:53 AM

Hi,
I want same schema import into different schams (users) is it possible?
OS Version is Linux 4
Oracle DB Version is : 10.2.0.4
While importing getting the below error
[oracle@sos02 10.2.0]$ impdp "'system/redhat as sysdba'" dumpfile=CTBNGUMB_14022011.dmp logfile=CTBNGUMB_IMP_17022011.log directory=DUMP_DIR remap_tablespace=NGUMB_TS:TRUSTWARE01 remap_tablespace=TRUSTWARE:TRUSTWARE01 remap_tablespace=NEXTGENREF:TRUSTWARE01 remap_schema=CTBNGUMB:CTBNGUMB_1 remap_schema=CTBNGUMB:CTBNGUMB_2 remap_schema=CTBNGUMB:CTBNGUMB_3 remap_schema=CTBNGUMB:CTBNGUMB_4
Import: Release 10.2.0.4.0 - Production on Thursday, 17 February, 2011 9:24:32
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39046: Metadata remap REMAP_SCHEMA has already been specified.

Similar Messages

  • Multiple Import into Multiple schemas in a single Database server ?

    Is it possible to create a multiple import into multiple schema in a single DB server ?

    Hi,
    Yes, You can do it.. With Multiple Export File..it may cause some Performance issue, so need to check your Server configuration before do that..

  • How to use the js in the case of not sure the file name into multiple files to PS?

    function place($path){
        var idPlc = charIDToTypeID( "Plc " );
        var desc28 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc28.putPath( idnull, new File( $path ) );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc28.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc29 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idRlt = charIDToTypeID( "#Rlt" );
            desc29.putUnitDouble( idHrzn, idRlt, 0.000000 );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idRlt = charIDToTypeID( "#Rlt" );
            desc29.putUnitDouble( idVrtc, idRlt, 0.000000 );
        var idOfst = charIDToTypeID( "Ofst" );
        desc28.putObject( idOfst, idOfst, desc29 );
        executeAction( idPlc, desc28, DialogModes.NO );
    for(i=1;i<=4;i++){
        place ("E:\\aaa\\"+i+".jpg");
    目前我的解决方案是,把多个文件提前修改成数字序列,然后用for循环调用,我想问的是,如果我不更改文件名,是否也可以同时导入多个文件?
    At present my solution is to advance the multiple files modified into a sequence of Numbers, and then use a for loop calls, I want to ask is, if I don't change the file name, also can import multiple files at the same time?

    You could use a file or folder selection dialog and then feed the selected files into the for-clause.
    var aFile = selectFile(true);
    alert (aFile);
    ////// select file //////
    function selectFile (multi) {
    if (multi == true) {var theString = "please select files"}
    else {var theString = "please select one file"};
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog (theString, '*.jpg;*.tif;*.psd;*.png', multi)}
    else {var theFiles = File.openDialog (theString, getFiles, multi)};
    ////// filter files  for mac //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|png)$/i) || theFile.constructor.name == "Folder") {
            return true
    return theFiles

  • Using exp dump file, how to know schema/tablespace/database/table....

    Hi
    I have export dump file. I don't have any information other then that about the dumpfile.
    1. How do I know what version of exp was used(or database version)?
    2. what does the exp contain, whether it is table/schema/tablespace/database level export?
    3. Is it possible that I can used impdp command to export a file which was exported using "exp" command?

    1. Sorry for my ignorance but in first case how do I know if i have to use "imp or impdp".
    As discussed in the above mentioned thread strings might reveal something but not sure. Otherwise you can always confirm by trying to run it.
    And assuming that if I imported the dump(using trial and error rule), how do I know what level of export was the dump file created... ie
    how do I know the present object(object imported in target) was belonging to which tablespace and schema in source database(question 2 of "Sidhu")?
    When you will import it back in a new database, everything will be same as the original database. All objects will belong to their respective tablespaces,schemas blah blah...(where they were in the original database).
    Sidhu

  • File archiving into multiple folders

    Hi,
    I have the below scenario:
    There are two folder paths that one XI sender channel is polling on. Multiple folders can be polled on using one channel with the help of "Advanced Selection of Source File" option in the Sender communication channel.
    But, I need your help in archiving the files to multiple folders.
    For example, I have two main folders A and B configured in the Sender communication channel.
    If the file has come to the folder A, it has to be archived in the 'A/archive' folder. Similarly, if the file has come to the folder B, it has to be archived in the 'B/archive' folder.
    Please note that archiving has to be done before message processing.
    1. I tried writing a script but it didnot work. If you have a script that worked, please provide me with the same.
    2. I cannot create two sender channels, since the sender agreement cannot be common for two channels for the same business system and message interface.
    Please help me if you have any other better optimum solutions.
    Regards,
    Subbu

    Hi Subbu,
    contact UNIX team, they will help you, you can do this easily using UNIX script.
    Regards,
    Raj

  • How to add more than one dump file in dba_datapump pls...........

    create or replace procedure EXPDP is
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2(30) := 'UNDEFINED';
    l_job_state VARCHAR2(30) := 'UNDEFINED';
    l_sts KU$_STATUS;
    XDAY VARCHAR2(50);
    BEGIN
    l_dp_handle := DBMS_DATAPUMP.open(operation => 'EXPORT', job_mode => 'SCHEMA', remote_link => NULL,
    job_name => 'EMP_EXPORT', version => 'LATEST');
    DBMS_DATAPUMP.add_file(handle => l_dp_handle, filename => 'd1.dmp','d2.dmp', directory => 'INS_DUMP');
    DBMS_DATAPUMP.add_file(handle => l_dp_handle, filename => 'SCOTT.log', directory => 'INS_DUMP',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    DBMS_DATAPUMP.metadata_filter(handle => l_dp_handle, name => 'SCHEMA_EXPR', value => '= ''SCOTT''');
    DBMS_DATAPUMP.start_job(l_dp_handle);
    DBMS_DATAPUMP.detach(l_dp_handle);
    END;

    Hi Pooja,
                 I tried the way u said, but when i try to create it(i.e- right click on pagelet folder & then new---> other......the way u said.) it asks for JSP file name but finish button is disabled even after entering the JSP file name.....is it that i am doing something wrong....please guide me for this & one more thing it asks for folder name also ...where to store that file....but when i try to enter anything.It doesn't show or doesn't allow me to do so
    Thanks
    Chetan

  • How to split file dynamically into multiple files according to row result

    Hello, I want to split and create new document after specific data by using BI Publisher. Can anyone help me.
    For e.g. I am running a report and it is giving 5 result rows and it is generating one file with all the 5 result rows but is it possible to generate new document or file for each row. So at last I will have 5 documents/files with me.
    Edited by: user10512424 on Aug 19, 2010 4:11 AM

    Hi ,
    I think bursting of the report will help you.
    Look the link below.
    http://www.strsoftware.com/blogs/oracle/2009/12/how-to-burst-and-deliver-documents-from-bi-publisher-enterprise/
    Thanks.

  • Loading Flat files with into multiple tables using OWB

    Hi,
    How to implement the following logic in OWB.
    LOAD DATA
    INFILE 'myfile.txt'
    BADFILE 'myfile.bad'
    DISCARDFILE 'myfile.dsc'
    APPEND
    Into TABLE_Awhen (1:1) = 'A'
    (Col1 Position(1:1) CHAR,
    Col2 Position(2:5) CHAR)
    Into TABLE_Bwhen (1:1) = 'B'
    (Col1 Position(1:1) CHAR,
    Col2 Position(2:20) EXTERNAL INTEGER)
    Into TABLE_C
    when (1:1) = 'C'
    (Col1 Position(1:1) CHAR,
    Col2 Position(2:20) EXTERNAL INTEGER)
    I am using 10g version of OWB.I tried using the splitter operator.
    I am getting the following error when i use the splitter.
    An invalid combination of operators prevents the generation of code in a single implementation language (PL/SQL code, or SQL*Loader code, or ABAP code). For example, you may have included a SQL*Loader only operator such as the Data Generator in a mapping with a PL/SQL implementation type. If you designed the mapping to generate PL/SQL code, an invalid combination or sequence of operators prevents the generation of PL/SQL code in any of the operating modes(set based, row based, row based target only). If the mapping contains an operator that generates only PL/SQL output, all downstream dataflow operators must also be implementable by PL/SQL. You can use SQL operators in such a mapping only after loading the PL/SQL output to a target. Detail is as follows:
    PL/SQL set based operating mode: Operator trailer_source_txt does not support SQL generation.
    PL/SQL row based operating mode: Operator trailer_source_txt does not support SQL and PL/SQL generation.
    PL/SQL row based (target only) operating mode: Operator trailer_source_txt does not support SQL and PL/SQL generation.
    Both SQL and PL/SQL handlers are not supported by trailer_source_txt as output
    SQL*Loader: Operator SPLIT does not support SQL*Loader generation.
    ABAP: Operator trailer_source_txt does not support ABAP generation.
    Thanks in advance,
    VInay

    Hi
    Splitter can be used ib PL/SQL mappings, but if you use a flat file in a mapping, than it will be an SQLLoader mapping. So I suggest to you to create a mapping which load your flat file into a table, and from this table you load the data into the three table with the spillet in a PL/SQL mapping. Create two mappings.
    Or you can use an external table in a mapping with a splitter.
    Ott Karesz
    http://www.trendo-kft.hu

  • Split one sales order line into multiple item line on invoice

    Hi,
    When create proforma invoice from sales order (TCode, VF01), we can have multiple batches for on sales order item line. On invoice, we have requirement to make each batch become a single invoice line. Any help on how to do the split?
    Thanks.
    --Wenning

    Are you talking about a report to show all the line items of the order. MAy be I didnt understand you correctly.
    The key to both the tables is VBELN.
    However for any Invoice the line item in in VBRP tbable and the corresponding Header in VBRK.
    You could write to query to combine the lines in VBRP to one line based on your requirement.
    Shreekant

  • One row of Gallery into multiple screens

    Hi
    We used to create Gallery with Images and say, captions, onto a Single Row, which we can roll all the way to the left.
    Say..I have this horizontal gallery of 5 images.
    Normally, when we OnSelect and Navigate to another screen, it can be ONLY ONE SCREEN..that means all the 5 images can only be navigate to ONE SCREEN, with same design but different contents.
    My question: is Project Siena able to:
    OnSelect on EACH Image and Navigate, say to more than 2 different screen with different layout design?
    [if making 4 single IMAGES, NOT Gallery, definite not a problem. But it is NOT my intention].
    Well, it sounds weird but is that possible? Any trick?
    TQ
    PK Hong

    Hi Pk Hong,
    The if should work with any gallery provided your data is the same and the same fields exist between each gallery. You can keep extending the If() to as many conditions as you could like. For example, you could end up with the following:
    IF(ThisItem!'Picture 1-1'="C:\Users\PeckKeong\Pictures\New ISO\History.png", Navigate(History, ScreenTransition!Fade),ThisItem!'Picture 1-1'="C:\Users\PeckKeong\Pictures\New ISO\Transition.png",Navigate(Transition, ScreenTransition!Fade),
    ThisItem!'Picture 1-1'="C:\Users\PeckKeong\Pictures\New ISO\AnotherScreen.png", Navigate(AnotherScreen, ScreenTransition!Fade)).
    More details about If() and many other functions are
    here in our function reference.
    Hope this helps.
    Yes, I mis-understood the IF function...just no need so many braces. :).
    I found out that Project Siena can be combined with so many simple yet powerful syntax, such as Thisitem!, Selected,...if,....But maybe because of our level of knowledge, I am unable to FULLY utilize this function but thought it was very basic function,
    where in fact, this SIMPLE function can be very powerful.
    Where can I learn further? I have created pretty cool apps, I think, as reviewed by friends and will put on Windows Store soon.
    Thanks so much and hope I can learn more from you all...Thumbs UP!
    PK Hong

  • Import few schemas out of a full DB dump file into a new DB

    Hi,
    I have a 11g database, ORCL.
    I have created a new database, TEST, where i want only 3 schemas of ORCL database to be imported.
    I have taken an export dump file of the 3 schemas (A,B and C), with which the below import command works:
    impdp system/xxxx directory=EXPDP dumpfile=schema3.dmp logfile=schema3.log REMAP_TABLESPACE=A_TBS:USERS,B_TBS:USERS,C_TBS:USERS
    where A_TBS, B_TBS and C_TBS are the tablespaces of the respective schemas A,B and C in ORCL database
    USERS is the default tablespace in the TEST database
    But If I take a full export dump of the entire database and want to import only the 3 required schemas, then is the below command correct???
    impdp system/xxxx directory=EXPDP dumpfile=full_dump.dmp logfile=full_dump.log SCHEMAS=A,B,C REMAP_TABLESPACE=A_TBS:USERS,B_TBS:USERS,C_TBS:USERS
    Please guide.
    Thanks in Advance.

    If you do a FULL export and FULL import, the import also attempts to create Tablespaces that do not exist. However, it will attempt to create the tablespaces with the same file names (including directory paths) as present on the source database. That is why it is always preferable to precreate Tablespaces at the new database before running the import -- so that you can control the sizes and names of datafiles, even change tablespace parameters if necessary. REMAP would be used if you want to import to different tablespace names. When precreating tablespaces, the size required really depends on the size of the data.
    At the source you might have a tablespace with datafiles adding up to 5GB but used segments of 3GB only (Again, within the 3GB, 80% of the data might have been deleted before the export !). So the size required at the new database might be 3GB or only 600MB !! It is best to precreate a few datafiles with some reasonable sizes and have them with AUTOEXTEND ON so that the tablespaces grow to the actual size that is really required.
    Hemant K Chitale

  • Multiple imports from same dump file

    Hi,
    I have to import multiple related schemas - to avoid having to create multiple dump files can I just export them into one dump file (owner= a,b,c etc) and then run
    simultaneous imports
    like : export <dba_user> owner=a,b,c file=all.dmp
    --in newdb
    nohup import <dba_user> fromuser=a touser=a file=all.dmp &
    nohup import <dba_user> fromuser=b touser=b file=all.dmp &
    nohup import <dba_user> fromuser=c touser=d file=all.dmp &
    my doubt is - if the 3 import processes simultaneously read from teh file, can there be some issue?
    thanks

    Hi,
    Why not try
    import <dba_user> fromuser=a,b,c touser=a,b,d file=all.dmp &Regards
    Anurag

  • I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, the cut the recording into songs using one audio file folder. When working on an individual song, I can't access the sampler.  I get the message "nothing to display"

    I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, then cut the recording into songs using one audio file folder ad multiple song files. When working on an individual song, I can't access the sampler.  I get the message "nothing to display" or "no region or audio file selected"  After much research on the web, I believe this is a permanent bug.  Does anyone have a good work-around for this type of work.  We record live 16T band rehearsals constantly and would love to be able to break individual songs out of the large file and be able to use the sampler.  Thanks in advance for your ideas!  Cheers.

    Another thing - if I copy one of the tracks to another track, then the sample editor works on the copied track.  I don't want to have to copy 16 tracks to new tracks to be able to use the sample editor on a project.  Thanks again.

  • Importing (imp) a dump (exp) from a schema into another schema

    Hello
    -I know I should read the manual-
    -I also know that there are some experts here who only need two lines to explain it- :)
    I have a dump file from a complete schema (lets call it xx).
    I habe another schema (yy) in the same database and:
    I would like to put that dump file into the schema yy.
    How does the imp command looks like?
    Thank you in advance!

    How does the imp command looks like? To get help say at OS prompt.
    imp help=y
    -aijaz

  • Split one column  value and insert into multiple columns

    hi
    am new to plsql .
    i want to split a characters from one column and insert into multiple columns
    i tried used substr function the symbol ',' vary his place dynamically ,so i can't apply substr function.
    for eg:  before split
    col1 :
    col2 :
    col3 :
    col4 :
    colu5: adsdf,fgrty,erfth,oiunth,okujt
    after split
    col1 :adsd
    col2 :fgrty
    col3 :erfth
    col4 :oiunth
    col5 : adsdf,fgrty,erfth,oiunth,okujt
    can anyone help me
    thanks
    Edited by: 800324 on Dec 23, 2010 8:28 AM
    Edited by: 800324 on Dec 23, 2010 8:36 AM

    How about:
    SQL> create table t
      2  (col1 varchar2(30)
      3  ,col2 varchar2(30)
      4  ,col3 varchar2(30)
      5  ,col4 varchar2(30)
      6  ,col5 varchar2(30)
      7  );
    Table created.
    SQL> insert into t (col5) values ('adsdf,fgrty,erfth,oiunth,okujt');
    1 row created.
    SQL> insert into t (col5) values ('x,y');
    1 row created.
    SQL> insert into t (col5) values ('a,b,c,d');
    1 row created.
    SQL> select * from t;
    COL1                           COL2                           COL3                           COL4                           COL5
                                                                                                                                adsdf,fgrty,erfth,oiunth,okujt
                                                                                                                                x,y
                                                                                                                                a,b,c,d
    3 rows selected.
    SQL>
    SQL> merge into t a
      2  using ( with t1 as ( select col5||',' col5
      3                       from   t
      4                     )
      5          select substr(col5, 1, instr(col5, ',', 1, 1)-1) col1
      6          ,      substr(col5, instr(col5, ',', 1, 1)+1, instr(col5, ',', 1, 2)- instr(col5, ',', 1, 1)-1) col2
      7          ,      substr(col5, instr(col5, ',', 1, 2)+1, instr(col5, ',', 1, 3)- instr(col5, ',', 1, 2)-1) col3
      8          ,      substr(col5, instr(col5, ',', 1, 3)+1, instr(col5, ',', 1, 4)- instr(col5, ',', 1, 3)-1) col4
      9          ,      rtrim(col5, ',') col5
    10          from   t1
    11        ) b
    12  on ( a.col5 = b.col5 )
    13  when matched then update set a.col1 = b.col1
    14                             , a.col2 = b.col2
    15                             , a.col3 = b.col3
    16                             , a.col4 = b.col4
    17  when not matched then insert (a.col1) values (null);
    3 rows merged.
    SQL> select * from t;
    COL1                           COL2                           COL3                           COL4                           COL5
    adsdf                          fgrty                          erfth                          oiunth                         adsdf,fgrty,erfth,oiunth,okujt
    x                              y                                                                                            x,y
    a                              b                              c                              d                              a,b,c,d
    3 rows selected.
    SQL> Assuming you're on 9i...

Maybe you are looking for

  • Change not done in the user fields of operation for production order save

    Hi Experts I need to change the user fields of the operation like (SLWID and USR00 )for a production order at the time of save. So am using the exit PPCO0001 and using the OPERATION_TABLE internal table in the exit to chang the details. I have done c

  • Is there a way to restrict two infoproviders of different characterisitcs by creating single variables

    Hi Experts, I am new to BEx. I am facing some issues in variable creation. I have two infoproviders(composite provider in my case). One infoprovider is loaded with ECC data and another infoprovider is loaded with transaction data. In reporting layer,

  • Specifying a Network Path in SQL query

    Hi There I have created 2 PCs (1 for Primary DB (IT_SERVER), 2 for Standby DB (IT_SERVER2) on Oracle VM VirtualBox in order to check my Data Guard configuration. I have created a Shared Folder on 2nd PC (IT_SERVER2) for Oracle Standby DB. Now when I

  • JAX-RPC with attachments

    I have a service that needs to return an xml document and an attachment. The service is implemented as a stateless session bean. The xml document contains meta-information about the attachment. I cannot find a good example or explanation on how to re

  • Could not authenticate

    Hi everybody, I'm new in Portal 4.0 . I just followed portal creation tutorial and created my own portal from StockPortal example. I can create new users, groups but when if i connect with good username and password, the login form seems to validate