EXPORT FILE을 SPLIT하여 받는 방법

제품 : ORACLE SERVER
작성날짜 : 2002-04-19
EXPORT FILE을 SPLIT하여 받는 방법
=================================
PURPOSE
이 자료는 export시 2GB이상의 export dump file을 만들지 못하는 제약사항에 대하여 여러 export file로 나누어 받는 방법을 설명한다.
Explanation
!!! IMPORTANT: 이 방법은 반드시 KORN SHELL (KSH) 에서 작업해야 한다. !!!
만일 ksh을 쓰지 않을 경우는 unix prompt에서 ksh라고 치면 변경이 된다.
unix pipe와 split command를 사용하여 disk에 1024m(약1GB)씩 export file이 생기면서 export된다.
export나 import시 제공되는 모든 parameter의 추가적인 사용이 가능하다.
Export command:
echo|exp file=>(split -b 1024m - expdmp-) userid=scott/tiger tables=X
사용예> echo|exp file=>(split -b 1024m - expdmp-) userid=scott/tiger log=scott.log
위와 같이 split하여 export를 받을 경우 file name은 expdmp-aa, expdmp-ab...expdmp-az, expdmp-ba... 으로 생성된다.
Import command:
echo|imp file=<(cat expdmp-*) userid=scott/tiger tables=X
사용예>echo|imp file=<(cat expdmp-*) userid=scott/tiger ignore=y commit=y
split와 compress를 같이 사용해도 가능하다.
Export command:
echo|exp file=>(compress|split -b 1024m - expdmp-) userid=scott/tiger tables=X
Import command:
echo|imp file=<(cat expdmp-*|uncompress) userid=scott/tiger tables=X
*** 위의 작업을 solaris에서 test가 되었다. os 종류에 따라서 shell command는
달라질 수 있다.
이 외에도 split command를 사용하지 않고 unix pipe와 compress를 사용하여
3-step의 작업으로 export file size limit의 회피를 위한 방법도 가능하다.
Export command:
1) Make the pipe
mknod /tmp/exp_pipe p
2) Compress in background
compress < /tmp/exp_pipe > export.dmp.Z &
-or-
cat p | compress > output.Z &
-or-
cat p > output.file & )
3) Export to the pipe
exp file=/tmp/exp_pipe userid=scott/tiger tables=X
Import command:
1) Make the pipe
mknod /tmp/imp_pipe p
2) uncompress in background
uncompress < export.dmp.Z > /tmp/imp_pipe &
-or-
cat output_file > /tmp/imp_pipe &
3) Import thru the pipe
imp file=/tmp/imp_pipe userid=scott/tiger tables=X
Reference Ducumment
<Note:1057099.6>

Similar Messages

  • Syndicator Server: possible to split the export file in multiple file?

    Hello,
    is it possible to split the export files into multiple files e. g. at 5000 records?
    Perhaps there is a possibility in the mdss.ini? Or a setting in the mapping?
    Thank your for your responses!
    Melanie

    Hi Melanie,
    - If you are syndicating in the Xml format you have the option to syndicate one xml for every record. or multiple records one xml.
    For this you have to make a simple setting in the Syndicator-> Map properties->XML file output->(multiple files/single file)
    Other way around is:
    - If you are syndiacting in any other format say text then the output file goes as one file for all records present in the MDM repository, for this you can use the search options.
    - Create a search on some field value which will select a set of records from the lot.
    - Then you can syndicate only those records which satisfies the  search criteria.
    - In this way it is possible to syndicate in parts
    Hope It Helped,
    Kindly Reward Points if found useful
    Thanks & Regards
    Simona Pinto

  • Recovery from bad export file - IMP0009 error

    Hi all,
    I have a large export that is split into 2Gb chunks using FILESIZE option at export .. string is something like this:
    exp userid=xxx/xxx filesize=2048M file=bu${DATE}_01.dmp,bu${DATE}_02.dmp,b
    u${DATE}_03.dmp full=y log=bu${DATE}.log
    ..export log showed no errors but on import I'm getting IMP0009 : abnormal end of export file
    Typically there's a rather large and important table that's split between the first and 2nd files which I really need to get at. If I import at the moment it rolls back the first 1.1 million odd rows before it fails and it wont load the 2nd file at all, says something about the sequence of the file being incorrect.
    OS is AIX 4.3.3
    Oracle is 8.1.7.0.0
    Any ideas how I can recover the table that is split accross files? I've tried catting the files together to form one large one (and import on an OS without file system size limits) .. no dice although perhaps I can alter it to fool it into thinking it's 1 file??
    Thanks in desparation!
    Adam

    Username:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    IMP-00046: using FILESIZE value from export file of 2147483648
    . importing C45966's objects into C45966
    "CREATE TABLE "CUST_LEDGER_BALANCE" ("HOUSE" CHAR(6) NOT NULL ENABLE, "CUST""
    " CHAR(2) NOT NULL ENABLE, "SERVICE_GROUP" NUMBER(2, 0) NOT NULL ENABLE, "LE"
    "DGER_SEQ" NUMBER(10, 0) NOT NULL ENABLE, "LDGRDATE" DATE NOT NULL ENABLE, ""
    "STMT_DATE" DATE NOT NULL ENABLE, "LDTYPE" NUMBER(2, 0) NOT NULL ENABLE, "AM"
    "OUNT" NUMBER(12, 0) NOT NULL ENABLE, "DECIMAL_CNT" NUMBER(1, 0) NOT NULL EN"
    "ABLE, "SUMCODE" CHAR(3) NOT NULL ENABLE, "LEDGER_STATUS" NUMBER(1, 0) NOT N"
    "ULL ENABLE, "PROG" NUMBER(3, 0) NOT NULL ENABLE, "PRINT_FLAG" NUMBER(1, 0) "
    "NOT NULL ENABLE, "CYCLE_DATE" DATE NOT NULL ENABLE, "DUE_DATE" DATE NOT NUL"
    "L ENABLE, "MULTIMONTH_CNT" NUMBER(2, 0), "MULTIMONTH_AMT" NUMBER(12, 0)) P"
    "CTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 239796"
    "224 NEXT 4194304 MINEXTENTS 1 MAXEXTENTS 240 PCTINCREASE 0 FREELISTS 1 FREE"
    "LIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TBL_CUST_LED_C45966""
    . . skipping table "CUST_LEDGER_BALANCE"
    IMP-00009: abnormal end of export file
    Import terminated successfully with warnings.
    ..they were transferred in binary mode. Same result if I specify 2048M filesize in import string. Only seems to affect the table that is broken into 2 files, others seem OK.
    Thanks!
    Adam

  • Essbase 9.3.3 - data export files

    Hi
    I know when creating exports in Essbase when a file reaches 2gb Essbase will automatically generate a new file of the same and append the extension _1 to the name. I'm trying to find out if there is a way to control where the split happens. At the moment when I open the second file it starts halfway through a data line and then the header row appears about 80 rows down into the file. This means I get issues when trying to load this file into another cube using a load rule.
    These are the settings I have at the top of my export file.
    SET LOCKBLOCK HIGH;
    SET UPDATECALC OFF;
    SET AGGMISSG ON;
    SET NOTICE DEFAULT;
    SET MSG SUMMARY;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    SET EMPTYMEMBERSETS ON;
    SET CREATEBLOCKONEQ OFF;
    SET CREATENONMISSINGBLK OFF;
    SET FRMLBOTTOMUP ON;
    SET DATAEXPORTOPTIONS
    DataExportLevel LEVEL0;
    DataExportDynamicCalc OFF;
    DataExportDecimal 6;
    DataExportPrecision 16;
    DataExportColFormat ON;
    DataExportColHeader "Synapse Pipeline Stage";
    DataExportDimHeader ON;
    DataExportRelationalFile OFF;
    DataExportOverwriteFile ON;
    DataExportDryRun OFF;
    Thanks in advance for any help.

    Could you not break up the export into multiple exports to bring the file size down to less than 2GB, then load the multiple exports into your target database.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Illustrator CS3 Import and Export File Format list?

    Hello,
    Has anyone typed up an updated supported import and export file format list for CS3? I used to reference a support knowledgebase document, 1001741, (no longer on Adobe's site) that showed the majority of file formats and versions that Illustrator was able to import. I searched all over and couldn't find one, then called support and they confirmed they no longer had a list like that available--they had split the import options into separate lists--like what versions of Photoshop files, what versions of .eps files, .tiff files etc. Illustrator CS3 could open.
    The reason I was looking because I wanted to see what version Corel file CS3 could open after I was not able to open a customer's v.12 .cdr file.
    Thanks,
    Rick H.

    I am pretty sure that the last supported version of Corel that AI can open is version 10.
    :) Mordy

  • Open an Exported File directly in Photoshop (after exported file created)

    var doc = app.activeDocument;
    var destFolder = Folder ("~/Documents");
    if (destFolder) {
         var fileName = activeDocument.name;
        var destFile = new File(destFolder + '/' + fileName);   
        var psdExportOptions = new ExportOptionsPhotoshop();
        // Set PSD export options
        psdExportOptions.saveMultipleArtboards = true;
        psdExportOptions.artboardRange = "1";
        psdExportOptions.antiAliasing = false;
        psdExportOptions.resolution = 300;
        psdExportOptions.embedICCProfile = false;
        psdExportOptions.writeLayers = false;
        psdExportOptions.imageColorSpace = ImageColorSpace.CMYK;
        doc.exportFile (destFile, ExportType.PHOTOSHOP, psdExportOptions);
    This code I created exports my current Ai document as a PSD with set options. It also names the new file what it is called in Ai.
    How can I call the created file and open it directly in Photoshop? Keep in mind I would be working on multiple files, so file names would change every time I ran this Export Script.
    I could call a specifically named file and open that, but that's not what I need this script to do. I just need it to open the newly created PSD file. Any help would be greatly apreciated!!!

    Hi Mark,
    BridgeTalk or for simple commands like this, Interapp communication (Cross-DOM)
    use photoshop.open(fileObject);
    before that you need to build your newly exported file object
         doc.exportFile (destFile, ExportType.PHOTOSHOP, psdExportOptions);
    var psfile = new File(destFolder + '/' + fileName.split('.')[0] + '-01.psd');
    if (psfile.exists) {
         //alert('file exists')
        photoshop.open(psfile);
    else
        alert('file does not exist');

  • Multipackage missing export file

    I want to write two applets and they are not in the same package.
    The app1/class1 in package1 will import app2/class2 in package2. Also, the app2/class2 in package2 will import app1/class1 in package1.
    When compiling, missing export file errors occur. How to solve this errors?

    In Java Card you can think of a package as an individual JAR file. When you build a package, you need all of the details of any imported packages for the converter to work. This means you need to have successfully converted all packages you import. This is why you cannot convert with a circular reference like you have. What you need to do is to split the common code into a library package that can be used by both applets. You can also just move them into the same package.
    - Shane

  • Capture files split

    When I capture a file larger than 2GB, FCP splits the file in two files with -v and -v-1 after them. In system settings, I've checked the box "Limit Capture/Export File Segment to: 10000MB" which should allow capture for a file up to 10GB. (The box was previously unchecked, but FCP was still splitting the capture files.) Anyone experience this problem?

    Your media drive is formatted as FAT32. One of the limitations of FAT is that individual files can't be larger than 2 GB.
    Reformat your media drive as HFS+ and you'll be good to go.

  • Export file created was 6G

    We ran an export for zero-level data and were expecting 5 export files. Instead 3 export files were created, and the first file was 6G, the second 2G, and the third, less than 2G. Does anyone know why this happenned?

    Are you using parallel export? If so, Essbase makes a guess on how to split the data, sometimes it a pretty good guess other times not. The files represent the sections of the cube each exported

  • Help exporting files please

    I am trying to export files from pages to my itunes account. How can I do this. I know the button on the bottom of the screen were you can choose this option the click which type of format I would like but I do not know how to get it off of itunes from my computer?

    To start, did you export them did you use File > Export > All tracks to audio files or another method? Either way, the engineer should realize that even if they were showing audio on the left and right channel, they're still mono. The waveform is exactly the same on each side (they should look identical). Tell him to pick the left or right side, it doesn't matter.
    ProTools will split them when he imports them anyways.

  • Error During INSTALL of Application Export File

    An error is reported during INSTALL of an application that I am trying to copy (Import/Install) from a "development" Work Space into a "production" Work Space. The production (target) Work Space is on the same HTML DB instance as the development Work Space.
    I am receiving the following INSTALL error:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 15, column 1: PLS-00103: Encountered the symbol &amp;quot;,'39','RD8','8','S','10','U','43','UD','41','UG','11','W')) END)&amp;quot; when expecting one of the following: . ( * @ % &amp;amp; = - + ; &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;=
    Following is some pertinent (hopefully) information:
    The above INSTALL error takes exception to part of a Region Select (sql) that works fine in the development Work Space.
    The common HTML DB (v1.6) instance is on UNIX.
    A new Work Space was created on the same instance.
    A new schema name was created during creation of the new Work Space. However, this schema does not point to a database. (We were not certain how to setup the schema to parse to our live database.) I will be running DBLINK upon production application startup in order to access the database objects.
    EXPORT INFO -
    File Format: UNIX (also, tried DOS but received same error during INSTALL)
    IMPORT INFO -
    File Type: Application/Page Export
    File Character Set: Western European Windows 1252
    Target Work Space is newly created on the same HTML DB instance.
    INSTALL INFO -
    *Parse As Schema: COLLIVE17 (Again, this schema does not parse to a database. I intend to use DBLINK.)
    *Build Status: Run and Build Application
    Please refer to above error message.
    Again, any insights or suggestions are appreciated.

    Urgently need help! I've read several other Forum messages having a related problem but none having same Install error message.
    Again, my Export/Import from development Workspace to production Workspace is successful. The following error is reported when I attempt to "Install" into the production Workspace:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 15, column 1: PLS-00103: Encountered the symbol &amp;quot;,'39','RD8','8','S','10','U','43','UD','41','UG','11','W')) END)&amp;quot; when expecting one of the following: . ( * @ % &amp;amp; = - + ; &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;=
    The "snippet" of Region Sql Select code that relates to the reported error is:
    ELSE htmldb_item.display_and_save (5, DECODE (GET_GRADE_B93 (sac.stc_final_grade,sac.stc_verified_grade),'18','AU','1','A','3','B','4','C','7','CR','5','D','46','DR','6','F','47','FW','49','IB','30','IC','31','ID','23','IF','44','MW','9','NC','21','RD','14','RD0','33','RD1','32','RD2','34','RD3','35','RD4','36','RD5','37','RD6','38','RD7','39','RD8','8','S','10','U','43','UD','41','UG','11','W'),'GRADE_'||ROWNUM) END q_v_grade,
    HTML DB version is: 1.6.0.00.67. I've also tried to Export/Import/Install the application into the "same" Workspace specifying the same schema, and only changing the Application ID. However, I get the same Install error (see above).
    Any suggestions on things to try in order to get application into production is greatly appreciated.
    Thanks, Bernard.

  • Lightroom 5 cannot export files in original Raw format (LR 5.4, Mac, OS 10.9.4).

    A client has the following problem: When trying to export files in the original Raw format (.CR2), the operation failed and a dialog informs us that "Some export operations were not performed". We can export JPEGs just fine.
    After lots of testing, this is what we discovered:  The problem does not appear to be catalog-based; we run into the same problem using a test catalog.  The export operation works fine, however, with the same test catalog and images on two other machines, and it even works fine on the same machine with a new user admin account that we created. 
    So it appears to be something associated with the user account, , or with how LR is interacting with the user account, but I cannot figure out what it might be. We can copy the Raw files when using the Finder to do so. But not via Lightroom.  Any thoughts, ideas of suggestion would be greatly appreciated!  Thanks, Sean

    As part of your testing make sure you've tried exporting JPGs from the same folder as the CR2s you're exporting as original, and export JPGs from CR2s to the same folder as you're exporting your originals.  This would test LR's read and write permissions from and to the folders being used.
    From this document you can see that all the LR files other than the program, are under the /Users folder with different values possible for each user, so the difference could be that the users that work are using the original LR defaults, if you have just started using LR with them after you started having this problem, or at least that the user with the problem has some oddball settings that are interfering with Export as Original.
    Preference and other file locations in Lightroom 5
    You can test for the Preferences being off by either copying the preferences from a user that has the problem to a user that doesn't have the problem--probably through an external or common folder, or be deleting the preferences file from the user that has the problem and see if it resolves.  Moving the preferences file or renaming it may be better than deleting it if no change is seen, then you can restore the preferences back by moving or renaming the file back to the original location and name.

  • HOW TO REMOVE HYPHEN IN LAYER COMP EXPORT FILE

    HOW TO REMOVE HYPHEN IN LAYER COMP EXPORT FILE IN PNG FORMAT...

    I ususally do that type of thing with a state machine... read a token, look for what is next, and if it's the closing token, I don't write it out. You have well defined opening token syntax and closing token syntax, so it should be relatively easy.

  • Schema Import failed :IMP-00008: unrecognized statement in the export file:

    Hi ,
    I was running a database schema import from a database DMP file.
    I encountered the following error in the log file that was getting generated :
    IMP-00008: unrecognized statement in the export file:
    All the tables got copied except for one. Now what I have thought of is to import that one table again after taking an export from the prod schema.
    But what about the functions,triggers,procedures ?? How do i bring all of them in the schema ?
    If reimporting the schema again the only option ?
    Thanks
    Kk

    Hello,
    In this order:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023988
    Table Objects: Order of Import
    Table objects are imported as they are read from the export file. The export file contains objects in the following order:
    1. Type definitions
    2. Table definitions
    3.Table data
    4.Table indexes
    5. Integrity constraints, views, procedures, and triggers
    6. Bitmap, function-based, and domain indexes
    The order of import is as follows: new tables are created, data is imported and indexes are built, triggers are imported, integrity constraints are enabled on the new tables, and any bitmap, function-based, and/or domain indexes are built. This sequence prevents data from being rejected due to the order in which tables are imported. This sequence also prevents redundant triggers from firing twice on the same data (once when it is originally inserted and again during the import).
    For example, if the emp table has a referential integrity constraint on the dept table and the emp table is imported first, all emp rows that reference departments that have not yet been imported into dept would be rejected if the constraints were enabled.
    When data is imported into existing tables, however, the order of import can still produce referential integrity failures. In the situation just given, if the emp table already existed and referential integrity constraints were in force, many rows could be rejected.
    A similar situation occurs when a referential integrity constraint on a table references itself. For example, if scott's manager in the emp table is drake, and drake's row has not yet been loaded, scott's row will fail, even though it would be valid at the end of the import.

  • Imp-00008: unrecognized statement in the export file

    Hi All,
    I am trying to import an export from Oracle 8.1.7 source system to Oracle 11.2 using imp . I am getting the following errors may times during the import process.
    imp-00008: unrecognized statement in the export file
    The character set of Source data base is WE8DEC and the character set of target data base is WE8MSWIN1252 and i get the below statement during the start of the import
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8MSWIN1252 character set (possible charset conversion)
    export client uses WE8DEC character set (possible charset conversion)
    export server uses WE8DEC NCHAR character set (possible ncharset conversion)
    The error imp-00008: unrecognized statement in the export file is it due to the Oracle version compatibility or due to Character set compatibility issue.
    I tried to create a new Database on same Oracle sever and i cant find WE8DEC in the list of character set to choose. Please help me on how to proceed.
    Regards,
    alen.

    934571 wrote:
    Hi Srini,
    Data is getting loaded correctly, but i get several of these error imp-00008: unrecognized statement in the export file messages during the import process, so i am not sure what is missing.
    Pl post the complete error message from the import log file.
    1) Is it possible to import the dump exported form oracle 8 into oracle 11?? Do we need to take any special care during the import ??
    Yes - no special requirements are needed.
    2) The Oracale Database character set it WE8DEC, but when i try to create a new database in 11 , i dont find that character set , is the character set obsolete now , if so what character set is super set of WE8DEC ??
    Pl post exact OS and database versions. Ideally you should be using AL32UTF8 for all new databases. WE8DEC is a deprecated characterset.
    See section 4.2.1 here - http://docs.oracle.com/cd/E11882_01/install.112/e24186/install.htm#BABFDDEA
    Thanks,
    Alen.HTH
    Srini

Maybe you are looking for

  • High CPU usage warning, how to fix??

    Hey all -- First off, my laptop is brand new, and it is a Satellite C875D - S7120, using Windows 8. So far so good, everything seems to be fine EXCEPT...I am an artist and I have a couple of 3D programs installed. But every time I try to use them I g

  • Bridge CS3 on opening: "This Application may perform badly"

    I recently restored my PC to factory condition to troubleshoot performance problems in CS3 Production Premium. I reinstalled all my programs, but it got a little messy when I restored my backup files from an external hard drive. Lots of files ended u

  • MAB Configuration Issue

    with acs 4.2 installed in my network,   PEAP, EAP-TLS, md5... authentications work normally.  But Mac-Based-Authentication   doesnt work at all.  i tested every thing but no luck . This is what i have setup on Swith for MAB: aaa new-model aaa authent

  • Unable to type info into a PDF

    I have a client who uses Adobe Pro 7 at home and at work. He has 2 systems basically, which are a carbon copy of each other. All settings are relatively the same. However, the home system is not allowing him to input text into a PDF file. That same f

  • Flash and TAPI integration

    is it possible to integrate flash with TAPI if so what would i need. The Telephony Application Programming Interface (TAPI) is a Microsoft Windows API, which provides computer telephony integration and enables PCs running Microsoft Windows to use tel