My import takes days to complete..... How can I tune the import????

I have several Peoplesoft CIS tables that I need to refresh to my dev/tst/wrk environments. Some of tables have millions of records. I can't take a subset of the data because the Peoplesoft CIS applications doesn't quite use relations properly.
I export the tables.....
Mark the indexes unusable in the env to be refreshed
Truncate the tables in the env to be refreshed
Then start my import.....
This is where the problem starts... The export takes an hour and 45 min, where the import took 3 days and still didn't complete. The total size of the dump is 17,638,070 KB.
Please help, or is there a better way....
Cheryl Sewell
Sr. Oracle DBA

I export the tables......Mark the indexes unusable in the env to be refreshed
Truncate the tables in the env to be refreshed
Then start my import.....1)Import with rows=n indexes=n constraints=n
2)Import with ignore=y indexes=n constraints=y or create the indexfile for indexes and create the indexes with parallel nologging.
3)use Large buffer and commit=n
[http://www.dba-oracle.com/oracle_tips_load_speed.htm]

Similar Messages

  • I'm importing more than 1800 photos, and it got stuck with 382 photos left to be imported. How can I finish the import completely?

    I'm importing more than 1800 photos, and it got stuck with 382 photos left to be imported. How can I finish the import completely?

    What version of iPhoto?
    Are these photos different in any way? Black and White, for instance?
    Regards
    TD

  • Mail suddenly marks as spam what is not and viceversa. It has worked perfectly until a few days ago. How can I restore the old junk "learnt" list? Where is it to be found?

    Mail suddenly marks as spam what is not and viceversa.
    It has worked perfectly until a few days ago. How can I restore the old junk "learnt" list, since it is marking as SPAM senders who have been my correspondants for years?? Where is the old junk pref file to be found?

    Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
    I suggest that no response is made to this duplicate thread. 

  • How Can We Tune the Joins with "OR" Caluse ?

    Hi
    We've identified one Query in one of Our PL/SQL Stored Procedure which is taking huge time to fetch the records. I have simulated the problem as shown below. The problem Is, How can i tune the Jions with "OR" Clause. i have tried replacing them with Exists Caluse, But the Performance was not much was expected.
    CREATE TABLE TEST
    (ID NUMBER VDATE DATE );
    BEGIN
      FOR i IN 1 .. 100000 LOOP
        INSERT INTO TEST
        VALUES
          (i, TO_DATE(TRUNC(DBMS_RANDOM.VALUE(2452641, 2452641 + 364)), 'J'));
        IF MOD(i, 1000) = 0 THEN
          COMMIT;
        END IF;
      END LOOP;
    END;
    CREATE TABLE RTEST1 ( ID NUMBER, VMONTH NUMBER );
    INSERT INTO RTEST1
    SELECT ID, TO_NUMBER(TO_CHAR(VDATE,'MM'))
    FROM TEST ;
    CREATE TABLE RTEST2 ( ID NUMBER, VMONTH NUMBER );
    INSERT INTO RTEST2
    SELECT ID, TO_NUMBER(TO_CHAR(VDATE,'MM'))
    FROM TEST;
    CREATE INDEX RTEST1_IDX2 ON RTEST1(VMONTH)
    CREATE INDEX RTEST2_IDX1 ON RTEST2(VMONTH)
    ALTER TABLE RTEST1 ADD CONSTRAINT RTEST1_PK  PRIMARY KEY (ID)
    ALTER TABLE RTEST2 ADD CONSTRAINT RTEST2_PK  PRIMARY KEY (ID)
    SELECT A.ID, B.VMONTH
    FROM RTEST1 A , RTEST2 B
    WHERE A.ID = B.ID  
    AND ( (A.ID = B.VMONTH) OR ( B.ID = A.VMONTH ) )  
    BEGIN
    DBMS_STATS.gather_table_stats(ownname => 'PHASE30DEV',tabname => 'RTEST1');  
    DBMS_STATS.gather_table_stats(ownname => 'PHASE30DEV',tabname => 'RTEST2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST1_IDX1');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST2_IDX2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST1_IDX2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST2_IDX1');
    END; Pls suggest !!!!!!! How can I tune the Joins with "OR" Clause.
    Regards
    RJ

    I don't like it, but you could use a hint:
    SQL>r
      1  SELECT A.ID, B.VMONTH
      2  FROM RTEST1 A , RTEST2 B
      3  WHERE A.ID = B.ID
      4* AND ( (A.ID = B.VMONTH) OR ( B.ID = A.VMONTH ) )
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=94 Card=2 Bytes=28)
       1    0   TABLE ACCESS (BY INDEX ROWID) OF 'RTEST2' (Cost=94 Card=1 Bytes=7)
       2    1     NESTED LOOPS (Cost=94 Card=2 Bytes=28)
       3    2       TABLE ACCESS (FULL) OF 'RTEST1' (Cost=20 Card=100000 Bytes=700000)
       4    2       BITMAP CONVERSION (TO ROWIDS)
       5    4         BITMAP AND
       6    5           BITMAP CONVERSION (FROM ROWIDS)
       7    6             INDEX (RANGE SCAN) OF 'RTEST2_PK' (UNIQUE)
       8    5           BITMAP OR
       9    8             BITMAP CONVERSION (FROM ROWIDS)
      10    9               INDEX (RANGE SCAN) OF 'RTEST2_IDX1' (NON-UNIQUE)
      11    8             BITMAP CONVERSION (FROM ROWIDS)
      12   11               INDEX (RANGE SCAN) OF 'RTEST2_PK' (UNIQUE)
    Statistics
              0  recursive calls
              0  db block gets
         300332  consistent gets
              0  physical reads
              0  redo size
            252  bytes sent via SQL*Net to client
            235  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed
    SQL>SELECT /*+ ordered use_hash(b) */ A.ID, B.VMONTH
      2    FROM RTEST1 A, RTEST2 B
      3   WHERE A.ID = B.ID  AND(A.ID = B.VMONTH OR B.ID = A.VMONTH)
      4  ;
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=175 Card=2 Bytes=28)
       1    0   HASH JOIN (Cost=175 Card=2 Bytes=28)
       2    1     TABLE ACCESS (FULL) OF 'RTEST1' (Cost=20 Card=100000 Bytes=700000)
       3    1     TABLE ACCESS (FULL) OF 'RTEST2' (Cost=20 Card=100000 Bytes=700000)
    Statistics
              9  recursive calls
              0  db block gets
            256  consistent gets
            156  physical reads
              0  redo size
            252  bytes sent via SQL*Net to client
            235  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed

  • How can I change the import options for an Excel table in InDesign CS5.5?

    Hi,
    I have a problem with an InDesign script that works this way in ID CS4 and ID CS5, but stops working in ID CS5.5.
    What the script should do, is to change the import preferences for a table saved in an Excel file so that I can place an unformatted table into a new textFrame in my InDesign document. The Excel document is an .xlsx-File.
    function setExcelImportPrefs() {
        with (app.excelImportPreferences) {
             app.excelImportPreferences.tableFormatting = TableFormattingOptions.excelUnformattedTable;
    What the script does (or at least seems to do) is: nothing. The table that is placed into the textFrame by the script is always formatted, as this seems to be the standard preference of InDesign CS5.5 for importing tables out of excel files.
    Does anybody have a hint for me how to make the script work in ID CS5.5?

    Okay, now it is working. I had to save the XLSX-file into the older XLS format, but that seems to work quite well.
    But I won't ever understand why InDesign loses its backward compatibility from one version to the other.
    Thank you, -hans-.

  • When importing DWG files to Illustrator, how can I keep the same coordinates (x,y location) of the original file?

    In previous Illustrator versions, when I imported a file, the Autocad block would appear in the x,y right location. So if the middle of the block was 0,0 then when imported, half the block would be on the page and half outside (on the negative space). Now when I do the import in Illustrator CC, it appears in random areas of the artwork. Most times not even on the page, but the negative space. So how can I manage where it lands?

    Looks to be a good question for an MS Word forum / user community.
    Be well...

  • OT: How can we tune the search performance from the HTMLDB side?

    This might be not an issue that can be solved by HTMLDB itself. However, I'd like to give a shot because our HTMLDB apps are 'killing' the server, according to our DBA. One app I made is querying a 50 million records table, so everytime the query is fairly slow. Is there any way to tune the performance? Our DBA suggests using other tools like Discoverer or Orable Form to do the work of HTMLDB.
    Thanks for the inputs.
    Luc

    not OT.
    as noted, you need to determine which SQL statements are the culprit (various ways, your DBA should be very happy to help)
    but if you are using wizards that include a search field, you may be falling victim to some very inefficient SQL generated by HTML-DB/Apex, for instance (created by the application wizard for an application based on a table, creating a page with a report and a form):
    select
    "ID",
    "OBJECT_OWNER",
    "OBJECT_TYPE",
    "OBJECT_NAME",
    "TAB_COMMENTS",
    "OBJECT_CREATED",
    "OBJECT_MODIFIED",
    "USAGE_NOTES",
    "OBSOLETE_FLAG"
    from "DEV_TAB_COMMENTS"
    where
    instr(upper("OBJECT_OWNER"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_OWNER"))) > 0 or
    instr(upper("OBJECT_TYPE"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_TYPE"))) > 0 or
    instr(upper("OBJECT_NAME"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_NAME"))) > 0 or
    instr(upper("TAB_COMMENTS"),upper(nvl(:P1_REPORT_SEARCH,"TAB_COMMENTS"))) > 0 or
    instr(upper("USAGE_NOTES"),upper(nvl(:P1_REPORT_SEARCH,"USAGE_NOTES"))) > 0 or
    instr(upper("OBSOLETE_FLAG"),upper(nvl(:P1_REPORT_SEARCH,"OBSOLETE_FLAG"))) > 0
    which will do a full table scan no matter what search criteria you enter, and cannot be fixed on the database side -- sometimes SQL can be fixed with the creation of function-based-indexes( FBI), that won't work here.
    if your pages have such SQL, it needs to be rewritten to take advantage of indexes (FBI or otherwise)

  • TS4036 My old iPhone got damage and sprint changed it when I try to restore from iCloud I don't have the option to choose the latest back up instead it restored a version that is like 192 days old. How can I see the restore that I want?

    Hello
    Today I got my iPhone 4s changed from sprint and when I enter my icloud information it gives me an old backup (196 days old) and I back up automatically all nights , there was no choice to select which one I wanted or anything. So I ended up loosing a lot of important information, all the pictures and everything that I did the past 196 days. I try to see if there is a place on the web that the back up data is displayed but I haven't found anything. I have a lot of important information on icloud, to the extend that I even pay for more space because I use the  iPhone as part of my work. Can someone please explain to me what has happen and if there is a way that I can recover my information? I am desperate it is very important. Thank you very much!
    Fransuas

    Once in a while the restore process seems to mess up.  What I don't understand is why you would perform a weekly restore.
    At any rate, if you must restore, perform a device reset (settings>general>reset) and then you will have the opportunity to restore from iCloud.  Restore a device whenever it no longer works correctly, not just as a matter of maintenance.  If it ain't broke, don't fix it.

  • How can you change the import settings in iTunes 8?

    The option in "Advanced Preferences" to say what format you want to import tracks no longer seems to be available in iTunes 8. Where is it?

    I too have problems importing CDs. I get an error message that says, "Error occurred while converting the file, you do not have enough privileges". Being a very recent convert from PCs I am a relative novice I cannot find my way around this machine very well and do not know how to change the privileges. I have got as far as altering permissions in Get Info, and have done the Repair disk permissions in the Disk Utility, but to no avail. Can anyone help please, I have to rescue the situation before my wife throws the machine out the window and forces me back top the dark side!!
    Thanks

  • How can i cancel a import?

    Hi all,
    i start on friday the Import of SAP-JEE,SAP-BUILDT,SAP-JTECHS,SAPPCUI_GP and  SAP-ESS. Because of an maintenance action on saturday the server shutdown.
    How can i cancel the import in the CMS?
    The state in the CMS is "Import running" but the last action in the log file was on saturday before the shutdown. I have stop and restart the system again, but the same state
    Did somebody now, who i stop this process?
    Thanks and regards
    Markus

    Hi Sangeeta,
    i try this, but i found only two entries in all buildspaxes (Buildspace independent search):
    600 SUCCEEDED INIT_COMPARTMENT NWDI_CMSADM 
    599 SUCCEEDED INIT_COMPARTMENT NWDI_CMSADM 
    both entry have the state confirmed with a green sign.
    But in the CMS i have stll the stats "import running"
    Have you a other idea?
    thanks!!

  • What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    You should be able to select Force Quit from the menu beneath the Apple icon in Finder
    and choose to Quit iPhoto from there, without messing up the Mac OS X in the process.
    OS X - Support
    Not sure if rebuilding the iPhoto library would help this issue. However if you had to
    turn off the computer without the correct method (unplug, etc; instead of menu choice)
    the system may have accrued damages and should be checked, maybe repaired by
    use of the Disk Utility in the system. Or restart the computer in Safe Boot mode, then
    run 'repair disk permissions' while it is running in that reduced mode; then restart after.
    •Understanding Safe Mode - tuts+ computer skills tutorial:
    http://computers.tutsplus.com/tutorials/understanding-safe-mode--mac-59897
    •OS X: What is Safe Boot, Safe Mode?
    Suggestions on how to use Safe Mode in article, to resolve issues, may be helpful.
    There likely are other means to rectify troublesome applications, including reinstall.
    Be sure to backup your music, image, video, and other work on an external drive
    or suitable device as a precaution against loss should there be a hard drive failure.
    iPhoto - Mac Apps - Apple Support
    There should be some tips and help information using iPhoto via this tiny Support link.
    Good luck & happy computing!

  • HT4061 I just bought a new iPad min and it will not complete the initial up its been hooked up to me computer 2 days no results how can i send a photo of what it is doing apple almost complete white bar but won't go 100% ?

    I just bought a new iPad min and it will not complete the initial up its been hooked up to me computer 2 days no results how can i send a photo of what it is doing apple almost complete white bar but won't go 100% ?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • I purchased an iPhone 3 and had photos on it. Started having issues within 30 days and could replace it. Moved photos to back up on iCloud. did not restore new phone from back up how can i save the new photos and retrieve the old ones?

    I purchased an iPhone 3 and had taken some photos on it. I started having issues within 30 days and could replace it. So I created an iCloud account and  saved those photos as a back up on iCloud. I did not restore my new phone from back up because I did not realize I needed to restore and not just activitate it. How can I save the new photos, apps, and other stuff but retrieve the old photos?

    If all you want is your old photos, you could backup your new phone using iTunes, then restore it from your iCloud backup, import the old photos to your computer, then restore it from the backup your made in iTunes returning your newer data to your phone.  If you want your old photos on your phone, sync them there from your computer using iTunes.  The process would look like this:
    Connect your phone to your computer, when it appears in iTunes on the left sidebar right-click on it and select Transfer Purchases; right-click again and select Backup.
    Disconnect from your computer and go to Settings>General>Reset>Erase All Content and Settings to return it to new
    Go through the activation setup, choosing to Restore from iCloud backup.  Make sure your phone is plugged into a charger and has access to wi-fi as this can take hours to complete.
    When complete, without connecting your phone to your computer, open iTunes and go to Preferences.  On the Devices tab check "Prevent...from syncing automatically"
    Now import the old photos to your computer (see http://support.apple.com/kb/HT4083)
    When done, open iTunes, right-click on the name of your phone on the left sidebar and select Restore from Backup, choose the backup you made in step 1.
    Go to the Photos tab and select the photos you want to sync to your phone and sync.

  • How can i hnow the applet had load complet by javascript?

    hi,how can i hnow the applet had load complet by javascript?
    my applet load by <object> tag,
    i add a "onload" event listener to the html page's <body> tag,but the event listener is call by the page load,
    but ,the applet sometime has not loaded complet,so how can i know the applet had loaded complet!
    the <OBJECT>has some method to check the applet load status??
    3KS!

    You can have your applet call some javascript to inform that it is loaded. Make the call from your
    applet's start method
    Suppose you have a javascript function called "appletReady()"
    which sets a ready variable to true or whatever.
    Now in your start method of your applet you can do the following:
           JSObject win = null;
            try
                win = (JSObject)JSObject.getWindow((Applet)this);
                if (win == null)
                    System.err.println("JSObject window was null");
                else
                        win.call("appletReady",null);
            catch (Exception jse)
                System.err.println("Exception: " + jse);
            }Make sure you import netscape.javascript.
    And when you compile use the appropriate jaws.jar in your classpath
    It should be found under jre/lib of your JDK installation.
    I hope this helps.

  • How can I improve an Import/ Export performance?

    Hi,
    How can I improve an Import/ Export performance?
    Also any good links to learn about Datapump Please?
    Thanks,
    Felipe.

    F. Munoz Alvarez wrote:
    Dear Felipe,
    Please take a look on this excellent notes by Chris Foot about datapump:
    * http://www.dbazine.com/blogs/blog-cf/chrisfoot/blogentry.2006-06-08.1893574515
    * http://www.dbazine.com/blogs/blog-cf/chrisfoot/blogentry.2006-06-02.2786242018
    * http://www.dbazine.com/blogs/blog-cf/chrisfoot/blogentry.2006-05-26.3042156388
    * http://www.dbazine.com/blogs/blog-cf/chrisfoot/blogentry.2006-05-19.6918984141
    Notes are excellent but nowhere, in all the 4 links he talks about performance improvement. He is just discussing the concepts :(
    Amardeep Sidhu

Maybe you are looking for