Query taking time to load

Hi:
We are using a common component for generating query screens wherein we just have to pass a query number to the component which in turn return a list view of records.
We have a particular Query which when executed through Toad or any SQL tool returns records within 4-5 seconds but the same one takes almost 3 minutes to load from Front End.
What could be the possible reason for the page to take so much time to load.
We are using WebSphere 6.0.2.17 server. Is there any settings to be done for statement cache size or for any connection timeout or is there anything to be done at Oracle side.
Since the moment we change the query number to some simple query like select * from dual kind the screen loads instantly.
P.S: The query takes almost 4-5 seconds to execute in backend through TOAD.
Avadhoot Sawant

So 45 or 47? Nevertheless ...
This is hardly a heavy calculation, the savings will be dismal. Also anything numeric is very easy on CPU in general.
But
convert( numeric(8,5), (convert( numeric,T3.COl7) / 1000000))
is not optimal.
CONVERT( NUMERIC(8,5),300 / 1000000.00000 )
Is
Now it boils to how to make load faster: do it in parallel. Find how many sockets the machine have and split the table into as many chunks. Also profile to find out where it spends most of the time. I saw sometimes the network is not letting me thru so you
may want to play with buffers, and packet sizes, for example if OLEDB used increase the packet size two times see if works faster, then x2 more and so forth.
To help you further you need to tell more e.g. what is this source, destination, how you configured the load.
Please understand that there is no Silver Bullet anywhere, or a blanket solution, and you need to tell me your desired load time. E.g. if you tell me it needs to load in 5 min I will give your ask a pass.
Arthur
MyBlog
Twitter

Similar Messages

  • Application server 10g R2 taking time to load.

    hi all.
    i am using oracle Application server 10g R2 when i boot my windows server 2003 R2 then
    its taking time to load application server more than 5 min what is the problem
    why its taking time to load?
    any onw knows?

    JVM (java virtual machine) If you have a full stack, infrastructure + BI forms you need 2 gb at least only to install, if you plan to make some work on it it could happen that the computer get very slow.
    In opmn.xml file, in the seccion for the home container (or other you are using) there is a line for Start Parameters, there you have to use the -Xmx1024M to se the maximum JVM size to 1gb, for this you will have to restart the proc.
    For forms also there are some procs where you manage the size of the memory and procs, you can see this in the Configuration Seccion into the EM Console.
    Regards

  • Customized login page taking time to load

    Dear Experts,
    Request you to kindly suggest how can I tune the Customized login Page.
    as it is taking time to load.
    Warm Regards
    Upendra Agrawal.

    Hi,
    Thanks for your quick reply, Changes which I made are only in the LogonTopArea.jsp and in LogonBottomArea.jsp,
    i.e i have added a flash and images, earlier the total file size of the
    com.sap.portal.runtime.logon.par file used to be around 314 kb but now it is around 800kb.
    Other than that, nothing has changed,
    Request you to kindly suggest.
    Thanks & Regards
    Upendra Agrawal

  • Query taking time

    We have this query which is taking a long time to execute. From the explain plan what i found out is there is a full table scan going on W_GL_OTHER_F. Please help in identifying the problem area and solutions.
    The query is,
    select D1.c1 as c1,
         D1.c2 as c2,
         D1.c3 as c3,
         D1.c4 as c4,
         D1.c5 as c5,
         D1.c6 as c6,
         D1.c7 as c7,
         D1.c8 as c8
    from
         (select distinct D1.c2 as c1,
                   D1.c3 as c2,
                   D1.c4 as c3,
                   D1.c5 as c4,
                   D1.c6 as c5,
                   D1.c7 as c6,
                   D1.c8 as c7,
                   D1.c1 as c8,
                   D1.c5 as c9
              from
                   (select sum(case  when T324628.OTHER_DOC_AMT is null then 0 else T324628.OTHER_DOC_AMT end ) as c1,
                             T91397.GL_ACCOUNT_NUM as c2,
                             T149255.SEGMENT_VAL_CODE as c3,
                             T148908.SEGMENT_VAL_DESC as c4,
                             T148543.HIER4_CODE as c5,
                             T148543.HIER4_NAME as c6,
                             T91707.ACCT_DOC_NUM as c7,
                             T91707.X_LINE_DESCRIPTION as c8
                        from
                             W_GL_OTHER_F T91707 /* Fact_W_GL_OTHER_F */ ,
                             W_GL_ACCOUNT_D T91397 /* Dim_W_GL_ACCOUNT_D */ ,
                             W_STATUS_D T96094 /* Dim_W_STATUS_D_Generic */ ,
                             WC_GL_OTHER_F_MV T324628 /* Fact_WC_GL_OTHER_MV */ ,
                             W_GL_SEGMENT_D T149255 /* Dim_W_GL_SEGMENT_D_Segment1 */ ,
                             W_GL_SEGMENT_D T148937 /* Dim_W_GL_SEGMENT_D_Segment3 */ ,
                             W_HIERARCHY_D T148543 /* Dim_W_HIERARCHY_D_Segment3 */ ,
                             W_GL_SEGMENT_D T148908 /* Dim_W_GL_SEGMENT_D_Segment2 */
                        where  ( T91397.ROW_WID = T91707.GL_ACCOUNT_WID and T91707.DOC_STATUS_WID = T96094.ROW_WID and T96094.ROW_WID = T324628.DOC_STATUS_WID and T148543.HIER_CODE = T148937.SEGMENT_LOV_ID and T148543.HIER20_CODE = T148937.SEGMENT_VAL_CODE and T324628.DELETE_FLG = 'N' and T324628.X_CURRENCY_CODE = 'CAD' and T148543.HIER4_CODE <> '00000000000' and T91397.RECON_TYPE_CODE is not null and T91397.ROW_WID = T324628.GL_ACCOUNT_WID and T91397.ACCOUNT_SEG3_CODE = T148937.SEGMENT_VAL_CODE and T91397.ACCOUNT_SEG3_ATTRIB = T148937.SEGMENT_LOV_ID and T91397.ACCOUNT_SEG2_CODE = T148908.SEGMENT_VAL_CODE and T91397.ACCOUNT_SEG2_ATTRIB = T148908.SEGMENT_LOV_ID and T91397.ACCOUNT_SEG1_CODE = T149255.SEGMENT_VAL_CODE and T91397.ACCOUNT_SEG1_ATTRIB = T149255.SEGMENT_LOV_ID and (T96094.W_STATUS_CODE in ('POSTED', 'REVERSED')) and T91397.GL_ACCOUNT_NUM like '%98%' )
                        group by T91397.GL_ACCOUNT_NUM, T91707.ACCT_DOC_NUM, T91707.X_LINE_DESCRIPTION, T148543.HIER4_CODE, T148543.HIER4_NAME, T148908.SEGMENT_VAL_DESC, T149255.SEGMENT_VAL_CODE
                   ) D1
         ) D1
    order by c1, c2, c3, c4, c5, c6, c7The plan is,
    PLAN_TABLE_OUTPUT
    Plan hash value: 3196636288
    | Id  | Operation                             | Name                | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Psto
    |   0 | SELECT STATEMENT                      |                     |   810K|   306M|       |   266K  (1)| 01:20:03 |       |       |
    |   1 |  HASH GROUP BY                        |                     |   810K|   306M|   320M|   266K  (1)| 01:20:03 |       |       |
    |*  2 |   HASH JOIN                           |                     |   810K|   306M|    38M|   239K  (1)| 01:11:56 |       |       |
    |*  3 |    MAT_VIEW ACCESS FULL               | WC_GL_OTHER_F_MV    |  1137K|    40M|       |  9771   (2)| 00:0
    |*  4 |    HASH JOIN                          |                     |   531K|   189M|       |   222K  (1)| 01:06:38 |       |       |
    |   5 |     INLIST ITERATOR                   |                     |       |       |       |            |          |       |       |
    |*  6 |      INDEX RANGE SCAN                 | W_STATUS_D_U2       |     4 |    56 |       |     1   (0)| 00:00:01 |   
    |*  7 |     HASH JOIN                         |                     |   607K|   208M|  8704K|   222K  (1)| 01:06:38 |       |       |
    |*  8 |      HASH JOIN                        |                     | 40245 |  8214K|  2464K| 10843   (2)| 00:03:16 |       |       |
    |   9 |       VIEW                            | index$_join$_007    | 35148 |  2025K|       |   122  (32)| 00:00:03 |       |
    |* 10 |        HASH JOIN                      |                     |       |       |       |            |          |       |       |
    |* 11 |         HASH JOIN                     |                     |       |       |       |            |          |       |       |
    |* 12 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  13 |           BITMAP CONVERSION TO ROWIDS |                     | 35148 |  2025K|       |     1   (0)| 00:00:01 |       |   
    |  14 |            BITMAP INDEX FULL SCAN     | W_HIERARCHY_D_M2    |       |       |       |            |          |       |     
    |  15 |           BITMAP CONVERSION TO ROWIDS |                     | 35148 |  2025K|       |    24   (0)| 00:00:01 |       |   
    |  16 |            BITMAP INDEX FULL SCAN     | W_HIERARCHY_D_M4    |       |       |       |            |          |       |     
    |  17 |          BITMAP CONVERSION TO ROWIDS  |                     | 35148 |  2025K|       |    24   (0)| 00:00:01 |       |   
    |* 18 |           BITMAP INDEX FULL SCAN      | X_W_HIERARCHY_D_M11 |       |       |       |            |          |       |     
    |  19 |         BITMAP CONVERSION TO ROWIDS   |                     | 35148 |  2025K|       |    33   (0)| 00:00:01 |       |   
    |  20 |          BITMAP INDEX FULL SCAN       | X_W_HIERARCHY_D_M12 |       |       |       |            |          |       |     
    |* 21 |       HASH JOIN                       |                     | 40246 |  5895K|  4096K| 10430   (2)| 00:03:08 |       |      
    |  22 |        VIEW                           | index$_join$_008    | 65417 |  3321K|       |   197  (14)| 00:00:04 |      
    |* 23 |         HASH JOIN                     |                     |       |       |       |            |          |       |       |
    |* 24 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  25 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  3321K|       |     3   (0)| 00:00:01 |       |   
    |  26 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  27 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  3321K|       |    66   (2)| 00:00:02 |       |   
    |  28 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |  29 |          BITMAP CONVERSION TO ROWIDS  |                     | 65417 |  3321K|       |   100   (1)| 00:00:02 |       |   
    |  30 |           BITMAP INDEX FULL SCAN      | W_GL_SEGMENT_D_M3   |       |       |       |            |          |       |     
    |* 31 |        HASH JOIN                      |                     | 40246 |  3851K|       |  9953   (1)| 00:03:00 |       |       |
    |  32 |         VIEW                          | index$_join$_006    | 65417 |  1149K|       |    82  (18)| 00:00:02 |       |      
    |* 33 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  34 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  1149K|       |     3   (0)| 00:00:01 |       |   
    |  35 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  36 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  1149K|       |    66   (2)| 00:00:02 |       |   
    |  37 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |* 38 |         HASH JOIN                     |                     | 40246 |  3144K|       |  9870   (1)| 00:02:58 |       |       |
    |  39 |          VIEW                         | index$_join$_005    | 65417 |  1149K|       |    82  (18)| 00:00:02 |       |     
    |* 40 |           HASH JOIN                   |                     |       |       |       |            |          |       |       |
    |  41 |            BITMAP CONVERSION TO ROWIDS|                     | 65417 |  1149K|       |     3   (0)| 00:00:01 |       |   
    |  42 |             BITMAP INDEX FULL SCAN    | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  43 |            BITMAP CONVERSION TO ROWIDS|                     | 65417 |  1149K|       |    66   (2)| 00:00:02 |       |   
    |  44 |             BITMAP INDEX FULL SCAN    | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |* 45 |          TABLE ACCESS FULL            | W_GL_ACCOUNT_D      | 40246 |  2436K|       |  9788   (1)| 00:02:57
    |  46 |      PARTITION RANGE ALL              |                     |    11M|  4261M|       |   152K  (2)| 00:45:43 |     1 |1048
    |  47 |       TABLE ACCESS FULL               | W_GL_OTHER_F        |    11M|  4261M|       |   152K  (2)| 00:45:43
    Predicate Information (identified by operation id):
       2 - access("T96094"."ROW_WID"="T324628"."DOC_STATUS_WID" AND "T91397"."ROW_WID"="T324628"."GL_ACC
       3 - filter("T324628"."X_CURRENCY_CODE"='CAD' AND "T324628"."DELETE_FLG"='N')
       4 - access("T91707"."DOC_STATUS_WID"="T96094"."ROW_WID")
       6 - access("T96094"."W_STATUS_CODE"='POSTED' OR "T96094"."W_STATUS_CODE"='REVERSED')
       7 - access("T91397"."ROW_WID"="T91707"."GL_ACCOUNT_WID")
       8 - access("T148543"."HIER_CODE"="T148937"."SEGMENT_LOV_ID" AND "T148543"."HIER20_CODE"="T148937"
      10 - access(ROWID=ROWID)
      11 - access(ROWID=ROWID)
      12 - access(ROWID=ROWID)
      18 - filter("T148543"."HIER4_CODE"<>'00000000000')
      21 - access("T91397"."ACCOUNT_SEG2_CODE"="T148908"."SEGMENT_VAL_CODE" AND
                  "T91397"."ACCOUNT_SEG2_ATTRIB"="T148908"."SEGMENT_LOV_ID")
      23 - access(ROWID=ROWID)
      24 - access(ROWID=ROWID)
      31 - access("T91397"."ACCOUNT_SEG3_CODE"="T148937"."SEGMENT_VAL_CODE" AND
                  "T91397"."ACCOUNT_SEG3_ATTRIB"="T148937"."SEGMENT_LOV_ID")
      33 - access(ROWID=ROWID)
      38 - access("T91397"."ACCOUNT_SEG1_CODE"="T149255"."SEGMENT_VAL_CODE" AND
                  "T91397"."ACCOUNT_SEG1_ATTRIB"="T149255"."SEGMENT_LOV_ID")
      40 - access(ROWID=ROWID)
      45 - filter("T91397"."GL_ACCOUNT_NUM" LIKE '%98%' AND "T91397"."RECON_TYPE_CODE" IS NOT NULL)
    79 rows selected.

    user605926 wrote:
    We have this query which is taking a long time to execute. From the explain plan what i found out is there is a full table scan going on W_GL_OTHER_F. Please help in identifying the problem area and solutions.
    The plan is,
    PLAN_TABLE_OUTPUT
    Plan hash value: 3196636288
    | Id  | Operation                             | Name                | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Psto
    |   0 | SELECT STATEMENT                      |                     |   810K|   306M|       |   266K  (1)| 01:20:03 |       |       |
    |   1 |  HASH GROUP BY                        |                     |   810K|   306M|   320M|   266K  (1)| 01:20:03 |       |       |
    |*  2 |   HASH JOIN                           |                     |   810K|   306M|    38M|   239K  (1)| 01:11:56 |       |       |
    |*  3 |    MAT_VIEW ACCESS FULL               | WC_GL_OTHER_F_MV    |  1137K|    40M|       |  9771   (2)| 00:0
    |*  4 |    HASH JOIN                          |                     |   531K|   189M|       |   222K  (1)| 01:06:38 |       |       |
    |   5 |     INLIST ITERATOR                   |                     |       |       |       |            |          |       |       |
    |*  6 |      INDEX RANGE SCAN                 | W_STATUS_D_U2       |     4 |    56 |       |     1   (0)| 00:00:01 |   
    |*  7 |     HASH JOIN                         |                     |   607K|   208M|  8704K|   222K  (1)| 01:06:38 |       |       |
    |*  8 |      HASH JOIN                        |                     | 40245 |  8214K|  2464K| 10843   (2)| 00:03:16 |       |       |
    |   9 |       VIEW                            | index$_join$_007    | 35148 |  2025K|       |   122  (32)| 00:00:03 |       |
    |* 10 |        HASH JOIN                      |                     |       |       |       |            |          |       |       |
    |* 11 |         HASH JOIN                     |                     |       |       |       |            |          |       |       |
    |* 12 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  13 |           BITMAP CONVERSION TO ROWIDS |                     | 35148 |  2025K|       |     1   (0)| 00:00:01 |       |   
    |  14 |            BITMAP INDEX FULL SCAN     | W_HIERARCHY_D_M2    |       |       |       |            |          |       |     
    |  15 |           BITMAP CONVERSION TO ROWIDS |                     | 35148 |  2025K|       |    24   (0)| 00:00:01 |       |   
    |  16 |            BITMAP INDEX FULL SCAN     | W_HIERARCHY_D_M4    |       |       |       |            |          |       |     
    |  17 |          BITMAP CONVERSION TO ROWIDS  |                     | 35148 |  2025K|       |    24   (0)| 00:00:01 |       |   
    |* 18 |           BITMAP INDEX FULL SCAN      | X_W_HIERARCHY_D_M11 |       |       |       |            |          |       |     
    |  19 |         BITMAP CONVERSION TO ROWIDS   |                     | 35148 |  2025K|       |    33   (0)| 00:00:01 |       |   
    |  20 |          BITMAP INDEX FULL SCAN       | X_W_HIERARCHY_D_M12 |       |       |       |            |          |       |     
    |* 21 |       HASH JOIN                       |                     | 40246 |  5895K|  4096K| 10430   (2)| 00:03:08 |       |      
    |  22 |        VIEW                           | index$_join$_008    | 65417 |  3321K|       |   197  (14)| 00:00:04 |      
    |* 23 |         HASH JOIN                     |                     |       |       |       |            |          |       |       |
    |* 24 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  25 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  3321K|       |     3   (0)| 00:00:01 |       |   
    |  26 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  27 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  3321K|       |    66   (2)| 00:00:02 |       |   
    |  28 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |  29 |          BITMAP CONVERSION TO ROWIDS  |                     | 65417 |  3321K|       |   100   (1)| 00:00:02 |       |   
    |  30 |           BITMAP INDEX FULL SCAN      | W_GL_SEGMENT_D_M3   |       |       |       |            |          |       |     
    |* 31 |        HASH JOIN                      |                     | 40246 |  3851K|       |  9953   (1)| 00:03:00 |       |       |
    |  32 |         VIEW                          | index$_join$_006    | 65417 |  1149K|       |    82  (18)| 00:00:02 |       |      
    |* 33 |          HASH JOIN                    |                     |       |       |       |            |          |       |       |
    |  34 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  1149K|       |     3   (0)| 00:00:01 |       |   
    |  35 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  36 |           BITMAP CONVERSION TO ROWIDS |                     | 65417 |  1149K|       |    66   (2)| 00:00:02 |       |   
    |  37 |            BITMAP INDEX FULL SCAN     | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |* 38 |         HASH JOIN                     |                     | 40246 |  3144K|       |  9870   (1)| 00:02:58 |       |       |
    |  39 |          VIEW                         | index$_join$_005    | 65417 |  1149K|       |    82  (18)| 00:00:02 |       |     
    |* 40 |           HASH JOIN                   |                     |       |       |       |            |          |       |       |
    |  41 |            BITMAP CONVERSION TO ROWIDS|                     | 65417 |  1149K|       |     3   (0)| 00:00:01 |       |   
    |  42 |             BITMAP INDEX FULL SCAN    | W_GL_SEGMENT_D_M1   |       |       |       |            |          |       |     
    |  43 |            BITMAP CONVERSION TO ROWIDS|                     | 65417 |  1149K|       |    66   (2)| 00:00:02 |       |   
    |  44 |             BITMAP INDEX FULL SCAN    | W_GL_SEGMENT_D_M2   |       |       |       |            |          |       |     
    |* 45 |          TABLE ACCESS FULL            | W_GL_ACCOUNT_D      | 40246 |  2436K|       |  9788   (1)| 00:02:57
    |  46 |      PARTITION RANGE ALL              |                     |    11M|  4261M|       |   152K  (2)| 00:45:43 |     1 |1048
    |  47 |       TABLE ACCESS FULL               | W_GL_OTHER_F        |    11M|  4261M|       |   152K  (2)| 00:45:43
    Predicate Information (identified by operation id):
    2 - access("T96094"."ROW_WID"="T324628"."DOC_STATUS_WID" AND "T91397"."ROW_WID"="T324628"."GL_ACC
    3 - filter("T324628"."X_CURRENCY_CODE"='CAD' AND "T324628"."DELETE_FLG"='N')
    4 - access("T91707"."DOC_STATUS_WID"="T96094"."ROW_WID")
    6 - access("T96094"."W_STATUS_CODE"='POSTED' OR "T96094"."W_STATUS_CODE"='REVERSED')
    7 - access("T91397"."ROW_WID"="T91707"."GL_ACCOUNT_WID")
    8 - access("T148543"."HIER_CODE"="T148937"."SEGMENT_LOV_ID" AND "T148543"."HIER20_CODE"="T148937"
    10 - access(ROWID=ROWID)
    11 - access(ROWID=ROWID)
    12 - access(ROWID=ROWID)
    18 - filter("T148543"."HIER4_CODE"<>'00000000000')
    21 - access("T91397"."ACCOUNT_SEG2_CODE"="T148908"."SEGMENT_VAL_CODE" AND
    "T91397"."ACCOUNT_SEG2_ATTRIB"="T148908"."SEGMENT_LOV_ID")
    23 - access(ROWID=ROWID)
    24 - access(ROWID=ROWID)
    31 - access("T91397"."ACCOUNT_SEG3_CODE"="T148937"."SEGMENT_VAL_CODE" AND
    "T91397"."ACCOUNT_SEG3_ATTRIB"="T148937"."SEGMENT_LOV_ID")
    33 - access(ROWID=ROWID)
    38 - access("T91397"."ACCOUNT_SEG1_CODE"="T149255"."SEGMENT_VAL_CODE" AND
    "T91397"."ACCOUNT_SEG1_ATTRIB"="T149255"."SEGMENT_LOV_ID")
    40 - access(ROWID=ROWID)
    45 - filter("T91397"."GL_ACCOUNT_NUM" LIKE '%98%' AND "T91397"."RECON_TYPE_CODE" IS NOT NULL)
    79 rows selected.
    You may want to have a look at <a href="HOW TO: Post a SQL statement tuning request - template posting">HOW TO: Post a SQL statement tuning request - template posting</a> to see what more details are needed in order for somebody to provide better answer.
    Based on what you have posted so far, you may want to share details of following questions (in addition to details in above link)
    1) How much time does the query currently take to execute? How much time do you expect it to take? Also, how are you measuring query execution time?
    2) Your plan suggests that the query is expected to return 810K rows. Is this figure close to actual number of records? What are you doing with this huge amount of data?

  • JSP taking time to load

    Hi All
    I am having a strange problem. The JSP file is taking to much of time to load and the IE doesnot responds properly even after the the page is loaded. I agree that the JSP has significant amount of Java code in it. What could be the problem?? The response from the server is coming fast. The page is taking time after recieving the response from server.
    Regards
    Prashant

    What could be the problem??Slow hardware, slow code, perhaps some other app is eating your resources, could be anything really. I think its time for a profiler.
    The JSP file is taking to much of time to load and the IE doesnot responds properly even after the the page is loadedIE is the best browser for improper behavior, but how exactly is it misbehaving in your case? It might be a bad piece of javascript that is causing it head aches.

  • Taking time to load image

    Hi,
                   I have implemented an image scroller. Now the client had reported that a few seconds are taking to load images. We have a local server. When we load images from it, it's not taking that much time to load images. You just copy the following code in a notepad save it as .html extension, which is the widget taken from client site.
    <script type='text/javascript' language='javascript'>
    var ObjetTag = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0' width='100%' height='100%' id='ImageScroller' align='middle'> <param name='allowScriptAccess' value='always' /> <param name='allowFullScreen' value='true' /><param name='movie' value='http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf' /><param name='quality' value='high' /><param name='FlashVars' value='CommPage=http://test.nysaenet.org/NYSAENET/NYSAENET/Resources1/Resources/VideoChapterCallback/Defau lt.aspx&DID=7da33f1e-6f00-4ff3-85cb-51cb0a995e84&ScaleMode=Auto&ImageControl=Auto&IWidth=A uto&IHeight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=A uto&WaterMark= &ControlButton=Auto&TransWaitTime=Auto&PlayerPath=http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf' /><embed src='http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf' quality='high' width='100%' height='100%' name='ImageScroller' align='middle' allowscriptaccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' FlashVars='CommPage=http://test.nysaenet.org/NYSAENET/NYSAENET/Resources1/Resources/VideoChapterCallback/Defau lt.aspx&DID=7da33f1e-6f00-4ff3-85cb-51cb0a995e84&ScaleMode=Auto&ImageControl=Auto&IWidth=A uto&IHeight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=A uto&WaterMark= &ControlButton=Auto&TransWaitTime=Auto&PlayerPath=http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf'  /></object>";
    function ResizeSwf(newW, newH)
    {document.getElementById('ImageControl').style.width = newW+'px';
    document.getElementById('ImageControl').style.height =newH+'px';
                            </script>
                            <script src='http://test.nysaenet.org/Higherlogic/SwfFiles/eolasfix.js'
                                type='text/javascript' defer='defer'>
                            </script>
                            <div id='ImageControl' style='width: 100%; height: 100%; background-color: #FFFFFF'>
                                <script type='text/javascript' language='JavaScript'>document.write(ObjetTag);
                                </script>
                            </div>
    Try with following code, save it in a notepad with .html extension, which is the widget taken from our local site.
    <script type='text/javascript' language='javascript'>
    var ObjetTag = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0' width='100%' height='100%' id='ImageScroller' align='middle'> <param name='allowScriptAccess' value='always' /> <param name='allowFullScreen' value='true' /><param name='movie' value='http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf' /><param name='quality' value='high' /><param name='FlashVars' value='CommPage=http://test.higherlogic.com/SNAMATEST/SNAMATEST/Resources/VideoChapterCallback/Default.asp x&DID=c24bb0e5-9698-4ebb-b180-d9a89682cb4c&ScaleMode=Auto&ImageControl=Auto&IWidth=Auto&IH eight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=Auto&Wa terMark= &ControlButton=Auto&TransWaitTime=Auto&FadeTime=Auto&PlayerPath=http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf' /><embed src='http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf' quality='high' width='100%' height='100%' name='ImageScroller' align='middle' allowscriptaccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' FlashVars='CommPage=http://test.higherlogic.com/SNAMATEST/SNAMATEST/Resources/VideoChapterCallback/Default.asp x&DID=c24bb0e5-9698-4ebb-b180-d9a89682cb4c&ScaleMode=Auto&ImageControl=Auto&IWidth=Auto&IH eight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=Auto&Wa terMark= &ControlButton=Auto&TransWaitTime=Auto&FadeTime=Auto&PlayerPath=http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf'  /></object>";
    function ResizeSwf(newW, newH)
    {document.getElementById('ImageControl').style.width = newW+'px';
    document.getElementById('ImageControl').style.height =newH+'px';
    </script>
    <script src='http://test.higherlogic.com/Higherlogic/SwfFiles/eolasfix.js' type='text/javascript' defer='defer'>
    </script>
    <div id='ImageControl' style='width:100%; height:100%;background-color:#FFFFFF'>
    <script type='text/javascript' language='JavaScript'>document.write(ObjetTag);
    </script>
    </div>
    Why the loading time is varying on different server?
    Regards,
            Sreelash

    Hi Ross, the image loading problem is not solved yet. The client needs to solve it at any cost. He is saying that the problem might be with the effeciency of code. So my PM is asking to modify the code.Youc can view the image scroller in this specified site: http://test.nysaenet.org/NYSAENET/NYSAENET/Home/
    I am attaching the class that is using for loading images. In this class, after loading the images, some masking effects are given. I think you can understand about after viewing the image scroller and the class. Hope you ll reply as soon as possible. I am wasting more than one week for this purpose. I am not getting any idea.
    Regards,
              Sreelash.S.

  • Select query taking time

    THe following query is taking time. Is there anyway better to write this query.
    SELECT PROGRAM_NAME_ID ,PROGRAM_NAME,sum(balance)"Unpaid Balance"
        FROM (
    SELECT DISTINCT
    PROGRAM_NAME_ID ,PROGRAM_NAME,
    t.billing_key billing_key,
    (TUFF_GENERIC_PKG.GET_TOTAL(t.billing_key,t.program_key)+
    nvl(PENALTY_INTEREST(t.billing_key,t.program_key,b.company_id,b.report_period ),0))
    -PAYMENT_AMOUNT(B.COMPANY_ID,T.PROGRAM_KEY,B.REPORT_PERIOD) Balance,
    Report_period,company_id
    FROM  BILLING B,
    PROG_SURCH T ,
    mv_program_dict P
    WHERE
    B.BILLING_KEY=T.BILLING_KEY
    AND  p.program_key= t.program_key(+)
    and company_id=:p3_hide_comp
    and b.SUBMIT_STATUS='S'
    union
    SELECT DISTINCT
    PROGRAM_NAME_ID ,PROGRAM_NAME,
    t.billing_key billing_key,
    (TUFF_GENERIC_PKG.GET_TOTAL(t.billing_key,t.program_key)+
    nvl(PENALTY_INTEREST(t.billing_key,t.program_key,b.company_id,b.report_period ),0))
    -PAYMENT_AMOUNT(B.COMPANY_ID,T.PROGRAM_KEY,B.REPORT_PERIOD) Balance,
    Report_period,company_id
    FROM  MV_BILLING B,
    MV_PROG_SURCH T ,
    mv_program_dict P
    WHERE
    B.BILLING_KEY=T.BILLING_KEY
    AND  p.program_key= t.program_key(+)
    and company_id=:p3_hide_comp
    order by report_period,program_name_id )
    where balance>=0
    GROUP BY PROGRAM_NAME_ID,PROGRAM_NAME
    ORDER BY PROGRAM_NAME_ID

    Hi,
    This is totally right.
    >
    Being one such call. The price for calling pl/sql functions in SQL can be quite high. I'd highly recommend you find a way to incorporate the pl/sql code into the SQL query.
    >
    but, try with this query. I hope would help you and return the rows you want.
    SELECT   program_name_id, program_name,
               SUM (  tuff_generic_pkg.get_total (billing_key, program_key)
                    + NVL (penalty_interest (billing_key,
                                             program_key,
                                             company_id,
                                             report_period
                           0
             - payment_amount (company_id, program_key, report_period) balance
        FROM (SELECT program_name_id, program_name, t.billing_key, t.program_key,
                     b.company_id, b.report_period
                FROM billing b, prog_surch t, mv_program_dict p
               WHERE b.billing_key = t.billing_key
                 AND p.program_key = t.program_key(+)
                 AND company_id = :p3_hide_comp
                 AND b.submit_status = 'S'
              UNION
              SELECT program_name_id, program_name, t.billing_key, t.program_key,
                     b.company_id, b.report_period report_period, company_id
                FROM mv_billing b, mv_prog_surch t, mv_program_dict p
               WHERE b.billing_key = t.billing_key
                 AND p.program_key = t.program_key(+)
                 AND company_id = :p3_hide_comp) sub
       WHERE   (  tuff_generic_pkg.get_total (billing_key, program_key)
                + NVL (penalty_interest (billing_key,
                                         program_key,
                                         company_id,
                                         report_period
                       0
             - payment_amount (company_id, program_key, report_period) >= 0
    GROUP BY program_name_id, program_nameObviosly I cannot testing.
    HTH -- johnxjean --

  • VI taking time to load first time

    why My VI is taking so much (at least 4 minute) time to load not to run?

    smercurio_fc wrote:
    If you want real help, provide real information.
    Like what your VI is doing.
    What toolkits you are using.
    What operating system you are using.
    What version of LabVIEW you are using.
    Whether you have any controls or indicators with saved data, like graphs.
    ...a few more...
    What LabVIEW version is the VI? Is it the same as the version you are using.
    Are all subVIs in the expected locations or does is constantly search when loading?
    Was the VI last saved on a different platform (Mac, Linux, 64bit windows, non-sse2, etc.)
    Are you using LabVIEW 2011 on an computer that does not support sse2 (e.g. athlon XP, pre-pentium 4)?
    Does your VI use mathscript?
    How much free memory does your computer have?
    Are the VIs and subVIs local or on a network location?
    Are you using addons (openg, toolkits, etc.) that are not masscompiled?
    What else is running on your computer?
    Do you have large folded structures that need to be computed at compile time?
    Is your VI set to seperate compiled code?
    Do most VIs (e.g. examples from the example finder) load much faster?
    If most of the questions don't apply and you think it should load much faster, please attach your VI. 
    LabVIEW Champion . Do more with less code and in less time .

  • SSRS report taking time to load the data

    Hello Everyone,
    I have create SSRS report get data using web service. When i run the web service methods its gives me result instantly, But when i run the report it takes lot time to load data in SSRS report. some times in SharePoint page it shows time out error.
    Could you please tell me why SSRS report lots of time to load data.
    Thank You. 

    Have a look at ExecutionLog tables in report server database to get an idea of which step is taking more time.
    http://blogs.msdn.com/b/crm/archive/2008/11/19/auditing-report-execution-using-the-reportserver-database.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Published SharePoint site login page taking time to load on Internet

    Hi,
    We have deployed TMG 2010 in our client environment.
    TMG is in Workgroup and
    is deployed with Single Network Topology.
    TMG version is 7.0.9193.540.
    We have published an Internal SharePoint site on Internet with NO Authentication at TMG. the site is internally running
    in default zone with windows authentication. Users get the windows pop-up to authenticate themselves when they hit the URL on Internet and will be redirected to the homepage after providing the authentication credentials.
    Next, client has extended the site in other zone with Form based authentication and we have published the site on Internet in a same way with
    NO Authentication at TMG level. The problem we are facing here is that the site login page loads in 2-3 seconds when accessed from the internal network but is taking a long time to load when somebody tries to access the same site on Internet.
    Can anybody tell me what can be the issue for this? Is this a seen issue? We need a urgent fix for this.
    Quick help will be appreciated.
    Thanks,
    Sanjog

    Sanjog, I want you to try a couple of things for me. Put a client on the same subnet as TMG. Add a HOSTS file to it so that the name of your SharePoint site resolves to TMG. Try browsing it now. Is there a difference? If it is better then it is safe to say
    it is your edge device. If that doesn't improve the performance try browsing it from the TMG Server. Make sure that IE is set up to not use any proxies (including itself). Do you still see the issue? If you do, there is likely a problem between TMG and your
    SharePoint site. What devices reside in that data path? Simplify the path the data has to travel as much as you can and try to rule out certain devices.
    SharePoint publishing is heavily reliant on your Alternative Access Mappings being set up correctly. Do you know if your SharePoint Administrator set these up? There are numerous articles available explaining these.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/05/25/alternate-access-mappings-explained.aspx
    I have been supporting ISA/TMG/UAG for a number of years now and, in general, when we see these types of issues it is not a misconfiguration on ISA/TMG/UAG. In most of the cases there is some other network device causing the issue whether it be a Firewall,
    a load balancer, a WAN optimizer, whatever.
    http://blogs.technet.com/b/keithab/archive/2012/02/15/top-troubleshooting-tips-to-try-before-calling-support-for-isa-tmg.aspx
    Let me know if any of those suggestions help.
    Keith

  • Query taking time to execute

    Hello,
    i have created one query based on inventory cube 0IC_C03. when i am executing the infocube based on a particular date i am able to see the output but when i am executing the query on the basis of that particular date given while executing the cube the query is taking long time to execute and throwing a message of time limit exceed.
    could anyone suggest me why the query is showing such nessage along with resolution.
    Thanks,
    Kumkum
    Edited by: kumkum basu on Nov 29, 2010 2:33 PM

    Hi,
    There can be number of reason.
    What you can do is:-
    put the unwanted characteristics in Free Characteristics
    Remove unwanted cell reference
    Try using partitions in cubes
    Use aggregates for summarised data.
    f the above options doesnt work, then try pre-caching.This will definitely help!
    Use proper selections to get small subset of data.
    Goto RSRT>> type your query name>> Query properties>> select cache mode=4
    In addition to RSRT, ST05 (sql trace), SE30 (runtime analysis) and system statistics (ST03) may help you in identifying performance issues with a report.
    Thanks,.
    Saveen Kumar

  • Count query taking time

    I have a query -->select c1,c2,c3 from table1 . This query takes only few milliseconds. But when I take count from the same query i.e. when I execute select count(c1,c2,c3) from table1 then it takes a very long time (about 1 min). The table1 contains about 25000 rows. Please help to improve performance of Count query.

    Satej wrote:
    I have a query -->select c1,c2,c3 from table1 . This query takes only few milliseconds. But when I take count from the same query i.e. when I execute select count(c1,c2,c3) from table1 then it takes a very long time (about 1 min).Classic misperception of Toad, SQL Navigator and similar tool users. All these tools fetch just first result screen and show time it took to fetch just that and not the time to fetch all rows. And in order to count you need to fetch all rows.l That is why select count(*) takes longer. But 1 min for 25000 rows is a bit long. Check execution plan to see what is going on.
    SY.

  • Query run time - BI Load Statistics

    Hi experts,
    In ST03N, the BI Workload for an query on a multiprovider is as follows for 2 different dates.
    26.02.2010:
    InfoCube: X
    Name of Query: Y
    No.of Nav. - 13
    Total time - 2,218.4
    Ø Total - 170.6
    MED: Total - 8.6
    OLAP Time -  1,603.7
    Ø OLAP - 123.4
    DB Time -  248.8
    Ø  DB - 19.1
    Frontend - 157.1
    Ø Frontend - 12.1
    Planning - 0
    Avg.Plan. - 0
    Unass.Time -  208.8
    Avg.Unass. - 16.1
    Selected - 8,509,963
    Select. / Transf. -  14.7
    26.03.2010:
    InfoCube: X
    Name of Query: Y
    No.of Nav.: 13
    Total time - 6,896.8 
    Ø Total - 530.5
    MED: Total - 11.9
    OLAP Time - 206.1
    Ø OLAP - 15.9
    DB Time -  887.9
    Ø  DB - 68.3
    Frontend - 75.3
    Ø Frontend -  5.8
    Planning - 0
    Avg.Plan. - 0
    Unass.Time -  5,727.5
    Avg.Unass. - 440.6
    Selected - 1,126,660
    Select. / Transf. - 87.7
    Our query runtime gradually increased. By the above values what are the things we need to consider to reduce the query runtime.
    Do we need to change any settings in the system to reduce query runtime ?
    What is the "Unass.Time" ?
    Please provide some inputs....
    Regards,
    Bhadri M.
    Edited by: Bhadri M on Mar 29, 2010 2:49 PM
    Edited by: Bhadri M on Mar 29, 2010 5:31 PM

    Hi,
    Execute one time this query in debug mode without cache. Verify a new values in ST03N transaction and put its here.
    Regards,
    Conrado
    Spanish SAP Forums administrator
    [www.forosap.com|www.forosap.com]

  • Query taking time when MVIEW is used!!!

    Dear All,
    Whenever i try and execute a query involving Materialized View(MVIEW), more often i have seen that if the query takes *5hrs* to execute and MVIEW refresh is every *2hrs*, it'll throw error as "error -- precedeing line from ...".
    I just wanted to confirm if there will be a problem in conditions where query execution is overlapping the then next MVIEW refresh???
    ** Sorry could not provide the exact error

    So what do you think what ORACLE is doing? Giving you the "latest" update? Of course not, you have read consistency,so as soon as the data changed, your query reads from UNDO. Is the MV a "fast" or "complete" refresh? If its "fast" if should not matter too much, depending on the amount of updates. But I bet it's "complete".
    How long does the refresh go? That should be < 2h right? So your query will not get substantial slower when using the source of the MV directly.
    5h is massive. I bet that can be done better. If not (wanna bet ? ;-) ) how long does the query take without MV refresh (for a test)? Then you can put the MV data in a temp table and use that for a start.
    And get your error handler right.
    -- andy

  • Query taking time in Oracle 10g

    Hi,
    Recently we had a database upgrade from 9.2.0.8 to 10.2.0.4. We use HP-UX B11.23 as OS.The problem is we have a query which used to take 3 mins in 9i database but it is not returning any output in 10g database after running for 8 hours after which we need to kill it . The query is ,
    SELECT DPPB.CO_CD, DPPB.PRC_BOOK_CD,NVL(PB.CO_PRC_BOOK_CD,'NULL') ,
    NVL(BP.BASE_PROD_CD,'NULL'),NVL(FG.FG_CD,'NULL'),DPPB.EFFTV_STRT_DT,
    DPPB.EFFTV_END_DT,PRC_BOOK_AMT, PRC_LST_RPT_IND   ,
    SYSDATE +  (RANK () OVER (PARTITION BY  PROD_PRC_BOOK_CD  ORDER BY DPPB.EFFTV_STRT_DT)/(24*60*60)) "RANK",
    SYSDATE      FROM
    DIM_PROD_PRC_BOOK DPPB,dim_prod  FG,dim_prod  BP,dim_prc_book  PB
    WHERE
    DPPB.BASE_PROD_OID =BP.BASE_PROD_OID and bp.end_date>sysdate and bp.be_id=bp.base_prod_oid AND
    FG.FG_OID=DPPB.FG_OID and fg.end_date>sysdate and fg.be_id=fg.fg_oid
    AND DPPB.PRC_BOOK_OID=PB.prc_book_oid and pb.end_date>sysdate and  pb.be_id=pb.PRC_BOOK_OID
    AND DPPB.EFFTV_END_DT > ADD_MONTHS(TRUNC(SYSDATE), -15)
    AND DPPB.CURR_IND='Y'
    AND
    PROD_PRC_BOOK_CD ||'-'||TO_CHAR(DPPB.END_DATE ,'DD-MM-YYYY hh24:mi:ss')
    IN(
    SELECT PROD_PRC_BOOK_CD ||'-'||TO_CHAR(MAX(DPPB.END_DATE ),'DD-MM-YYYY hh24:mi:ss')
    FROM DIM_PROD_PRC_BOOK DPPB WHERE PROD_PRC_BOOK_CD IS NOT NULL GROUP BY PROD_PRC_BOOK_CD ,EFFTV_STRT_DT
    )The explain plan of the query in 9i is,
                Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          1             2964                                          
      WINDOW SORT          1       661       2964                                          
        HASH JOIN          1       661       2958                                          
          TABLE ACCESS BY INDEX ROWID     WHSUSR.DIM_PROD     1       73       1                                          
            NESTED LOOPS          1       355       290                                          
              NESTED LOOPS          1       282       289                                          
                HASH JOIN          164       32 K     284                                          
                  TABLE ACCESS FULL     WHSUSR.DIM_PRC_BOOK     1       57       2                                          
                  TABLE ACCESS FULL     WHSUSR.DIM_PROD_PRC_BOOK     6 K     957 K     281                                          
                TABLE ACCESS BY INDEX ROWID     WHSUSR.DIM_PROD     1       77       1                                          
                  INDEX RANGE SCAN     WHSUSR.XN15_DIM_PROD     3             1                                          
              INDEX RANGE SCAN     WHSUSR.XN22_DIM_PROD     5             1                                          
          VIEW     SYS.VW_NSO_1     132 K     38 M     2665                                          
            SORT UNIQUE          132 K     6 M     2665                                          
              SORT GROUP BY          132 K     6 M     2665                                          
                TABLE ACCESS FULL     WHSUSR.DIM_PROD_PRC_BOOK     132 K     6 M     281                   And the explain plan of the query in 10g database is
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=ALL_ROWS          4             1702                                          
      WINDOW SORT          4       1 K     1702                                          
        FILTER                                                                
          TABLE ACCESS BY INDEX ROWID     WHSUSR.DIM_PROD     1       73       1                                          
            NESTED LOOPS          1       339       899                                          
              NESTED LOOPS          14       3 K     898                                          
                HASH JOIN          2 K     428 K     805                                          
                  TABLE ACCESS FULL     WHSUSR.DIM_PRC_BOOK     1       53       3                                          
                  TABLE ACCESS FULL     WHSUSR.DIM_PROD_PRC_BOOK     93 K     12 M     801                                          
                TABLE ACCESS BY INDEX ROWID     WHSUSR.DIM_PROD     1       77       1                                          
                  INDEX RANGE SCAN     WHSUSR.XN15_DIM_PROD     2             1                                          
              INDEX RANGE SCAN     WHSUSR.XN22_DIM_PROD     5             1                                          
          FILTER                                                                
            HASH GROUP BY          1 K     59 K     802                                          
              TABLE ACCESS FULL     WHSUSR.DIM_PROD_PRC_BOOK     117 K     5 M     794        Please help in identifying the problem and how to tune it.

    user605926 wrote:
    Thanks Sir for your immense help. I used the hint /*+ optimizer_features_enable('9.2.0.8') */ and the query took only 2 seconds. I am really delighted.
    Sorry for not clicking the 'helpful' button earlier since honestly I did not know about the rules. Going forward I will not forget to do that.Don't apologise, it wasn't intended as a personal criticism - it's just a footnote I tend to use at present as a general reminder to everyone that feedback is useful.
    I have one question. Do i have to use this hint for each and every query that is becoming a headache or is their any permanent solution to fix all the queries that used to run good on 9.2.0.8 database ? Please suggest.When doing an upgrade it is always valid (in the short term) to set the optimizer_features_enable parameter to the value of the database your moving from so that you can get the code improvements (or bug fixes) of the newer software without risking execution plan changes.
    After that the ideal is to test software and identify generic cases where a change like an index definition, or some statistical information needs to be corrected for a particular reason in classes of queries. Eventually you get down to the point where you have a few awkward queries which the optimizer can't handle where you need hints. The optimizer_features_enable is very convenient here. In 10g, however, you could then capture the older plan and record is as an SQL Baseline against the unhinted query rather than permanently including hints.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful.

Maybe you are looking for

  • XSLT mapping throws error in XI, but not in XMLSPY

    Hi everybody, I got a really complex XSLT mapping. It works fine in XMLSPY. But when I execute the mapping in XI, I get the following error: Error during XSLT Transformation: Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Oper

  • GRC 5.3 Risk Critical Action reports return "no matches or conflicts"

    When running GRC 5.3 Risk Analysis Critical Action reports on either the user level or role level getting the message no matches or conflicts. However, Permission level reports are successfully returning correct results on the user and role level. Th

  • PNG file is corrupt

    Hi, I found my old Fireworks files but now 8 of 10 cannot be opened. Can anyone help? The preview of the corrupt files are also not showing the file. Would be great if someone could try to open one of my files to check if it is only my local environm

  • Show PopupMenu in JMenuItem

    I want to show the popupmenu when users do the right click on the menuitem to do something like the mozilla or internet explorer Favorites menu which can be do right click to show the popup. I tried this, but i always have the following problems: jav

  • Opening an existing project in PE12 elements editor.

    When I attempt to open an existing project in PE12 Elements Editor, a new project opens instead. If I attempt to close the new project, it freezes and must be force closed.