Oracle Query runs very slow filling table

I have used Java Studio Creator 2 with Sun Java System Application Server Platform Edition 8.1_02 (build b06-fcs) in the past. I created a simple oracle query to populate a table and displaying about 560 rows in a table via a web browser. This runs excellent.
Now, I use Netbeans 6, along with Sun Java System Application Server 9.1 (build b58g-fcs), I populate a table using the same query as before and it takes quite a long time to fill the table. Actually, the browser keeps asking if I want to stop the script about 6 times. If I keep saying yes, it eventually completes.
I'm using an Oracle 9i database and have tried different drivers from Oracle with the same results.
Any idea why the difference in filling the table or how to correct this? Thanks!
Please note: I have this same question posted in the Java.net forums but it's not been answered so far, I hope this isn't crossposting and I get yelled at!

for NetBeans questions I suggest posting your question in the [email protected] For more information:
http://www.netbeans.org/community/index.html

Similar Messages

  • Oracle query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    ms wrote:
    Hi All
    I am using Oracle 11g . My table contains 10-12 lac rows.Do not use the word lac: it is common in the Indian sub-continent but not known much outside of
    there because it is not standard English.
    >
    1) what is the difference between a index on one column and an index of number of columns ( i.e composite index). The obvious answer of one contains only one column and the other contains more than one.
    2) For what columns in a where clause should index be created ( single columns index or composite index ).Depends
    3) Also can u suggest how to improve the perfomane of thsi query?Please read: SQL and PL/SQL FAQ
    which tells you how to ask a performance related question

  • MS-Access query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    I have seen the problem like this,too
    can i have you

  • Query runs very slow and sometime freezes

    Hi Experts,
    I have just installed SAP GUI 710 but when i open a query in analyzer it runs very slow and  if the variables are set for more than 6 months it just sits there and finally times out. It takes at least 5 minutes to open the query if it opens at all. Can you please advise me on how to resolve this issue??
    Thanks, point will be awarded.

    Worth running RSRT .
    Ravi Thothadri

  • The below Query runs very slow

    SELECT
    ACT1.PROJ,
    ACT1.ACT,
    ACT1.VER,
    ACT1.DS,
    ACT1.UC,
    ACT1.ACT_RN,
    PRED1.PRED,
    PRED_DS.DS,
    PRED_DS.UC01 ACT_TYPE ,
    PRED1.RN,
    SUCC.SUC
    ,SUCC.SUC_NAME
    ,SUCC.SUC_TYPE
    ,SUCC.SUCC_RN
    FROM
    (SELECT A.PROJ , A.VER , A.ACT , A.DS , A.UC01 UC , B.RN ACT_RN
    FROM PM_PORTAL.AV_ACTIVITY A , PM_PORTAL.AV_RESREQ B
    WHERE A.PROJ = B.PROJ(+)
    AND A.ACT = B.ACT(+)
    AND A.VER = B.VER(+)
    AND A.VER = 50
    AND A.PROJ LIKE 'BOM_%'
    AND A.UC01 = '560'
    ) ACT1 ,
    ( SELECT A.PROJ , A.ACT , A.VER , A.PRED , B.RN
    FROM PM_PORTAL.AV_RELN A , PM_PORTAL.AV_RESREQ B
    WHERE A.PROJ LIKE 'BOM_%'
    AND A.VER = 50
    AND A.PROJ = B.PROJ(+)
    AND A.PRED = B.ACT(+)
    AND A.VER = B.VER(+)
    ) PRED1,
    ( SELECT DS , UC01 ,ACT ,VER , PROJ
    FROM PM_PORTAL.AV_ACTIVITY
    WHERE PROJ LIKE 'BOM_%'
    AND VER = 50
    ) PRED_DS ,
    (SELECT A.PROJ , A.VER , A.ACT SUC , A.PRED , B.DS SUC_NAME ,B.UC01 SUC_TYPE , C.RN SUCC_RN
    FROM PM_PORTAL.AV_RELN A , PM_PORTAL.AV_ACTIVITY B , PM_PORTAL.AV_RESREQ C
    WHERE A.PROJ = B.PROJ
    AND A.ACT = B.ACT
    AND A.VER = B.VER
    AND B.PROJ = C.PROJ
    AND B.ACT = C.ACT
    AND B.VER = C.VER
    ) SUCC
    WHERE ACT1.PROJ=PRED1.PROJ(+)
    AND ACT1.ACT=PRED1.ACT(+)
    AND ACT1.VER=PRED1.VER(+)
    AND PRED1.PRED = PRED_DS.ACT
    AND PRED1.PROJ = PRED_DS.PROJ
    AND PRED1.VER = PRED_DS.VER
    AND SUCC.PROJ = PRED1.PROJ
    AND SUCC.VER = PRED1.VER
    AND SUCC.PRED = PRED1.PRED
    --Execution Plan
    SELECT STATEMENT, GOAL = CHOOSE               293     1     337
    NESTED LOOPS               293     1     337
    NESTED LOOPS               290     1     305
    NESTED LOOPS               287     1     242
    NESTED LOOPS               282     1     206
    FILTER                         
    HASH JOIN OUTER                         
    VIEW     PM_PORTAL_READ          65     2     194
    NESTED LOOPS OUTER               65     2     190
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     59     2     126
    INDEX RANGE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     55     2     
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     3     35     1120
    VIEW     PM_PORTAL_READ          210     101     4646
    HASH JOIN OUTER               210     101     6868
    INDEX RANGE SCAN     TRN_ARTE     AV_RELN_1_NPART     161     101     3636
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     48     35     1120
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     3     56     3528
    INDEX UNIQUE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     2     56     
    INDEX RANGE SCAN     TRN_ARTE     AV_RELN_1_NPART     5     101     3636
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     3     56     3528
    INDEX UNIQUE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     2     56     
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     3     35     1120

    Here's the verbatim response I gave yesterday to another user also posting his SQL and asking the same question.. why is it slow?
    Who says it is not already running as fast as possible?
    In order to solve a problem, you need to know the problem. Stating something like 'a query is slow and should be faster' is stating an opinion - it is not describing a problem that can be resolved.
    My suggestion is to turn a complex problem, into a bunch of smaller and simpler problems. If you suspect that the query could be faster, pull it apart. Test each step/component of the query in isolation. E.g. start with a single table and progressively add joins to determine what the CBO does with each additional join, what you're asking Oracle to do ito processing, and not only checking that the CBO does not make obvious errors, but that what you're asking via SQL is the best approach to get to the answer.

  • Oracle Reports running very slow

    The same Oracle reports, which used to take 15 seconds to complete, now takes about 4 minutes to complete. Any ideas? Thank you.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JS:
    Thank you for your reply. Could you be more specific about network problem? We've changed our web application server and reports server settings recently. What could cause network problems? <HR></BLOCKQUOTE>
    Well, I would suggest that you got to be very clear with the query. Most of the report peformace is based on the query.
    1. Make sure that query is fine and note down the time it takes.
    2. If first step is clear and if you are happy with the output that is process time, then you can think about tuning the report.
    ( You may want skip this step)
    3. If that does not work you can investigate
    what kind of array it uses and network speed and other thinks. I am not really familior with these set up.
    Good luck with it..
    Regards ...
    Krishna ...
    null

  • VO Query runs very slow in jdev, quickly in Toad/SQL Plus

    Hi,
    I am trying to create a search application using JSF with ADF BC. I have a VO based on a SQL query, which joins two tables. The search criteria is referenced using bind parameters in the VO.
    In Toad, SQL Plus, and SQL Developer, I can run my VO query and the results return quickly, within a couple of seconds. An Explain Plan indicates that all indexes are being correctly used. However, when I try to run my search form (exact same query) in jdev, it executes extremely slowly - almost 5 minutes before a result set is returned. My VO query is below.
    select oea.order_yr,
    oea.order_type,
    oea.order_key,
    oea.max_rev,
    oeo.profit_center_id,
    oeo.contract_total_price,
    oeo.complexity
    from oe_admin oea,
    oe_order oeo
    where oea.admin_id = oeo.admin_id
    and oeo.profit_center_id = :ProfitCenter
    and oea.order_yr = nvl(:OYear, oea.order_yr)
    and oea.order_type = nvl(:OType, oea.order_type)
    I've been messing with this for several days and I'm out of ideas. Does anyone have any suggestions?

    The question is not whether the query uses a viewLink but rather do you have any other views that are linked to this view - if you do have such views you might want to check the setting for whether children are retrieved as well.
    Also run ADF BC in debug mode to see the exact query that is being sent to the server and check out the explain plan for that one.

  • GL Balances query runs very slow

    Hi All,
    I am working on Oracle Applications 11i (11.5.10.2) environment.
    Database is 11g (Rel.2)
    I need to pull the data for all the SOB's and using the below query is running for many hours.
    Please help with a better alternate for below query:
    SELECT gcc1.segment3 acct,
    gcc1.segment3 subacct,
    (SELECT SUM(DECODE(gcc.account_type,
    'A',
    NVL(b.begin_balance_dr, 0) -
    NVL(b.begin_balance_cr, 0),
    'E',
    NVL(b.begin_balance_dr, 0) -
    NVL(b.begin_balance_cr, 0),
    'L',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0),
    'O',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0),
    'R',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0)) +
    DECODE(gcc.account_type,
    'A',
    NVL(b.period_net_dr, 0) - NVL(b.period_net_cr, 0),
    'E',
    NVL(b.period_net_dr, 0) - NVL(b.period_net_cr, 0),
    'L',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0),
    'O',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0),
    'R',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0))) ytd_amt
    FROM gl_balances b, gl_code_combinations gcc
    WHERE b.code_combination_id = gcc.code_combination_id
    AND b.actual_flag = 'A'
    AND b.translated_flag is NULL
    AND gcc.enabled_flag = 'Y'
    AND gcc.end_date_active is NULL
    AND gcc1.segment3 = gcc.segment3
    AND gcc1.segment4 = gcc.segment4
    AND gb1.set_of_books_id = b.set_of_books_id
    AND gb1.currency_code = b.currency_code
    AND b.period_name = &l_prev_period) begin_balance,
    (SELECT SUM(DECODE(gcc.account_type,
    'A',
    NVL(b.begin_balance_dr, 0) -
    NVL(b.begin_balance_cr, 0),
    'E',
    NVL(b.begin_balance_dr, 0) -
    NVL(b.begin_balance_cr, 0),
    'L',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0),
    'O',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0),
    'R',
    NVL(b.begin_balance_cr, 0) -
    NVL(b.begin_balance_dr, 0)) +
    DECODE(gcc.account_type,
    'A',
    NVL(b.period_net_dr, 0) - NVL(b.period_net_cr, 0),
    'E',
    NVL(b.period_net_dr, 0) - NVL(b.period_net_cr, 0),
    'L',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0),
    'O',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0),
    'R',
    NVL(b.period_net_cr, 0) - NVL(b.period_net_dr, 0))) ytd_amt
    FROM gl_balances b, gl_code_combinations gcc
    WHERE b.code_combination_id = gcc.code_combination_id
    and b.rowid = gb1.rowid
    and gcc.rowid = gcc1.rowid) Ending_balance
    FROM gl_balances gb1, gl_code_combinations gcc1
    WHERE gb1.code_combination_id = gcc1.code_combination_id
    AND gb1.actual_flag = 'A'
    AND gb1.translated_flag is NULL
    AND gcc1.enabled_flag = 'Y'
    AND gcc1.end_date_active is NULL
    AND gb1.period_name = &p_period
    Thanks,
    gvk.

    Worth running RSRT .
    Ravi Thothadri

  • Query running very slow for 2LIS_13_VDKON Extractor.

    Dear Experts
    Having no Standard InfoCube to accommodate the data from 2LIS_13_VDKON Extractor, I've created an InfoCube having the Standard DSO inbetween. The Data Flow is as below:
    2LIS_13_VDKON -> ZSD_DS17 (which is a copy of BCT DSO 0SD_O06) -> ZSD_C17 ---> ZSD_M02 (MultiProvider)
    We went live last week and there are only 1252377 records in the InfoCube at the moment in Production. The BEx Query designed on top of the MultiProvider runs by default for the last 3 Months (Variable created) initially and the User will be able to look up only the last 13 Months (another Variable created) of data at any given point in time.
    The User doesn't want any Selection Parameters on this Report and that's how it is created.
    The problem now is.. this 'Margin on Agreed Cost' Report taking about 3 Minutes and 5 Seconds to run.
    I have RSRV on the InfoCube and everything seems to be ok, tried Aggregates (though I understand that this number of records wouldn't need one to be created) and have also tried Query Cache today but no good.
    Is there anything that I might have overlooked when designing the InfoCube and the BEx Query? Attached are the screenshots of the InfoCube, MultiProvider and the BEx Query for your reference.
    Any suggestions are very much appreciated.
    Thanks in advance for your time.
    Chandu

    Hi Anshu
    Thanks for your time.
    The link you've sent was very useful indeed.
    I followed instructions from your link and below are the statistics 4 days after this Cube went into Production:
    As you could see, the InfoCube design is very fine.
    We have noticed that the Report runs within a few seconds when it is run by 0BILL_DATE in Selection Parameters. Therefore, we are trying to buy the End User to have some Selection Parameters so that the performance of the Report will improve.
    I have already created Aggregates for this Cube but in vain!
    Can anyone please send me the Screenshots of the InfoCube Design which captures all the fields of 2LIS_13_VDKON Extractor?
    Thanks,
    Chandu

  • Query running very slow with db file sequential read waits which all indexes would be recommended

    My query is doing lot of db file sequential reads I want to create few indexes and extended stats please help me with your suggestions.
    Can anybody suggest I am unable to paste my query here -don't know why it's not getting pasted--is it not permitted ? 
    thank you.

    The simplest way to find it out is using Oracle Enterprise Manager. Just locate the SQL ID for the SQL and run "SQL tuning advisor". This will exactly pinpoint where do you need to create indexes etc. Another option is manually running explain plan for the SQL and finding out which predicate is causing full scans with high i/o
    Regards
    Tushar

  • Query Running very slow.............

    Hi All,
    The below query takes long time to execute. Please review this and provide me the better solution by which i can get the faster result .
    I have created the index in the txnlog table on timestamp,serialno, and in alt_merchant am on alt_merchantno and in txnlog_overrun on merchantno.
    SELECT t.timestamp,t.wicno,t.merchantno,u.overrun_amount,NVL(ad.state,'N/A')
    FROM txnlog t,txnlog_overrun u,alt_merchant am,address ad
    WHERE t.timestamp > SYSDATE -15
    AND t.timestamp=u.timestamp(+)
    AND t.serialno=u.serialno(+)
    AND t.wicno=am.alt_merchantno(+)
    AND t.merchantno=am.merchantno(+)
    AND am.ADDRESSID=ad.addressid(+)
    Txnlog having millions of records.
    Regards,
    Nitesh

    Hello
    SELECT NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_ROW_LEN FROM >USER_TABLES WHERE TABLE_NAME ='TXNLOG';
    Returns Null for all columns.This suggests to me that statistics are missing. Have you generated them as I suggested? Could you post the execution plan here:
    tylerd@DEV2> set pages 50000
    tylerd@DEV2> set lines 200
    tylerd@DEV2> EXPLAIN PLAN FOR
      2  select * from dual
      3  /
    Explained.
    tylerd@DEV2> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 272002086
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     2 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    8 rows selected.David

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Oracle 10gr2 Master/detail form running very slow when you navigate to the detail record.

    Hi All, I have a master detail  form, running in webserver, when I navigate to the detail block, the form start buffering and buttering for about 2 min. There is a trigger when-new-record instance that is firing when you navigate to  a new record : The select part of this stament is taken a long time to execute. I modified this in toad and what used to take 25 seconds to run is taken less than a second now, but the slowness still persists in the form.
    for rec in (select wrrh_col
                      wpbh_col_lvd,
                       wpbh_col_doc_no
          from wh_col,
               wkpl_col,
               wh_col
         where wrrh_col_no = :block.wreh_wrrh_col_no
           and wrrh_col_no = wreh_wrrh_col_no
             and wrrh_col_no = wpbh_col_no
           and wrrh_col_proj    = wpbh_col_proj
           and wrrh_proj_no     = wpbh_proj_no) loop
       if fun_name(rec.wpbh_col_lvd) = 'Y' then                      
        do something,
       end if;
      end loop;
    The select staement that used to run for 23 seconds is running in less than one second, but the form is still running very slow when I navigate to the detail record.
    Please advise.
    Thanks.

    Thanks Andrea for your prompt response, the problem is the select statement and like I stated, I tuned the select statement in toad and what normally takes 23 secs is taking less than 1 sec to run. If I comment out the call to the function, it is still slow. The select stament will returned null and it will still be slow. When I comment out the for loop, it run very fast. I dont know what else to do than tuned the select statement.

  • Sql is running very slow

    hello everyone
    here is my procedure
    in procedure select statement is running very slow it takes 20min
    DECLARE
    y10_pad_sd_1 number;
    y10_sad_sd_1 number;
    y10_sad_oe_1 number;
    y10_she18_avg_1 number;
    y10_she_avg_1 number;
    y10_o_pad_sd_1 number;
    y10_e_pad_sd_1 number;
    y10_o_sad_sd_1 number;
    y10_e_sad_sd_1 number;
    y15_pad_sd_1 number;
    y15_sad_sd_1 number;
    y15_sad_oe_1 number;
    y15_she18_avg_1 number;
    y15_she_avg_1 number;
    y15_o_pad_sd_1 number;
    y15_e_pad_sd_1 number;
    y15_o_sad_sd_1 number;
    y15_e_sad_sd_1 number;
    y20_pad_sd_1 number;
    y20_sad_sd_1 number;
    y20_sad_oe_1 number;
    y20_she18_avg_1 number;
    y20_she_avg_1 number;
    y20_o_pad_sd_1 number;
    y20_e_pad_sd_1 number;
    y20_o_sad_sd_1 number;
    y20_e_sad_sd_1 number;
    CURSOR c_pn IS
    SELECT
    pn_id pn_id
    ,pn_dm pn_dm
    ,arch_id arch_id
    ,o_ink o_ink
    ,o_color o_color
    ,e_ink e_ink
    ,e_color e_color
    FROM pn_list_iqp_95cl;
    type c7 is table of c_pn%rowtype;
    c8 c7;
    BEGIN
    open c_pn;
    fetch c_pn bulk collect into c8;
    close c_pn;
    for i in 1..c8.last loop
    SELECT /*+ use_hash(pmo pme) */
    LEAST(MAX ( pmo.y10_pad_sd ), MAX ( pme.y10_pad_sd ))
    ,LEAST(MAX ( pmo.y10_sad_sd ), MAX ( pme.y10_sad_sd ))
    ,LEAST(MAX ( pmo.y10_sad_oe ), MAX ( pme.y10_sad_oe ))
    ,LEAST(MAX ( pmo.y10_she18_avg), MAX ( pme.y10_she18_avg ))
    ,LEAST(MAX ( pmo.y10_she_avg ), MAX ( pme.y10_she_avg ))
    ,LEAST(MAX ( pmo.y10_o_pad_sd ), MAX ( pme.y10_o_pad_sd ))
    ,LEAST(MAX ( pmo.y10_e_pad_sd ), MAX ( pme.y10_e_pad_sd ))
    ,LEAST(MAX ( pmo.y10_o_sad_sd ), MAX ( pme.y10_o_sad_sd ))
    ,LEAST(MAX ( pmo.y10_e_sad_sd ), MAX ( pme.y10_e_sad_sd ))
    ,LEAST(MAX ( pmo.y15_pad_sd ), MAX ( pme.y15_pad_sd ))
    ,LEAST(MAX ( pmo.y15_sad_sd ), MAX ( pme.y15_sad_sd ))
    ,LEAST(MAX ( pmo.y15_sad_oe ), MAX ( pme.y15_sad_oe ))
    ,LEAST(MAX ( pmo.y15_she18_avg), MAX ( pme.y15_she18_avg ))
    ,LEAST(MAX ( pmo.y15_she_avg ), MAX ( pme.y15_she_avg ))
    ,LEAST(MAX ( pmo.y15_o_pad_sd ), MAX ( pme.y15_o_pad_sd ))
    ,LEAST(MAX ( pmo.y15_e_pad_sd ), MAX ( pme.y15_e_pad_sd ))
    ,LEAST(MAX ( pmo.y15_o_sad_sd ), MAX ( pme.y15_o_sad_sd ))
    ,LEAST(MAX ( pmo.y15_e_sad_sd ), MAX ( pme.y15_e_sad_sd ))
    ,LEAST(MAX ( pmo.y20_pad_sd ), MAX ( pme.y20_pad_sd ))
    ,LEAST(MAX ( pmo.y20_sad_sd ), MAX ( pme.y20_sad_sd ))
    ,LEAST(MAX ( pmo.y20_sad_oe ), MAX ( pme.y20_sad_oe ))
    ,LEAST(MAX ( pmo.y20_she18_avg), MAX ( pme.y20_she18_avg ))
    ,LEAST(MAX ( pmo.y20_she_avg ), MAX ( pme.y20_she_avg ))
    ,LEAST(MAX ( pmo.y20_o_pad_sd ), MAX ( pme.y20_o_pad_sd ))
    ,LEAST(MAX ( pmo.y20_e_pad_sd ), MAX ( pme.y20_e_pad_sd ))
    ,LEAST(MAX ( pmo.y20_o_sad_sd ), MAX ( pme.y20_o_sad_sd ))
    ,LEAST(MAX ( pmo.y20_e_sad_sd ), MAX ( pme.y20_e_sad_sd ))
    INTO
    y10_pad_sd_1
    ,y10_sad_sd_1
    ,y10_sad_oe_1
    ,y10_she18_avg_1
    ,y10_she_avg_1
    ,y10_o_pad_sd_1
    ,y10_e_pad_sd_1
    ,y10_o_sad_sd_1
    ,y10_e_sad_sd_1
    ,y15_pad_sd_1
    ,y15_sad_sd_1
    ,y15_sad_oe_1
    ,y15_she18_avg_1
    ,y15_she_avg_1
    ,y15_o_pad_sd_1
    ,y15_e_pad_sd_1
    ,y15_o_sad_sd_1
    ,y15_e_sad_sd_1
    ,y20_pad_sd_1
    ,y20_sad_sd_1
    ,y20_sad_oe_1
    ,y20_she18_avg_1
    ,y20_she_avg_1
    ,y20_o_pad_sd_1
    ,y20_e_pad_sd_1
    ,y20_o_sad_sd_1
    ,y20_e_sad_sd_1
    FROM pm_list_iqp_95cl pmo ,pm_list_iqp_95cl pme
    WHERE pmo.pn_id = pme.pn_id
    AND pme.pn_id = c8(i).pn_id
    AND pmo.slot_cd = 'O'
    AND pme.slot_cd = 'E';
    END LOOP;
    END;

    EXPLAIN PLAN FOR THIS QUERY
    cached plan :cost all rows(cost:4)
    step name step cost rows
    select statement 6 4
    sort(aggregate) 5 1
    merge join(cartesian) 4 4 1
    tellatel.pm_list_iqp_95cl table access(full) 1 2 1
    buffer(sort) 3 2 1
    tellatel.pm_list_iqp_95cl_table access(full) 2 2 1

  • Mac book pro is running very slow.  is there a way to do a disc cleanup?

    mac book pro is running very slow.  is there a way to do a disc cleanup?

    First, back up all data immediately, as your boot drive might be failing.
    Step 1
    This diagnostic procedure will query the system log for messages that may indicate a hardware fault. It changes nothing, and therefore will not, in itself, solve your problem.
    If you have more than one user account, these instructions must be carried out as an administrator. I've tested them only with the Safari web browser. If you use another browser, they may not work as described.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|n Cause: -' | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.
    Step 2
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.
    Step 3
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 4
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

Maybe you are looking for

  • Public IP address requirerement for a Public facing SharePoint 2013 website.

    I am planning to implement a public facing website on SharePoint 2013 platform. Following are the proposed server setup. 2 x Web Front End (WFE) hosting SharePoint 2013 (Load Balanced) 2 x  Search and Application server hosting SharePoint 2013 (Load

  • Pricat02 Idoc

    Hi All, what is Pricat02 Idoc? What are the fields and tables related to the Pricat02 Idoc?

  • Mavericks not updating

    Started the Mavericks update.  After three hours it was stalled andI removed the it from the launchpad.  Now it will not install on my computer.  It verifies my apple id password.  Gives me the spinning gears in the left hand corner and them nothing.

  • When I open a document from any of my files, it only opens in a small screen and I can't make the screen bigger.

    Hello!  I'm hoping someone can help me with a recent problem on my MacBook Pro.  When I try to open a document from one of my files, it only seems to open in a small screen and I can't seem to make that screen any bigger to work on it.  Has this happ

  • H.263/H.264 3GP Mobile encoding errors

    Gotta say that I'm sharing the frustration of others w.r.t. Quicktime Pro on Windows ... any who ... I have some v. strange errors when encoding some mobile media. I'm going from a quicktime mov to a) H.263 + AMR NB 3GP contained b) H.264 + AMR NB 3G