Impdp command question

Hi All,
I am trying to import into and 11.2.0.2 database on Linux. I am trying to exclude 2 tables from 2 different users and exclude constrains as well. This is the syntax I have. Any help would be appreciated.
nohup impdp bb_bb60@BB9TEST schemas=BBADMIN,BBINSTHOST,BB_BB60,BB_BB60_REPORT,BB_BB60_STATS,CMS,CMS_DOC,COURSELIFE,LCYCLE,MSC197 directory=TEST_DIR parallel=4 dumpfile=SCHEMAS_01.dmp,SCHEMAS_02.dmp,SCHEMAS_03.dmp,SCHEMAS_04.dmp logfile=impdpSCHEMAS1.log EXCLUDE=TABLE: "IN ('BB_BB60.ACTIVITY_ACCUMULATOR','BB_BB60_STATS.ACTIVITY_ACCUMULATOR')" content=DATA_ONLY &
Thanks

When you specify an exclude statement, it only accepts object names, not schema.object_name. So, you can't really do what you want to do. If your dumpfile had:
user1.table1
user1.table2
user2.table1
user1.table2
You can exclude user1.tablle1 and user2.table2. You can exclude table1,table2, but you would be excluding 4 tables instead of 2.
This is not supported.
Dean

Similar Messages

  • Getting Errors while using IMPDP command in UNIX

    Hi All,
    My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
    I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
    so please tell me what are the actual problems that might cause the IMPDP to be failed.
    with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
    But i feel that every time starting and stopping the listener is not the correct solution.
    so please help me in this regard.
    Regards
    Naveen R.

    The error i am getting is...
    UDI-03113: operation generated ORACLE error 3113
    ORA-03113: end-of-file on communication channel
    Process ID: 6208
    Session ID: 346 Serial number: 298
    UDI-03114: operation generated ORACLE error 3114
    ORA-03114: not connected to ORACLE
    [user1@node1 cpt]$
    DB version is 11.1.0.6.0
    os is.. Red Hat Linux

  • Errors in impdp command on oracle 10g database

    Hi,
    could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
    i tried to restart job but the following errors coming
    UDI-00008: operation generated ORACLE error 39078
    ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
    ORA-06512: at line 1
    thanks in advance

    NAME TYPE VALUE
    streams_pool_size big integer 0
    sga_target big integer 200M
    what could be the value for avoiding errors! thanks in advance

  • Errors in impdp command on oracle 10g database-urget help needed

    Hi,
    could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
    i tried to restart job but the following errors coming
    UDI-00008: operation generated ORACLE error 39078
    ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
    ORA-06512: at line 1
    thanks in advance

    Can you check Metalink Note 376022.1? Your STREAMS_POOL_SIZE parameter may be too small.
    If you don't have Metalink access, try this :
    sql> alter system set STREAMS_POOL_SIZE=100M scope=spfile;
    sql> shutdown immediate
    sql> startup
    Note : the Portal Applications forum may not be the appropriate forum for this datapump issue. Try one of the database forums as you'll have a wider audience there.

  • Impdp command returning errors in oracle xe

    Hi All
    I am using a CentOS server with Oracle express edition installed on it .
    I tried to import a dump file with the impdp command and got following list of errors .
    ORA-39002:
    ORA-31694:
    ORA-02354:
    ORA-39776:
    ORA-12952:
    What could be the possible cause for the errors ? Any help will be appreciated .
    Regards
    V.T.

    Hi
    The errors that came were because of the exceeded size limit that is 4 GB ... The dump file is a valid data pump file and i tried importing partial dump .
    Now , i am using the following import command and am still getting some errors :
    impdp SYSTEM/oracle123456@XE DIRECTORY=dmpdir DUMPFILE=20070201.dmp LOGFILE=200702013.log EXCLUDE=STATISTICS TABLE_EXISTS_ACTION=REPLACE CONTENT=METADATA_ONLY
    Error : ORA-39083: MATERIALIZED_VIEW
    ORA-00600: [kkqfca:invalid input],[],[],[],[],[],[],[]
    CREATE MATERIALIZED VIEW "XYZ"."V_XYZ" USING ("V_XYZ", (5, 'TEST', 1, 0, "XYZ", "X_TABLE", '2007-02-01:07:00:06', 8, 55404, '2007-02-01:07:00:06', '', 1, '560001', 503331866, 0, NULL), 2101313, 7, ('1950-01-01:12:00:00', 461, 0, 0, 503331866, 0,
    what could be the cause of this error ?
    I think it is because of ORA-13011 (Perhaps some value is out of range ).
    Can't resolve this error .
    Waiting for an early response .
    Regards
    V.T.

  • Error when using IMPDP command on import

    I'm following an Oracle document guiding me thru the creation of schemas and importing of data for a Sample OBIEE App. But I'm getting an error using the IMPDP command. The command I'm issuing at the Command Prompt is as follows:
    impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
    (Note that I'm using my actual password in place of 'password')
    Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
    Why is this not working? I've checked the syntax very carefully.
    Thanks, John

    Thanks for the replies. Yep it's a duplicate post, which I rarely do, but the subject matter related more to the database than OBIEE and I got no response in the OBIEE forum.
    Yes, this is a single machine installation so I am running the command on the machine where the database is up and running. I tried leaving version= 11.2.0.0 out of the command as Fiedi Z suggested, but I still get the same error. I'm scratching my head as to why the error handler doesn't even recognize that I'm using the IMPDP command. Any other ideas?
    Thanks, John

  • Error when importing Sample OBIEE Files using the IMPDP command

    I'm trying to follow the lengthy directions to create the Sample App, and I'm on page 7 of this installation guide:
    http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf]description
    I've successfully completed the first 3 bullets on the page and I'm at the step of using the 'impdp' command to import data from the dmp file. The customized command I'm using is as follows:
    impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
    (Note that I'm using my actual password in place of 'password')
    Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
    Why is this not working? I've checked the syntax very carefully.
    Thanks, John

    Whoops I was running this from the SQL Prompt and not the Dos Prompt... Never mind.

  • Data Pump - expdp / impdp utility question

    HiAll,
    As a basic exercise to learn Data pump, I am trying to export schema scott and then want to load the dump file into a test_t schema in the same database.
    --1. created dir object from sysdba
    CREATE DIRECTORY dpump_dir1 AS 'C:\output_dir';
    --2. created dir on the OS as c:/output_dit
    --3. run expdp
    expdp system/*****@orcl schemas=scott DIRECTORY=dpump_dir1 JOB_NAME=hr DUMPFILE=scott_orcl_nov5.dmp PARALLEL=4
    --4. create test_t schema and grant dba to it.
    --5. run impdp
    impdp system/*****@orcl schemas=test_t DIRECTORY=dpump_dir1 JOB_NAME=hr DUMPFILE=scott_orcl_nov5.dmp PARALLEL=8
    it fails here as ORA39165 : schema test_t not found. However the schema test_t does exist.
    So, I am not sure why it should give this error. It seems that the schema of Scott from the expdp dump file can not be loaded to any other schema but only to a schema named scott...Is it right? If yes then how can I load all the objects of schema say scott to another schema say test_t? It would be helpful if you can please show the respective expdp and impdp command.
    Thanks a lot
    KS

    The test_t schema does not exist in the export dump file, you should remap from input scott schema to the target test_t schema.
    REMAP_SCHEMA : http://download.oracle.com/docs/cd/E11882_01/server.112/e22490/dp_import.htm#SUTIL927
    Nicolas.

  • Unix command question on TAB content

    We found the following ABAP statemenet
    DATA: our_unix_path_and_file_name(64) TYPE c,
               v_unixcmd(255) TYPE c,
               result(255) TYPE c OCCURS 100 WITH HEADER LINE.
    CONCATENATE 'ls -al' our_unix_path_and_file_name INTO v_unixcmd SEPARATED BY space.
    CALL 'SYSTEM' ID 'COMMAND' FIELD v_unixcmd
                    ID 'TAB'     FIELD result-*sys*.
    The question is: is result an internal table? if it's an internal table, then why it's defined as type c?  And also what is included in this result after calling this UNIX command? it will list all the file content?
    Thanks and we will give you reward points!

    Hi,
    The result you'll get is a list of files and attributes from a directory and it will be placed in an internal table.
    Regards,
    Nicolas.

  • 11.2.0.3 impdp table_exist_action question

    Hi everyone,
    Need some help with my question about table_exist_action.
    My expdp is normally done as: full=y contents=all.
    My impdp is normally done as: full=y contents=all (OR) schemas=xxxx contents=all
    I've been reading about table_exist_action parameter.
    If I have no table pre-exists in the database, and I need to do import, which one should I be using:
    table_exist_action=skip
    table_exist_action=replace
    table_exist_action=append
    table_exist_action=truncate
    If I have tables pre-existed in the database, and I need to do import, should I pick replace OR skip?
    Thanks,
    Joy

    If I have no table pre-exists in the database, and I need to do import, which one should I be using:
    table_exist_action=skip
    table_exist_action=replace
    table_exist_action=append
    table_exist_action=truncateIf you don't have any of the tables already existing in your target database, then it really doesn't matter which one you use. The parameter tells Data Pump what to do if it tries to create a table and it already exists.
    If I have tables pre-existed in the database, and I need to do import, should I pick replace OR skip?It depends on what you want Data Pump do do.
    If you want the table and the data only from the dumpfile, then you want to REPLACE the existing table with the table from the dumpfile
    If you want the table and the data only from the existing database, then you want to SKIP the table if it already exists.
    If you want the truncate the existing data in the existing table and have only the data from the dump file, then you would want to TRUNCATE the existing table.
    If you want the add the data from the dumpfile to your existing table, then you want to APPEND to the existing data in the existing table.
    This only happens if the table already exists
    Hope this helps.
    Dean

  • Not able to import(getting error on impdp command)

    hi,
    i have taken the export of my database db6 using below command
    expdp system/password@db6 SCHEMAS=(CODASYL,DNET,FINANCE,BILLPAY) DUMPFILE=qr_bkp_9nov.dmp DIRECTORY=qr_bkp LOGFILE=qr_bkp_9nov.log PARALLEL=4
    the dump was created success fully(i have also created the directory n given permission before executing the above command).
    now on a different server i have created the directory as below
    CREATE OR REPLACE DIRECTORY qr_bkp AS '/opt/quikremit';
    GRANT READ, WRITE ON DIRECTORY qr_bkp to HR;
    and when executing the command for import i am getting the below error.
    bash-3.00$ impdp SCHEMAS=(CODASYL,DNET,FINANCE,BILLPAY) DIRECTORY=qr_bkp DUMPFILE=qr_bkp_9nov.dmp LOGFILE=qr_bkp_9nov1.LOG PARALLEL=4
    Import: Release 10.2.0.1.0 - 64bit Production on Thursday, 10 November, 2011 13:47:37
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username: HR
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    some one plz help????

    bash-3.00$ ls -la /opt/quikremit/
    total 2997776
    drwxrwxr-x 15 pqapp other 512 Nov 10 13:44 .
    drwxr-xr-x 15 root sys 512 Oct 24 13:18 ..
    drwxrwxr-x 13 pqapp other 1024 Nov 3 11:32 adodb
    drwxrwxr-x 17 pqapp other 512 Nov 3 12:16 apache2
    drwxrwxr-x 3 pqapp other 512 Nov 3 12:02 batch
    -rwxrwxr-x 1 pqapp other 451 Nov 3 18:21 conntest.php
    drwxrwxr-x 3 pqapp other 512 Nov 3 10:35 dev_envs
    drwxrwxr-x 12 pqapp other 1024 Oct 27 07:17 httpd-2.2.9
    drwxrwxr-x 2 pqapp other 512 Nov 3 10:20 logs
    drwxrwxr-x 2 pqapp other 512 Nov 3 10:26 mail_logs
    drwxrwxr-x 13 pqapp other 512 Oct 27 08:56 mysql-5.5.17-solaris10-sparc-64bit
    -rwxrwxr-x 1 pqapp other 1534005760 Oct 27 08:51 mysql-5.5.17-solaris10-sparc-64bit.tar
    drwxrwxr-x 3 pqapp other 512 Oct 27 09:12 mysql5.5.17
    drwxrwxr-x 23 pqapp other 2560 Nov 3 10:33 php
    drwxr-xr-x 2 pqapp other 512 Nov 10 13:44 qr_bkp
    -rw-r--r-- 1 pqapp other 66007 Nov 9 15:38 qr_bkp_9nov.log
    -rwxrwxrwx 1 pqapp other 134 Nov 10 11:46 qr_impdp.sh
    drwxrwxr-x 4 pqapp other 512 Nov 3 11:41 smarty_temp
    -rw-r--r-- 1 pqapp other 4003 Nov 10 13:32 sqlnet.log
    drwxrwxr-x 3 pqapp other 512 Nov 3 12:03 tmp

  • Switchport commands question

    Hi, I've been asked to configure a switchport to match the one next to it.  easy enough right, except there seem to be some commands required that are not in the config.   Can you help?   Here are the 2 ports:
    SWITCHA#sh run int fa5/10
    Building configuration...
    Current configuration : 290 bytes
    interface FastEthernet5/10
     description Port 106
     switchport access vlan 111
     switchport voice vlan 107
     service-policy output autoqos-voip-policy
     qos trust cos
     no snmp trap link-status
     auto qos voip trust
     tx-queue 3
       bandwidth percent 33
       priority high
       shape percent 33
    end
    SWITCHA#sh run int fa5/11
    Building configuration...
    Current configuration : 290 bytes
    interface FastEthernet5/11
     description Port 107
     switchport access vlan 111
     switchport voice vlan 107
     service-policy output autoqos-voip-policy
     qos trust cos
     no snmp trap link-status
     auto qos voip trust
     tx-queue 3
       bandwidth percent 33
       priority high
       shape percent 33
    end
    SWITCHA#sh int fa5/10 trunk
    Port        Mode         Encapsulation  Status        Native vlan
    Fa5/10      auto         negotiate      other         1
    Port        Vlans allowed on trunk
    Fa5/10      none
    Port        Vlans allowed and active in management domain
    Fa5/10      none
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa5/10      none
    SWITCHA#sh int fa5/11 trunk
    Port        Mode         Encapsulation  Status        Native vlan
    Fa5/11      auto         negotiate      not-trunking  1
    Port        Vlans allowed on trunk
    Fa5/11      107,111
    Port        Vlans allowed and active in management domain
    Fa5/11      107,111
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa5/11      107,111
    DON'T KNOW IF IT MAKES A DIFFERENCE, BUT ONE PORT IS UP AND THE OTHER IS NOT PLUGGED IN YET:
    Fa5/10                         down           down     Port 106
    Fa5/11                         up             up       Port 107

    This does shed a different light on the question. In the original post and in my original response I focused on the configuration that was shown. And that shows interfaces  that appear to be configured as access ports - and the configuration is quite the same. Your follow up post focuses on the fact that negotiation for trunking is enabled on the switch and your question is really about the trunking aspect, which is not explicitly configured.
    My guess at the explanation of the difference is that FA5/11 is up and has negotiated and has learned that two vlans are allowed while FA5/10 is not up, and so has not negotiated and has not yet learned what vlans are permitted on the trunk.
    So my guess at what you need to do to get the ports to match would be that you need to connect FA5/10 similar to the connection of FA5/11.
    HTH
    Rick

  • CSS Show summary command question

    When I issue "show summary" within the owner of SPOT-WT-PROD-EXT (please excuse the names I didn�t pick them)
    I get the below results. my question is why does content web-servers have 3.1 mil + hits when the other two content rules have the same number of hits but far less. Before I issued the show summary command I typed "zero all" to bring the counts to zero. any thoughts?
    Owner                               Content Rules                         State     Services                             Service Hits
    SPOT-WT-PROD-EXT         SPOT-WT-PROD-EXT-A          Master    ACE-SPOT-WT-PROD        2816 
                                            SPOT-WT-PROD-EXT-B           Master    ACE-SPOT-WT-PROD        2816
                                            web-servers                             Master    ACE-SPOT-WT-PROD       3162510

    The show summary gives you info about traffic coming in.
    The CSS is not responsible if it gets more traffic for one rule vs another one.
    You should check upstream ....or it might be the nature of the application....the last rule attracting more users...or generating more connections.
    Gilles

  • IMPDP command

    Hello,
    Let me describe my situation here, one of my users had asked me to refresh a database with the following dumpfile bob_schema.dmp
    The command he used to export the database was
    expdp bob dumpfile=DATPMP1:bob_schema.dmp schemas=bob
    I'm trying to import the database he provided with the command
    impdp phil/password@SERVER dumpfile=bob.dmp logfile=log.txt
    These are the problems I am experiencing.
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31619: invalid dump file "E:localapps\oracle\app\administrator\admin\SERVER\dpdump\bob.dmp
    In this case, whenever an expdp command is used, does the impd command have to be similar?
    Also, since he is specifying DATPMP1 as the directory do I need to create and specify the same name on my end? I had placed bob.dmp in the directory shown above, because any database I import is always placed within the oracle directory of dpdump. The user and I are both on oracle 11g.
    Thanks,
    What are your thoughts and suggestions about this problem I am encountering?

    SYS
    ORACLE_OCM_CONFIG_DIR
    E:\localapps\oracle\app\administrator\product\11.2.0\dbhome_1/ccr/state
    SYS
    DATA_PUMP_DIR
    E:\localapps\oracle\app\administrator\admin\SERVER\dpdump
    SYS
    XMLDIR
    E:\localapps\oracle\app\administrator\product\11.2.0\dbhome_1\rdbms\xml
    SYS
    MY_DATA_PUMP_DIR
    E:\localapps\oracle\app\administrator\admin\SERVER\dpdump
    Problem still exists when I am specifying the MY_DATA_PUMP_DIR as a directory.

  • Regarding IMPDP command in oracle10g 10.2.0.4.0

    Hi
    I am trying importing the dump file into my local system database.
    While i try to issue impdp scott/owb directory=test_dir dumpfile=mca.dmp logfile=impdpmca.log
    i am getting following errors and window is getting closed.
    ORA-39002 Invalid operation
    ORA-39070-Unable to open file
    ORA-29283-Invalid file operation
    ORA-06512-at "SYS.UTL_FILE"
    ORA-29283 Invalid File Operation
    can any one help me here ...
    Regards
    Rajesh

    Rajesh,
    Do you have permission to open file in that directory as an oracle user? It's say unable to open file, so verify directory permission. ANd if possible, please post your exact code enclosed between tag \ to preserve formatting.
    \Your code
    \Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How to add values dynamically for custom property during design time?

    I am trying to create a user control with custom properties. I have a property named Server. And Values for this property is system dependent. I have the code that can generate the values and is working fine. During the design time, when I include th

  • RCV_TRANSACTIONS_INTERFACE return error Primary quantity

    Dear All, I have a problem. I am using RCV_TRANSACTIONS_INTERFACE to do return to vendor. If the item setup with ASL, then it will failed with error message : Primary quantity 250 exceeds available subinventory quantity 0 Cause: The transaction quant

  • Bug report: emacs style incremental search (Ctrl-S + search

    NitroX ignores the incremental search emacs command in the JSP design view. The eclipse Alt-R command seems to work but it is slow and clunky compared to the emacs command.

  • I want SQL query

    don't use break i want singal query. **This EMP table.** EMPNO     ENAME     JOB     MGR     HIREDATE     SAL     COMM     DEPTNO 7,369     SMITH     CLERK     7,902     12/17/0080     800.00     NULL     20 7,499     ALLEN     SALESMAN     7,698    

  • How to share internet connection with a PC?  Wireless?

    Hi, I've got a mac pro, connecting to the internet with an ethernet cable to the cable modem. How can I add a PC Laptop with a wireless card, to the cable modem. Considering that the MacPro is not Airport friendly. Thanks