datapump exp problem

Hello
I need to export more than 1,000 tables with the expdp INCLUDE clause but I know the maximum length allowed is 4000 bytes, including the quotes, which means that the actual maximum length is 3998 bytes.

How can I work around this problem in the expdp INCLUDE clause?

Osama_mustafa wrote:
If you have the same table on different schema then I suggest before start to export your filtering database don't you never hear of synonym and view or give you more option to avoid duplicate on your schema tables, in this case you will export less tables.

I don't know what you're saying here, if you include in the list the schema1.table_1 table and schema2.table_1 are specified AND export user has the appropriate privileges, Oracle and expdp are smart enough to distinguish between 2 tables in the different schema. No idea why views synonyms, grants, no matter, as long as the object name is prefixed by schema, you should be ok.

Dear OP,

You want to export tables of 1000, but you do not tell us these 1000 out of 1100 or 10000. If it is out of 1100 so it is easier to EXCLUDE those that you don't want, but the best solution could be the list owner and table_Name in a table and provide the use IN paragraph rather than providing a long list of tables.

Also, you CAN provide two INCLUDE and to EXCLUDE in a command line, so I would recommend that you use a table that contains the names of owner and of the table you want to export. It will make your life easier. As long as the user-exporter (i.e. who run expdp) has the appropriate privileges, you should have no problem.

REDA

Tags: Database

Similar Questions

  • Tablespace vs transportable Datapump Exp/IMP

    Hi guys,.
    10.2.0.5

    Will need your counselor here before some tests on this subject.

    I have 2 databases.
    One of them is the production database (main site) and the other a mview site (reading only mviews).
    I need two of them migrate from HP - UX to Solaris (different endian).

    For the Production of database where all the mview connects and master tables to, we can use the transportable tablespace. I assumed transportable tablespace should be ablt to transport logs mview as well? May indicate what are the types of objects tts don't migrate?

    For site mview, seems that transportable tablespace migrate mviews on. Therefore, the only option is by datapump exp/IMP.

    All suugestion for this scenario?

    Thank you!

    TT, all objects in the repository of data are migrated.

    See, if it's useful...
    Transportable tablespace (TTS) Restrictions and Limitations: details, reference and Version where there is [ID 1454872.1] down

  • error when exporting datapump

    Hi gurus,

    Oracle Version: 10.2.0.3
    Operating system: Linux

    Today that we had a problem when exporting datapump runs in the production server, the error is
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 9.126 GB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4869,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4868,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4867,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4869,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4868,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4867,1,...) 
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5118
    . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_TRANS"         213.3 MB 2017789 rows
    . . exported "QFUNDAPAYPROD_JUN09"."ST_EXTERNAL_LOG"     712.6 MB 14029747 rows
    . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_MASTER"        198.1 MB  915035 rows
    . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_APPORTIONS"    110.7 MB 3951926 rows
    Can someone help me please it is a serious problem and how to solve it.

    Thank you and best regards,
    Kahina Prasad.S

    SIDDABATHUNI wrote:
    Hi orawiss,

    Here is my order export

    expdp username/password directory=dbdump dumpfile=D_JUN09_$DT.dmp exclude=statistics,grants,PROCOBJ logfile=D_JUN09_$DT.log job_name=QFU
    

    But today morning alone i have added PROCOBJ prameter to exclude it.

    Thank you best regards &,.
    Kahina Prasad.S

    Bug 4358907, as the MOS ID: ORA-39127 use datapump exp [451987.1 ID]

    Try not to use the exclude option

  • Oracle 10g 32-bit (win 2003) to Oracle 11 g 64-bit (Win 2008)

    Hello

    I am a beginner on Oracle DB side. I have 2 Windows servers

    "Win Server A - current Prod" whose configuration is as follows

    O / s: win 2003 R2 sp2 (32-bit o/s)
    Oracle DB: 10.2.0.4 32bits
    DB Dimensions: 50 GB
    NLS_CHARACTERSET: AL32UTF8


    "Win Server B - to be new Prod" whose configuration is the following
    O / s: win 2008 R2 sp1 (64-bit o/s)
    Installation 11.2.0.3 planning software 64-bit db
    NLS_CHARACTERSET: AL32UTF8


    I need to move/migration/upgrade my db 10g and 11g db on the latest version of win o/s on ServerB.

    What are the options I have for db upgrade? After a little research on Google I did, it is what I found

    (1) OPTION 1: install 11.2.0.3 software on server B, create empty db, then take datapump exp of patterns non-system (from 10 g) and import it on 11 g
    (2) OPTION 2: do something through clone RMAN... not 100% sure how it works and what great advantage I have is going to get compared to OPTION 1
    (3) OPTION 3: install 10.2.0.1 on 'ServerB', upgrade to 10.2.0.4 via the Group of hotfixes. Then using the upgrade database Wizard, perform an upgrade of 10.2.04 to 11.2.0.3. I don't know if 10.2.0.4 is compatible with Win 2008 R2 SP1.

    Option 3 is seems to be safer and better.

    Can someone give me some advice, metalink not. who can put me on the right track. NLS_Characterset remains the same.

    Would there be a problem due to the fact that 10g we use is 32 bit and we would go to 64-bit Oracle.

    Concerning

    Learner

    The simplest option uses the Data Pump utilities.

    If your application uses only some of the schema, export/import only those schema.

    Please do it on a test first, configuration so that you can test the connection and the behavior of applications.

    Thank you.

  • Cannot restore the system and can not get online with Windows Vista

    Original title: bought a hp with vista system has never worked right

    This system came without a disc I way to restore the system never worked, restore now int exp problems was trying to correct but are unable to online this vista system has no access to anything else. I would like to get a look of MS and correction online, but my system will not let me access MS

    Check with your computer manufacturer on how to restore your system correctly and if there is a problem, the manufacturer should be able to help.

    Maybe this will help: http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00810334

  • Problems with exp util

    Hello, I want to export the diagram with all the tables and lines in this diagram, but I have a problem with the export of lines, I tried a lot of methods and are all does not work

    exp system / * QUEUE = exp_u.dmp LOG = exp_u.log OWNER = owner_name STATISTICS = NONE

    and here is the log message:

    Export: Release 10.2.0.4.0 - Production on sea Feb 12 14:54:17 2014

    Copyright (c) 1982, 2007, Oracle.  All rights reserved.

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit

    With the partitioning, Data Mining and Real Application Testing options

    Export in US7ASCII and AL16UTF16 NCHAR character set

    Server uses the AL32UTF8 (possible character set conversion) character set

    About to export specified users...

    . export of the actions and the patterns of objects procedures

    . exporting foreign function library names of user IOM

    . export synonyms for PUBLIC types

    . export synonyms for private types

    . export definitions of object type for the IOM user

    About to export objects of PRD_OIM...

    . export the database links

    . export of sequence numbers

    . export cluster definitions

    . about to export tables of PRD_OIM by conventional means...

    . export synonyms

    . export of the views

    . export of stored procedures

    . export of operators

    . export of referential integrity constraints

    . export of triggers

    . export indextypes

    . image bitmap, functional and extensible index export

    . export of posttables actions

    . export of materialized views

    . export of the instant newspapers

    . export the work queues

    . export of groups of refreshment and children

    . export of dimensions

    . export actions and procedures of post-compilation schema objects

    . export statistics

    Export completed successfully without warnings.



    Why this command do not export continue lines?


    And I try this method:

    expdp system / * schemas = dumpfile = exp_u.dmp OWNER_NAME

    and this

    exp system / * QUEUE = export.dmp GRANTS = Y INDEX = LINES Y = Y OWNER STATISTICS = NONE LOG = oim.log OWNER_NAME =

    and I have the same result.

    Any suggestions?

    Hello

    The journal you have shown is not associated with TABLE exported. I suppose that the user who you specified does not all tables. Can confirm you.

    Check the result of the following query:

    To connect to the specified schema and run the following query:

    Select count (1) from user_tables;

  • fract/exp to problem number string.

    Hi ppl,

    I have a very simple question. I want to convert string 5.3696075E - 4 for the number. in my program, it gives me only 5.

    Please, help me.

    Your operating system is probably to use a comma instead of a period as the decimal separator.

    The Fract/Exp string to number function has an entry at the top Optional Boolean. The default value is True, revealing LabVIEW use parameter system OS for the separator.

    'Use decimal system (T)' set to false, and that should allow you to convert the string correctly...

  • In outlook exp in recive sending option should it be send recive all, send all, all show, or default server pop-roadrunner, im having problems receiving mail.

    Oops, see above.

    Not exactly what you're asking. If you click send/receive to this, all accounts as long as in tools | Accounts | (Each account). Properties | General: include this account when receiving mail or synchronizing is checked.

    • What kind of problems are you having?
    • What happens if you send yourself a message?
    • Do you get?
    • Does show in sent items?
    • Error messages?

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How to solve problems of bluescreen int exp 9

    Need help to solve the blue screen on my Vista Home Premium, Int PC problems. 9.

    If you are unable to Windows, try to go to Mode without fail (quickly press F8 just before the Windows splash screen appears.

    Please provide the following information:

    -Zip please the contents of the directory C:\Windows\Minidump

    -Transfer to the public area of a SkyDrive (https://skydrive.live.com) account

    -Post a link here so we can download it.

    and

    -Go to start and type "msinfo32" and press enter

    -When the utility opens, save a copy of it as an .nfo file and another copy in a txt file.

    -Zip them upward and download them to the Public to a SkyDrive (https://skydrive.live.com) account field

    -Post a link here so we can download it.

    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    Use SkyDrive to upload collected files:

    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    Instructions courtesy of http://www.carrona.org/
    http://SysNative.com
    So much useful information here.

  • problems of exp and imp

    Hello world

    I need to export and import in a SID for a user to another.

    My export config file looks like:

    UserID=Name/Pass@Orka
    BUFFER = 1500000
    FILE = 'C:\backup\xxx. DB.bkp ".
    JOURNAL = 'C:\backup\xxx. "DB - exp.log.
    GRANTS = Y
    INDEX = Y
    LINES = Y
    CONSTRAINTS = Y
    CONSISTENT = Y
    OWNER = povilasora

    My import config looks like:
    UserID=Name/Passs@orkanew
    BUFFER = 1500000
    FILE = 'C:\backup\xxx. DB.bkp ".
    JOURNAL = 'C:\backup\xxx. "DB - imp.log.
    INDEX = Y
    LINES = Y
    CONSTRAINTS = Y
    fromuser = povilasora
    TOUSER = povilasora

    Export was successful. Import with error:

    Import: Release 10.2.0.1.0 - Production on a lie 26 11:47:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.2.0.1.0 - Production
    Export file created by EXPORT: V10.02.01 by conventional means

    CAUTION: objects have been exported by POVILASORA, not by you

    import in BLT8MSWIN1257 and AL16UTF16 NCHAR character set
    . import of objects of POVILASORA in POVILASORA
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    Import completed successfully with warnings.

    And I did not understant what the user will not end? User does not question.
    Fromuser and touser, can I write the same thing? POVILASORA? Because in orkanew is where no user such as POVILASORA.

    Do an export of user level exports only the objects for this user.

    When you import, it does not create the user that you are stating in your touser clause.

    You must create the povilasora user manually on your destination database. Your import will run successfully.

    Only if you perform a full export import create users that you then try to import as is the importation of system level that creates the users.

  • Export the database from another pc - problem EXP-00056

    Hi all,

    I have a pc (called PC1) with installed Oracle11gR2. I want to export the database from another pc (called PC2) which is connect with PC1 with a LAN.
    I have connected PC2 to PC1 so:
    $ ssh oracle@IP_of_PC1

    and as the user oracle, I tried export then:
    index of the_user/the_pass exp = y subsidies forced is y = y line is my_dump.dmp log = my_log.log

    but he said to me:
    Export: Release 11.2.0.1.0 - Production on Tue 7 Sep 14:44:13 2010

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    EXP-00056: ORACLE error 1034
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 error: 2: no such file or directory
    EXP-00005: all authorized logon attempts failed
    EXP-00000: export completed unsuccessfully

    Why it does not work?

    Thank you much in advance.

    Run this and show me where exactly you run

    index italia/italia@dbSID exp = y subsidies forced is y = y line is dump070910italia.dmp

  • problem exp/imp

    Hello
    I'm trying to export on my solaris machine. But the problem is, there is no space on the machine (big as the db). So can I export. Please advice

    Concerning

    Yes.

    Nicolas.

  • Problem with triggers after datapump with remapping of the color scheme.

    I have an import/export using datapump and remappe the name of the schema for a new name. All exported very well except for triggers that are now fire the old schema name. Nobody knows in a quick way, I can change all of these triggers to fire on the new scheme?

    You can use the dbms_metadata.get_ddl function, run this old pattern then you get a few scripts and run this new scheme.

    declare
    r varchar2 (4000);
    Start
    -Select dbms_metadata.get_ddl ('TRIGGER', TRIGGER_NAME) from user_triggers
    c in the loop (select TRIGGER_NAME from user_triggers)
    r: = dbms_metadata.get_ddl ('TRIGGER', c.TRIGGER_NAME);
    dbms_output.put_line ('R =' | r);
    end loop;
    end;

  • I have a unique connection on Outlook Exp v6 account. And the problem in the boofmark of security in this account.

    E-mail crypting massages and the connection on the bookmark "securities" account, there is a button (s) to choose private (individual) certificates for the digital signature. The fact is that I get the message "you don't have any certificate. As I see they are should be files such as *.epf, *.pfx, *. P12, which serves for the purpouse. I tried to find these files by using the search PDF Panel but unnecessarily. Those certificate No. locates on my computer. I want to get an answer where can I get these certificates and how to configure them in the existing login account. Thank you

    Hello

    It is not just a matter of control you these features in your e-mail application.

    The e-mail account and its Internet server must be matched and configured with the same security and certificates setting.

    If you do not need this level of security you should check with your email provider if they provide these services, or choose another supplier that makes.

    Once settled with the vendor, they will provide the certificate and its letters of nobility.

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • 9i to 10g using conventional problem imp/exp migration patterns

    I have a 9i on windows xp and a 10g in a windows server 2003

    I want to export example tablespace for 9i and 10g.

    10g has no schema sample.

    I tried full export of export and a tablespace then when I imported all the imported schemas, tables 10g base in human resources, Ow, sh, ix and other tables were imported except for the pm.

    There is only 1 table that cannot be imported into the schema of the pm, which is online_media.

    This is my command imp system/oracle import file = full.dmp fromuser = touser = pm pm

    Here is the log:

    Export file created by EXPORT: V09.02.00 by conventional means

    import in WE8MSWIN1252 and AL16UTF16 NCHAR character set

    import server uses the AL32UTF8 (possible character set conversion) character set

    . import objects from the PM to PM

    IMP-00060: WARNING: jump table "PM". «' ONLINE_MEDIA ' because the object type ADR «»

    YS. "" ORDDOC ' does not exist or to identify different

    . . table import 'PRINT_MEDIA' 4 imported lines

    . . importing table "TEXTDOCS_NESTEDTAB" 12 imported lines

    IMP-00017: statement failed with error ORACLE 942:

    'ALTER TABLE 'ONLINE_MEDIA' ADD 'LOC_C_ID_FK' FOREIGN KEY ('PROD' CONSTRAINT '.

    "CT_ID") REFERENCES 'OE '. "" "PRODUCT_INFORMATION" ('PRODUCT_ID') ACTIVATE NOVALID.

    "SSA".

    IMP-00003: ORACLE error 942

    ORA-00942: table or view does not exist

    IMP-00017: statement failed with error ORACLE 942:

    'ALTER TABLE 'PRINT_MEDIA' ADD 'PRINTMEDIA_FK' FOREIGN KEY ('PROD' CONSTRAINT '.

    "UCT_ID") REFERENCES 'OE '. "" "PRODUCT_INFORMATION" ('PRODUCT_ID') ACTIVATING NOVALI.

    "DATE OF".

    IMP-00003: ORACLE error 942

    ORA-00942: table or view does not exist

    IMP-00017: statement failed with error ORACLE 942:

    "SCAN TABLE"ONLINE_MEDIA"ESTIMATE STATISTICS.

    IMP-00003: ORACLE error 942

    ORA-00942: table or view does not exist

    About to activate the constraints...

    IMP-00017: statement failed with error ORACLE 942:

    ' ALTER TABLE 'ONLINE_MEDIA' ENABLE CONSTRAINT "LOC_C_ID_FK"

    IMP-00003: ORACLE error 942

    ORA-00942: table or view does not exist

    IMP-00017: statement failed with error ORACLE 2430:

    "ALTER TABLE"PRINT_MEDIA"ENABLE CONSTRAINT"PRINTMEDIA_FK"

    Import completed successfully with warnings.

    Note that I created the example tablespace and patterns.

    desc online_media output is:

    SQL > desc online_media

    Name                                      Null?    Type

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

    PRODUCT_ID NOT NULL NUMBER (6)

    PRODUCT_PHOTO ORDSYS. ORDIMAGE

    PRODUCT_PHOTO_SIGNATURE ORDSYS. ORDIMAGESIGNATURE

    PRODUCT_THUMBNAIL ORDSYS. ORDIMAGE

    PRODUCT_VIDEO ORDSYS. ORDVIDEO

    PRODUCT_AUDIO ORDSYS. ORDAUDIO

    CLOB PRODUCT_TEXT

    PRODUCT_TESTIMONIALS ORDSYS. ORDDOC

    If you copied the definitions of objects ORDSYS of 9i and 10g, so I think that it is incorrect. You should have instead installed/activated ORDSYS in 10g according to the 1078222.1

    HTH
    Srini

Maybe you are looking for