SQL*Loader options - which of the two is faster?

Hi, I am loading data into a staging table, using sqlldr. There are no indexes, and the table can be truncated.
the number of rows is known prior to the call, so i can set rows=...
it is a fixed size CHAR/INTEGER record of around 100 bytes.
Oracle is 10g.
Now I am getting following sqlldr warning:
SQL*Loader-281: Warning: ROWS parameter ignored in parallel mode.
Cause: Specifying save points using the ROWS parameter is
not supported for parallel loads.
Action: Remove the ROWS parameter from the command-line
arguments or specify a non-parallel direct load to have save
points performed.
Hence my question is, which of the two is faster?
I could either:
- trigger a direct load with TRUNCATE in the control file, and rows=<total number of rows>
or
- truncate table before loading, trigger a parallel load, APPEND, and give sqlldr potentially separate files in the correct parallellism that it can handle (so, e.g., 16 small files)
thanks
Arne

Hi,
1. Go to WAD.
2. Open any web template ( Search for * analysis )
3. Select one template .
4. Save as ..new name
5. In the data provider change the data provider name and change the report name.
6. test it .
5. If you want to chane the layout and all , go to DHTML code and change as per your requirement .
6. You can directly publish it from Query also ..it is fast .This will directly attach to your portAL.
Regards
Nilesh

Similar Messages

  • SQL*Loader does not recognise the \ in directory

    Hi there,
    We have version OWB 9.2.0.2.8 and I am trying to run SQL*Loader. I have tried to use an external table and also got "cannot find file" which I suspect could be the same problem. I then tried to load the data with SQL*Loader and saw that the directory specification of the source data file has "mysteriously" lost the \'s.
    Below is a copy of the .log file with data file specified incorrectly. It should be u:\bi\data\ocean_shipment.csv. Any ideas?
    Data File: u:biocean_shipment.csv
    Bad File: /opt/oracle/product/OWB/9.2.0/owb/temp/u:biocean_shipment.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 200 rows, maximum of 50000 bytes
    Continuation: none specified
    Path used: Conventional
    Table "DWHSTG"."S_SHIPMENT_TYPES", loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    Column Name Position Len Term Encl Datatype
    "SHIPMENT_CD" 1 * , O(") CHARACTER
    "SHIPMENT_NAME" NEXT * , O(") CHARACTER
    "LOAD_DATE" SYSDATE
    SQL*Loader-500: Unable to open file (u:biocean_shipment.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.

    Jean-Pierre,
    That was the first thing I checked - even put it in (with \'s on the configuration parameters of the mapping). ALso unregistered and re-registered the location, ensured I put the slashes in, but to no avail. But I do belief there might be a bug outstanding for the location with directory separators - will check on metalink and let you know.

  • Acrobat 9 or Designer 8.2  Which of the two is best program to design a form in.

    I have some questions that I would like explained to me (by you long time users)
    I have acrobat 9 and designder 8.2.1
    1. Which of the two is best program to design a form in.
    2. What is the differance between the two in designing a form.(advantages / disadvantages)
    3. If I have a word .doc form that I want to make into a pdf, which program is best to open it in to work on, Adobe 9 or designer.
    4. If I create a form in Adobe 9 or designer can I open it in either after saving it to continue working on.
    TIA
    Tony

    I think this is a matter of opinion. The drawback of using Designer is that you can no longer edit in Acrobat at all. Those of us that learned in Acrobat, often favor the Acrobat route. In Designer you can import WORD forms and that might be useful at times; however, you can not edit it in Acrobat. Indeed, you can still open the form made in either using Reader or Acrobat. If you want backward compatibility, you need to be careful about saving it as such and not adding capabilities that are new with AA9. Those capabilities will be lost with earlier versions.
    The best way is to try it both ways and see what you think. When you buy Acrobat, Designer is part of the package. Thus you have the choice and can try both. Make a sample PDF for creating a form and then make 2 copies. You might even start out with a WORD form. Discover the pros and cons yourself. I have never felt the need to go to Designer and it seems that a lot of folks go there only because that is where the forms menu sends them, not realizing they could have used the TOOLS in Acrobat.

  • Which of the two stores data permanently

    pls could someone tell me
    which of the two stores data permanently in a stand alone application
    Collections or use of JDBC

    The JDBC is better, you can have persistent Collections e.g. Berkerley DB but using a Database is more flexible and manageable.
    BTW: The berkerley DB has higher performance.

  • Which of the two monitors do you recommend for Adobe Photoshop Lightroom 5:  EIZO CG 277 Coloredge o

    HI,
    Which of the two monitors do you recommend for Adobe Photoshop Lightroom 5:
    EIZO CG 277 Coloredge or NEC PA-272W.
    Thanks in advance for your reply.

    It depends on where you are. Things are very different in Europe (Italy?) compared to the US situation.
    The price difference between comparable NEC/Eizo models in Europe actually goes in Eizo's favor. The regular NEC PA272 in Europe cannot be hardware calibrated (it has a firmware lock) and the comparable offering would be either the NEC Spectraview 272 or the Spectraview Reference 272. These are more expensive than the Eizo CG277.
    Note that the European PA272 can be hardware calibrated with the US Spectraview II software - but that software cannot be bought in Europe and has to be imported from the US.
    All these displays are top reference quality. As for calibration software, which is a very important part in the equation, my vote goes to Eizo's ColorNavigator (I have a CG246). It is a superb piece of well thought-out software. The US Spectraview II - which I also happen to have - is a very, very close second, but the European Spectraview Profiler software that you get with the EU NEC units isn't all that impressive.
    Photoshop supports a 10 bit display pipeline, with either display, as long as you have a video card that also supports it. Lightroom doesn't support it.

  • Which among the two outbound queues has the highest priority?

    Hi guys, pardon me for the following questinos, im just a newbie in XI/PI.
    1. Which among the two outbound queues has the highest priority, XBTA or XBTM?
    2. Can someone elaborate more the difference between the Large outbound queue (XBTM) against the normal (XBTO) and the low (XBTZ) priority queues.
    3. If i have alloted an outbound queue for large messages (XBTM), will the messages going out of this queue affect the other queues (high, normal and low)?
    4. If messages do get stuck in either the inbound (XBTL) or the outbound (XBTM) queue, will this affect the other queues as well?
    Thanks.

    Hi Guys,
    Can anyone help me to solve this issue.
    Regards
    Srinivas.

  • SQL Loader need to insert the input filename into output table

    Hi All,
    I've a small problem with my SQL Loader query. My sql loader should read a file and write the data into a file. Also this sql loader should read the filename and write it into the same table. Here's my control file code:
    LOAD DATA
    APPEND
    INTO TABLE XXMW_STG_SOH_HEADER_UK
    WHEN (1:4) = '7010'
    TRAILING NULLCOLS
    (WH POSITION(5:6)
    ,ITEM POSITION(9:26)
    ,PRODUCT_STATUS POSITION(33:34)
    ,BALANCE_ON_HAND POSITION(35:43)
    ,TO_SHIP_QTY POSITION(71:79)
    ,RUSH_TO_SHIP_QTY POSITION(80:88)
    ,RESERVED_QTY POSITION(175:183)
    ,SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')"
    ,SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')"
    ,PROCESSED_IND CONSTANT "N"
    ,PROCESSED_DATETIME SYSDATE
    ,_FILENAME POSITION(184) CHAR TERMINATED BY WHITESPACE_
    My program should read the filename dynamically (means a shell script is calling this .ctl file which is reading multiple input files) and insert into the filename field in xxmw_stg_soh_header_uk table.
    Please let me know for any questions/clarifications.
    Regards,
    Debabrata

    While I think Blu's suggestion to use external tables is better, if you need to use SQL Loader, you could do something like this.
    Create a "generic" control file with a placeholder for the filename, something like:
    LOAD DATA
    APPEND
    INTO TABLE XXMW_STG_SOH_HEADER_UK
    WHEN (1:4) = '7010'
    TRAILING NULLCOLS (
       WH POSITION(5:6),
       ITEM POSITION(9:26),
       PRODUCT_STATUS POSITION(33:34),
       BALANCE_ON_HAND POSITION(35:43),
       TO_SHIP_QTY POSITION(71:79),
       RUSH_TO_SHIP_QTY POSITION(80:88),
       RESERVED_QTY POSITION(175:183),
       SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')",
       SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')",
       PROCESSED_IND CONSTANT "N",
       PROCESSED_DATETIME SYSDATE,
       FILENAME CONSTANT ":FILE"I am assuming that your shell script is looping through a set of file names and loading each one. So make your shell script look something like:
    FILES=`ls *.txt`
    CTL=generic.CTL
    for f in $FILES
    do
       cat $CTL| sed "s/:FILE/$f/g" > $f.ctl
       sqlldr usr/passwd control=$f.ctl data=$f
    doneThe line cat $CTL| sed "s/:FILE/$f/g" > $f.ctl will create a "custom" control file for each file and add the filename as a constant at the end.
    John

  • The output of sql loader displays '?' for the chinese character

    I'm run the sql loader to import the data. The following is the ctl script:
    LOAD DATA
    CHARACTERSET ZHS16CGB231280
    APPEND
    INTO TABLE xxabc_gti_feedback
    when (5:6) ='~~' and (8:9)='~~'
    FIELDS TERMINATED BY "~~"
    TRAILING NULLCOLS
    absoluted
    ,exist_lists
    ,invoice_type
    ,invoice_category_code
    ,invoice_number
    ,line_count
    ,invoice_date DATE "YYYYMMDD"
    ,invoice_month
    ,trx_number
    ,amount_without_tax
    ,tax_rate
    ,tax_amount
    ,gti_feedback_id "xxban_gti_feedback_s.nextval"
    ,creation_date sysdate
    ,last_update_date sysdate
    EBS version: R12(12.0.4)
    The characterset of database is UTF-8
    The file characterset is GB2312
    The following is the example of data file.
    SJJK0201~~已开发票传出
    39~~20110413~~20110413
    //发票1
    0~~0~~0~~325676740~~11085979~~3~~20110413~~04~~~~3336.71~~0.17~~567.24~~珠海XX机电设备有限公司~~440407897878~~珠海市香洲区XXX 0756-3666666~~建行前山支行777777~~XX电子(苏州)有限公司~~32170078678890~~苏州工业园区 6267565~~中国银行园区支行25456672~~1653\n31263\n67126~~XXX~~XXX~~XXX
    0~~aaa~~P83782~~个~~2~~6854.70~~0.17~~1165.30~~4010~~1~~1601
    1~~bbb~~~~~~~~-4065.00~~0.17~~-691.05~~~~1~~1601
    0~~ccc~~P80792~~个~~4~~547.01~~0.17~~92.99~~160~~1~~1601
    I create a sql*loader concurrent program to load the data. the data can be loaded into the table successfully(The chinese customer name is correct). Only for the aborted lines, it will be listed in the outtput of the concurrent request, but out of my expect, the chinese characters in the output are displayed as '?'.
    How to solve the issue? Thanks.
    Edited by: 852938 on 2011-4-17 下午10:41

    like the following:
    SJJK0201~~??????????
    39~~20110413~~20110413
    //???1
    0~~aaa~~P83782~~??~~2~~6854.70~~0.17~~1165.30~~4010~~1~~1601
    1~~bbb~~~~~~~~-4065.00~~0.17~~-691.05~~~~1~~1601
    0~~ccc~~P80792~~??~~4~~547.01~~0.17~~92.99~~160~~1~~1601
    You can find that any chinese characters are became '?'. The loaded line(Line 4th) is not listed in the output.
    Thanks for your quick answer! :)

  • I chose an option which eliminated the word Bookmarks from my start page menu, and of course all of the rest. i wish ti return to the original default, but see no option to do this. currently i see: most visited,getting started and latest headlines, which

    i chose an option which replaced 'bookmarks' in the menu with most visited, getting started and latest headlines. I want to go back to the default, simply 'Bookmarks' How do I do this?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History...Help)? Hold down the key ( key in OSX) and press the following letters in this exact order: V T M
    The Menu Bar should now be displayed permanently, unless you turn it off again (View > Toolbars). Turning the Menu Bar on and off is a new feature in version 3.6.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''See other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • Which of the two models is better to use photo editing and 3D softwares?

    Hello,
    I intend to buy a Mac, but I'm in doubt between two models. Besides the basic usage I use the computer to edit photos (Lightroom, Photoshop and Illustrator) and construction of 3D objects in software like Solid Works and Rhinoceros.
    I am in doubt if I buy one of the models below:
    New MacBook Air
    1.7GHz Dual-Core Intel Core i7, Turbo Boost up to 3.3GHz
    8GB Memory
    256GB Flash Storage
    Intel HD Graphics 5000
    MacBook Pro with Retina Display
    2.6GHz Dual-core Intel Core i5 processor, Turbo Boost up to 3.2GHz
    8GB Memory
    256GB Flash Storage
    Intel HD Graphics 4000
    What do you recommend for what I do?
    Thank you,
    Gustavo

    If you edit photos and do contractions of 3D objects majority of time, rMBP wil probably better for you.
    The main difference between the two is that rMBP performs slightly better and has much more pixels, more ports.
    If you don't feel like you need to take advantage of such things, MBA will do a really good job.
    However if Display, ports is needed rMBP will be better for you.
    From experience, rMBP is way too expensive for the performance so I'm buying the MBA soon.

  • SQL*Loader - Skipping columns in the source file.

    Hi
    I have a comma delimted source file with 4 columns. I however only want to load columns 2 and 3 into my table using SQL*Loader. This seems like something that should be fairly simple but I can't seem to find any doc or examples of this.
    Any guidance would be appreciated.
    Thanks
    Dave

    Hello Dave,
    Here is a sample of what you'll need to have in your control fileLOAD DATA
    APPEND
    INTO TABLE <target_table>
    FIELDS TERMINATED BY ','
    ( column_1  FILLER
    , column_2
    , column_3
    , column_4  FILLER
    )Hope this helps,
    Luke

  • Which of the two ways of naming the thread is safer to use? And Why?

    Two ways of naming the thread in java
    1)
    class MyThread extends Thread{public MyThread(String name){super(name)}}
    MyThread t = new MyThread("MyThread");
    2)
    MyThread t = new MyThread();
    t.setName("MyThread");

    The first example allows you to ensure the thread is given a name, in the second case, the name change is optional.
    The difference is a design choice.
    IMHO, If you are ever are wondering if some small change will make a big difference to performance then 99/100 times the answer is it wont. In the cases where is makes a difference you are just as likely to get the choice the wrong way around in any case.

  • Opening tabs from last time opens home pages until I load them, which opens the correct tab

    When I open Firefox, and I have multiple tabs opened from last time, and also have "do not load tabs until selected" checked, my home pages load in the place of 'unloaded' tabs from last time, but, when I click them, they load the appropriate tab that I had open last time.
    It's a strange glitch that happens every single time, and I request a SOLUTION, not an alternate setting or workaround. I don't want to load up 10+ tabs (having "do not load tabs until selected" unchecked) every time I open Firefox, and my 4 extra homepage tabs have heavy flash material, so I'd not want them loading on startup either.
    Thanks.

    Try to "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    Also make sure that you do not use "Clear history when Firefox closes" to clear the the Cache (Firefox will disable the disk cache in this case, see about:cache)
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Catcdb.sql is missing, which is the right workaround?

    After creating a CDB the instructions ask you to run catcdb.sql, the file was not shipped on GA, this is reported as a bug (Doc ID 17316776.8) but I don't think there is a fix nor couldn't find an official workaround, should I run:
    catproc and catalog instead?
    I have not run anything but I believe the CDB is not completed until this is not done.
    I left my CDB as it is and createt a PDB based on a non-CDB, one of the last steps is to run: @$ORACLE_HOME/rdbms/admin/noncdb_to_pdb.sql which I did but at the end of the script is trying to execute:
    alter session set container = CDB$ROOT;
    So now I'm getting the error: ORA-06553: PLS-213: package STANDARD not accessible
    Which I believe is the result of not running catcdb on the CDB.
    Anyway, could anyone clarify what's the right workaround? I don't want to mess up my CDB by running catalog and catproc and then find out I shouldn't have.
    thank you all.

    To solve the: ORA-06553: PLS-213: package STANDARD not accessible after alter session set container = CDB$ROOT;
    I ran catproc and catalog however when attempting to create a PDB from a seed I got this error:
    SQL> CREATE PLUGGABLE DATABASE PLUG1 ADMIN USER plgadmin IDENTIFIED BY plgadmin
      FILE_NAME_CONVERT = ('/data1/oradata/PDBSEED/CDB1/', '/data1/oradata/PLUG1/');  2
    CREATE PLUGGABLE DATABASE PLUG1 ADMIN USER plgadmin IDENTIFIED BY plgadmin
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1                              <--- fails once again a catalog problem
    ORA-00942: table or view does not exist
    This is because I only ran the catalog and catproc sql on the root but not on the seed, the right way to do it is to run them using catcon.pl supplied by Oracle and documented here:
    Administering a CDB with SQL*Plus
    But who really wants to read all this...copy and paste? go here:
    oracle 12c: catcon.pl &amp;laquo; Daniel Westermann&amp;#039;s Blog
    That solved my problem so far. If somebody knows what's the official way to fix the missing catcdb.sql script please let us know.

  • Yoga 10. Which of the two types of dongles works ? Miracast or Chromecast ?

    Hi to all.
    Which dongle should I use to replicate audio-video output on the tv ? I have read a dongle by Lenovo SL-WD100 (Wireless Display Adapter) but I think that I can not buy it in Italy or in Europe. I saw a Miracast dongle by Asus on Amazon.it, but do not know if it works with Yoga 10. Any suggestion is appreciated.
    Solved!
    Go to Solution.

    Hi
    Just purchased a prestigio miracast dongle from maplin which they have just had back in stock , plugged in to the HDMIon the tvTV , power for the USB , turned on the display function on my yoga 10 and the image of the screen appeared on the TV so I would recommend this adaptor. Currently £29 in maplin

Maybe you are looking for