Workflow performance issue or not?

Hello experts!!!!!!
    when several workflow instance is in process and waiting for a document status change to occur, will it be a performance issue?
    I have a scenario in which my workflow is triggered when a document is created, it goes through statuses from 1 to 10 (for ex). Most document will only reach status 7. Is it a good idea to design a workflow which will complete when the document reaches status 7 or there will not any performance issue if the workflow waits for document status to go the stage 10 for its completed.
    your thoughts and suggestions are apreciated
Thanks
Prakash

Hi
If all these workflow's are waiting for changes that will occur almost simultaneously - the yes, you could be facing a performance issue, (depending on the load and the sizing of your landscape).
If the flows are triggered using events, I would recommend you to use the event queue.  You can find documentation on how to use / Setup here http://help.sap.com/saphelp_47x200/helpdata/en/17/1adc37d4edec12e10000009b38f8cf/frameset.htm
Even if your not facing a performance issue, the event queue is still a very good idea, as it can help stabilize your solution.  e.g.  in case of at error in your workflow, you can mark the event, in the event queue as having an error. The queue will then continue to collect the event, without triggering your workflow.
When you then have fixed the bug, you can reactivate the event queue, and no event will have been lost.
Regards
Morten Nielsen

Similar Messages

  • SharePoint foundation 2010 workflow performance issue

    I need clarification for the below issue.
    I have designed state machine approval workflow through VS2010.
    It was worked fine for 3 months and now it is taking long time for each level of execution.
    I have checked the running workflow instances in site, it is around 1800 instances for each sub site.
    Application: SharePoint Foundation 2010                                                                              
    Farm configuration
    Web server
    Application Server
    Database Server
    Processor
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    RAM
    8 GB
    8 GB
    14 GB
    OS
    Windows Server 2008 R2 SP 1
    Windows Server 2008 R2 SP 1
    Windows Server 2008 R2 SP 1
    Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

    I have done the below configuration in production servers. Still the problem exists.
    System took around 13 hours+ to proceed to next approver. Suggest some ideas to increase workflow performance.
    Decreased DB server memory configuration
    (Database server)
    Maximum memory in SQL server reduced from
    10GB to 8GB.
    Increased Workflow throttle configurations
    (Application & Web server)
    PS C:\Windows\system32> stsadm -o getproperty -pn
    workflow-eventdelivery-throttle <Property Exist="Yes" Value="150" />
    (Default value is 15)
    PS C:\Windows\system32> stsadm -o getproperty -pn
    workitem-eventdelivery-batchsize <Property Exist="Yes" Value="150" />
    (Default value is 100)
    PS C:\Windows\system32> stsadm -o getproperty -pn
    workflow-eventdelivery-timeout <Property Exist="Yes" Value="10" />
    (Default value is 5)
    PS C:\Windows\system32> stsadm -o getproperty -pn
    job-workflow -url http://myweb:1333 <Property Exist="Yes" Value="Every 10 minutes between 0 and 30" />
    (Default - Property Exists = “No”)
    Site collection analytics
    Sub-Site1: Total running workflow instances: 302
    Sub-Site 2: Total running workflow instances: 58
    Sub-Site 3: Total running workflow instances: 1234
    Sub-Site 4: Total running workflow instances: 2
    Sub-Site 5: Total running workflow instances: 2306
    Sub-Site 6: Total running workflow instances: 512
    Sub-Site 7: Total running workflow instances: 1631
    Sub-Site 8: Total running workflow instances: 7
    Sub-Site 9: Total running workflow instances: 38
    Sum of workflow instances from all sites:
    6090….
    Farm configuration
    Web server
    Application Server
    Database Server
    Processor
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    Intel® Xeon® CPU E5-26670 0 @2.90GHz 2.89GHz
    RAM
    8 GB
    8 GB
    14 GB
    OS
    Windows Server 2008 R2 SP 1
    Windows Server 2008 R2 SP 1
    Windows Server 2008 R2 SP 1
    Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Brand new with performance issues -- programs not responding, system hanging

    Just this morning I began migrating from a Dell Inspiron 1525 laptop that has been generally reliable for the better part of 3 years (monitor housing is literally falling apart but still works great... check E-Bay later for spare parts! lol)... migrating to a Toshiba Satellite C655D-S5136 laptop running Windows 7 64-bit.  It's literally right out of the box 5 hours ago and I've been reinstalling programs, transferring files, etc.
    The problem is that I'm already noticing a lot of performance issues.  The system (and/or programs) seem to get caught often... resulting in frequent "Program not responding" messages (some of which the system manages to bypass)... and a few of the "This program closed unexpectedly" or "This program stopping responding... do you want to check online for a solution or just close the program?" messages.
    This is happening on multiple programs... tax prep software TaxAct update dialog hangs after 256 bytes downloaded every time, AVG Anti-Virus was hanging although never gave me a not responding message, Internet Explorer has stopped responding a couple times, Windows Live Mail did often, especially when I was using IMAP (since changed to POP3 and problem seems to have resolved but still).  Even opening the start menu a few seconds after plugging in an external hard drive lagged the system like hell for a full two minutes until it caught up with itself.
    This is unacceptable in a brand new machine.  I was getting a few errors like this on my Dell every now and then but I chalked it up to an old machine that had never been wiped and had a failing hard disk.  I understand the computer moving slower, especially as I've been installing a lot, running antivirus, downloading all at once, but no way programs should simply stop responding this often.  I could do twice the activity on my Dell and have no issues.
    I've uninstalled several of the preloaded programs... the antivirus, quickbooks, etc.  I've also disabled and/or uninstalled several of the other programs like Toshiba Reeltime and Toshiba Zoom Manager or whatever that was.  Nothing has seemed to help.  And that's not surprising... the speed is great, it's that programs are getting caught so often, sometimes every time or every other time I open up a program.
    Is this a Windows 7 thing? (This is first time using Windows 7, coming from Vista).  Is it a Satellite thing?
    Anyone have any suggestions?  Is it possible there's just some component that's bad?  Processor, RAM, etc.?
    Thanks... very frustrated!

    I may have found a solution. I changed my startup programs and stopped some of the Toshiba software from running at startup. The ones I stopped are listed below. I have used the laptop heavily for two days now and have not had any problems. It actually runs very fast. I hope this will help.
    Toshiba Reel Time
    Toshiba Sleep
    Toshiba PC Health Monitor
    Toshiba WebCamera App.
    Toshiba Power Saver
    Toshiba Message Center
    Toshiba Service Station
    SmartFaceVWatcher
    Toshiba Online Backup
    Toshiba Zooming Utility
    Toshiba eco Utility
    Toshiba App Place 
    Message Center
    For people that don't know how to change these, here are the instructions.
    Click Start > Type msconfig in the search box > open msconfig > click on the startup tab > remove the checkmarks next to the above programs > restart computer.
    Doing this may not fix your problems, but it did fix mine.

  • Workflow Performance Issue (Used with OWB10.2.0.3)

    Hi
    We have a problem which seems consistent among our process flows.
    The process flow contains a fork then runs 3 or 4 mappings routing back to an "AND" activity.
    each mapping completes in a matter of seconds but the duration of the AND activity is consistently around 2mins.
    This in terms of our overall load elapsed times adds an overhead of at least 20-30 mins which is not acceptable really.
    Can anyone shed any light on what the AND is doing in the background and what can be done to speed it up e.g. what might need purging (everything i've seen tends to relate to use with Oracle Apps)?
    Kind Regards
    Mark

    Hi
    I have the log file from the wfstat
    snippet below if you want I could email you the full log but there does not appear to be anything else of note
    **** Activity Statuses
    Begin Date End Date Activity Status RESULT User NID Status Action
    Performer
    13-AUG-08 10:08:37 13-AUG-08 10:10:15 ROOT/SUPERSEDE_QUARANTINED_ITEMS COMPLETE OK
    13-AUG-08 10:08:37 13-AUG-08 10:08:37 SUPERSEDE_QUARANTINED_ITEMS/START1 COMPLETE #NULL
    13-AUG-08 10:08:37 13-AUG-08 10:08:37 SUPERSEDE_QUARANTINED_ITEMS/FORK COMPLETE #NULL
    13-AUG-08 10:08:37 13-AUG-08 10:08:38 SUPERSEDE_QUARANTINED_ITEMS/SUPERSEDE_TRANSFE COMPLETE OK
    R_DETAIL_UI
    13-AUG-08 10:08:37 13-AUG-08 10:08:38 SUPERSEDE_QUARANTINED_ITEMS/SUPERSEDE_TRADE_H COMPLETE OK
    EADER_UI
    13-AUG-08 10:08:37 13-AUG-08 10:08:38 SUPERSEDE_QUARANTINED_ITEMS/SUPERSEDE_TRADE_D COMPLETE OK
    ETAIL_UI
    13-AUG-08 10:08:37 13-AUG-08 10:08:38 SUPERSEDE_QUARANTINED_ITEMS/SUPERSEDE_TRANSFE COMPLETE OK
    R_HEADER_UI
    13-AUG-08 10:08:38 13-AUG-08 10:10:15 SUPERSEDE_QUARANTINED_ITEMS/AND1 COMPLETE OK
    13-AUG-08 10:10:15 13-AUG-08 10:10:15 SUPERSEDE_QUARANTINED_ITEMS/END_SUCCESS COMPLETE #NULL
    9 rows selected.

  • Performance issue with NOT LIKE 'VA%' in Sql Query

    I'm fetching vendor details from po_vendor_sites_all , in the where clause i use vendor_site_code NOT LIKE 'VA%'. Database:10g
    NOT LIKE is reducing the performance, any other option to increase the performance.
    Any suggestions?
    Thanks
    dow005

    Assuming a fairly even distribution of vendor_site_codes and assuming a LIKE 'VA%'
    would pick up 1% of the rows and assuming an index on vendor_site_codes
    and a reasonable clustering we might expect that query to use an index.
    Your query is NOT LIKE 'VA%' which implies picking up 99% of the rows = Full table scan.
    The only option I can think of is to use parallelism in your query (if the system has the
    power to handle it) or perhaps use more where clause restrictions on indexed column(s)
    to reduce the number of rows picked up.
    I've had to assume a lot of things as you don't give any info about the table and data.
    If you could provide more information we might be able to help more.
    See SQL and PL/SQL FAQ
    Edited by: Paul Horth on 02-May-2012 07:12

  • Performance issue or not

    In my projects they are planed to use pl/sql in case of sql statements.That means all insert/update/delete/select.
    This project is developing .net/oracle.So in the middle layer they are calling Procedure in case of SQL statemets.
    My doubt is in production time what will be the outcome or performance affect the Database due to this excess pl/sql calling? please give your sugg....
    Or How I will set the memory for this type of Database?
    thanks in adv
    Thomas.

    If they do it well...perfomance will increase.
    If they do it badly...performance will decrease. ;-)
    What I'd do is take a few statspack reports for 15 minute periods over your typical working day right now, so you have a benchmark with which to compare any future changes. In my experience whenever you make changes like this you can almost guarantee that at least one person will say "This isn't as fast as it used to be" and without hard facts (i.e. your statspack report) it'll be very difficult to know whether to believe or disbelieve it.
    Personally I'm a very big fan of keeping most of the querying within the database and having external programs effectively call stubs (procedures), it centralises things, makes changes easier (i.e. you change one package rather than 30 external programs) and makes external programs a little easier to read (in my opinion).
    The important thing is, to compare "like with like", if your developers add any extra "functionality" to the procedures that they didn't have when the SQL was in the external application then realistically you can't compare the relative performance of "before" and "after" since they're doing different things.
    Fundamentally I'd say your developers are doing it the "right way" (the package way), although you're sure to find others who disagree.

  • Performance issue - Index not being used

    Hi,
    I have the following scenario
    - I have a table Account with a PK -Account_ID, for which there is a index PK_ACCOUNT_ID_IDX
    - Another table Account_fact has a PK - Account_ID, Month_Year, for which there is a index PK_ACCOUNT_FACT_IDX
    I have a join in these two table. The query is
    select a.ACCOUNT_ID, b.Cost
    From Account a, Account_fact b
    Where a.account_id = b.Account_id
    and a.Include_flag = 'Y'
    The explain plan for this query tells me its doing a Full table scan and not using the index and the cost of query is very high.
    Can any one suggest what is wrong here.
    Regards
    Deepak

    >> Shud I be creating a bit map index.
    Bit map index is not for this case.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96533/data_acc.htm#8131
    Also bitmaps are very dangerous for Transactional tables. They are not meant for them.
    As I told you in this case create index on all the columns you are using in the query.
    For example INCLUDE_FLAG, ACCOUNT_ID in ACCOUNT table
    ACCOUNT_ID, COST in the other table.
    But keep in mind that if you are selecting any other column from these tables then again it might opt for full table scan......

  • Performance issue with "not in"

    Hi,
    I have a query, where, in the WHERE CLAUSE of the query I have a condition using IN operator.
    The query also has another CONDITION same as above but with a NOT IN operator.
    Both are on the same column.
    The difference between them being the values are provided dynamically and are mutually exclusive, meaning, if a value provided for IN operator, then a null is snt to NOT IN operator condition.
    When both the conditions are in place, the query is much much slower, compared to only IN operator.
    Is it any problem with the In operator.
    the query looks like as below....
    AND (( :ps_source_id IS NOT NULL
    AND ( bmmsv.source_type_code = 'EVEH'
    AND bmlh.object_id || bmlh.source_type IN(<subquery fetching values>)))
    OR :ps_source_id IS NULL)
    AND (( :ps_exclude_source_id IS NOT NULL
    AND ( bmmsv.source_type_code = 'EVEH'
    AND bmlh.object_id || bmlh.source_type NOT IN(<subquery fetching values>)))
    OR :ps_exclude_source_id IS NULL)
    Both the subqueries are same in the IN and the NOT IN operators.
    KK

    Hi,
    This is how my where clause portion of the query causing the problem...
    AND (( :p_exclude_source_id IS NOT NULL
    AND ( bmmsv.source_type_code = 'EVEH'
    AND bmlh.object_id || bmlh.source_type NOT IN(
    SELECT aeoab.event_offer_id || 'EVEO'
    FROM apps.ams_event_offers_all_b aeoab
    WHERE aeoab.event_header_id IN(
    SELECT bmmsv.object_id
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id
    || bmmsv.source_type_code IN(
    SELECT COLUMN_VALUE
    exclude_source
    FROM TABLE
    (CAST
    (bpsicc_crm_util.get_msv_string
    (:p_exclude_source_id,
    NULL) AS bpsicc_ms_string))))
    UNION
    SELECT bmmsv.object_id || bmmsv.source_type_code
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id IN(
    SELECT bmmsv.object_id
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id
    || bmmsv.source_type_code IN(
    SELECT COLUMN_VALUE
    exclude_source
    FROM TABLE
    (CAST
    (bpsicc_crm_util.get_msv_string
    (:p_exclude_source_id,
    NULL) AS bpsicc_ms_string))))))
    OR ( bmmsv.source_type_code = 'CAMP'
    AND bmlh.object_id || bmlh.source_type NOT IN(
    SELECT acsb.schedule_id || 'CSCH'
    FROM apps.ams_campaign_schedules_b acsb
    WHERE acsb.campaign_id IN(
    SELECT bmmsv.object_id
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id
    || bmmsv.source_type_code IN(
    SELECT COLUMN_VALUE exclude_source
    FROM TABLE
    (CAST
    (bpsicc_crm_util.get_msv_string
    (:p_exclude_source_id,
    NULL) AS bpsicc_ms_string))))
    UNION
    SELECT bmmsv.object_id || bmmsv.source_type_code
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id IN(
    SELECT bmmsv.object_id
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id
    || bmmsv.source_type_code IN(
    SELECT COLUMN_VALUE exclude_source
    FROM TABLE
    (CAST
    (bpsicc_crm_util.get_msv_string
    (:p_exclude_source_id,
    NULL) AS bpsicc_ms_string))))))
    OR ( bmmsv.source_type_code IN('EVEO', 'CSCH', 'EONE')
    AND bmlh.object_id || bmlh.source_type NOT IN(
    SELECT bmmsv.object_id || bmmsv.source_type_code
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id IN(
    SELECT bmmsv.object_id
    FROM apps.bpsicc_mol_marketing_source_v bmmsv
    WHERE bmmsv.object_id
    || bmmsv.source_type_code IN(
    SELECT COLUMN_VALUE exclude_source
    FROM TABLE
    (CAST
    (bpsicc_crm_util.get_msv_string
    (:p_exclude_source_id,
    NULL) AS bpsicc_ms_string))))))
    OR :p_exclude_source_id IS NULL))
    There is also another where condition with the same content except for the
    "NOT IN"operator. It has "IN" operator, in the third line of the above code.
    With out the NOT IN part of the where condition, the entire query runs in 50 secs.
    but if this part is added, it takes long time.
    let me know, if u require more info.
    Thanks,
    KK

  • Performance Issue in a report

    Hi,
         Can you please modify this code, i have performance issue for the following code.
    Here: t_po is a final internal table.
        select  ekkobukrs ekkoebeln ekkolifnr ekkobsart    " EKKO
                ekkoernam ekkoaedat ekko~memory                " EKKO
                ekpoebelp ekpoidnlf ekpotxz01 ekpoloekz     " EKPO
                ekpoeffwr ekpomenge                                      " EKPO 
                ekknsakto ekknps_psp_pnr                              " EKKN
                ekknzekkn ekknmenge                                    " EKKN  
                into (t_po-bukrs,t_po-ebeln,t_po-lifnr,t_po-bsart,
                      t_po-ernam,t_po-aedat,t_po-memory,
                      t_po-ebelp,t_po-idnlf,t_po-txz01,t_po-loekz,
                      t_po-effwr,t_po-menge,
                      t_po-sakto,t_po-ps_psp_pnr,
                      t_po-zekkn,t_po-menge1)
                from ( ekko inner join ekpo
                on   ekkoebeln eq ekpoebeln )
                     inner join ekkn
                on   ekkoebeln eq ekknebeln
                and  ekpoebelp eq ekknebelp
                for all entries in t_pspnr          
                where ekko~bukrs      in s_bukrs  and
                      ekko~lifnr      in s_lifnr  and
                      ekko~bsart      in s_bsart  and
                      ekko~aedat      in s_aedat  and
                      ekko~ernam      in s_ernam  and
                      ekpo~idnlf      in s_idnlf  and
                      ps_psp_pnr      =  t_pspnr-pspnr.   
          append t_po.
          clear  t_po.
        endselect.
    Another code:
      sort t_po by bukrs idnlf ebeln ebelp.
      loop at t_po.
        select single post1 psphi into (t_po-post1,t_po-psphi)             "Performance issue
                      from prps
                      where pspnr = t_po-ps_psp_pnr.
        select single pspid into t_po-pspid                                         ""Performance issue
                      from proj
                      where pspnr = t_po-psphi.
        if t_po-pspid in s_pspid.
    do nothing
        else.
          delete t_po index sy-tabix.
          continue.
        endif.
    Get invoiced amount for a PO line item
        select dmbtr shkzg into (ekbe-dmbtr,ekbe-shkzg)              ""Performance issue
                  from ekbe
                  where ebeln = t_po-ebeln and
                        ebelp = t_po-ebelp and
                        vgabe = '2'.
          if ekbe-shkzg = 'H'.
            ekbe-dmbtr = ekbe-dmbtr * -1.
          endif.
          t_po-invamt = t_po-invamt + ekbe-dmbtr.
        endselect.                                                                                ""Performance issue
        if not t_po-menge eq 0.
          t_po-polinamt = t_po-effwr * ( t_po-menge1 / t_po-menge ).
        endif.
        t_po-amtopen  = t_po-polinamt - t_po-invamt.
        modify t_po index sy-tabix.
        clear: t_po,prps,ekbe,proj.
      endloop.

    HI,
    Instead of selecting each fields and putting it in each fileds in internal table, we can select the fields and put it into the internal table which contains the required fields.
    Eg.
    TYPES: begin of itab,
                 vorna type vorna,
                nachn type nachn,
                end of itab.
    data: wt_itab type table of itab.
    select vorna, nachn into table wt_itab from pa0002 where cond.
    This increase the performance because it wont take time to match the each fields given after the table statement.
    Regards,
    Rani.

  • Post Netapp DOT Upgrade Performance Issue

    We recently did some NetApp DOT upgrades. Everything went smoothly.Since then, one of our application development teams has started to report poor performance. We investigated all troubleshooting possibilities that we can think of - Windows servers layer, esxi host, storage and networks etc but to no avail.  We've also engaged the software vendor and they have confirmed the app and db are adequately resourced. We also have a DBA investigating for us also.
    One thing the application owner did mention is that performance started to degrade around  Monday the 20th of July. Coincidentally or not, we did the Netapp DOT upgrade on the weekend of 18th/19th.The performance issues may not be linked at all but I just wondered if any others had experienced similar issues?Thanks.

    Whats the controller model? Going from 8.1 to 8.2 on the entry \ some mid level controllers will have a performance impact

  • Not Updating Customized Table when System having Performance Issue

    Hi,
    This is actually the same topic as "Not Updating Customized Table when System having Performance Issue" which is posted last December by Leonard Tan regarding the user exit EXIT_SAPLMBMB_001.
    Recently we changed the program function module z_mm_save_hide_qty to update task. However this causes more data not updated. Hence we put back the old version (without the update task).  But now it is not working as it used to be (e.g. version 1 - 10 records not updated, version 2 with update task - 20 records not updated, back to version 1 - 20 records not updated).
    I tried debugging the program, however whenever I debugged, there is nothing wrong and the data is updated correctly.
    Please advise if anyone has any idea why is this happening. Many thanks.
    Regards,
    Janet

    Hi Janet,
    you are right. This is a basic rule not to do any COMMIT or RFC calls in a user exit.
    Have a look at SAP note 92550. Here they say that exit EXIT_SAPLMBMB_001 is called in the update routine MB_POST_DOCUMENT. And this routine is already called in UPDATE TASK from  FUNCTION 'MB_UPDATE_TASKS' IN UPDATE TASK.
    SAP also tells us not to do any updates on SAP system tables like MBEW, MARD, MSEG.
    Before the exit is called, now they call 'MB_DOCUMENT_BADI' with methods MB_DOCUMENT_BEFORE_UPDATE and MB_DOCUMENT_UPDATE. Possibly you have more success implementing the BADI.
    I don't know your situation and goal so this is all I can tell you now.
    Good luck!
    Regards,
    Clemens

  • Performance Issue - Index is not used when a zero padded string is queried

    Hi All,
    I have a table T1 which has many columns. One such column say C1 is a varchar2(20). T1 has 10 million rows and there is an index called I1 on C1. Stats are current for both tables and indexes. These are the scenarios:
    Scenario 1
    select *   from T1 where C1 = '0013206263' --Uses index I1
    187 ms
    Scenario 2
    select *   from T1 where C1 = '8177341863' --Uses index I1
    203 ms
    *Scenario 3*
    *select *   from T1 where C1 = '0000000945' --Uses Fulll Table Scan --Very Slow*
    *45 seconds*
    When I force the sql to use the index through a hint, it is working fine:
    Scenario 4
    select /*+ INDEX (t1 i1) */  *   from T1 where C1 = '0013206263' --Uses index I1
    123 ms
    Scenario 5
    select /*+ INDEX (t1 i1) */  *   from T1 where C1 = '8177341863' --Uses index I1
    201 ms
    *Scenario 6*
    *select /*+ INDEX (t1 i1) */  *   from T1 where C1 = '0000000945' --Uses index I1*
    *172ms*Is there any reason for this performance issue? Why does the optimizer goes for FTS in Scenario 3?
    Edited by: user539954 on May 14, 2009 12:22 PM
    Edited by: user539954 on May 14, 2009 12:32 PM

    user539954 wrote:
    Please see the replies below:
    - How many distinct values for C1 out of that 10 million rows? I'm guessing that histograms were created for C1, correct?
    =>7 million distinct c1 values. I have not gathered a histogram yet. Should I try that?
    SQL> explain plan for select * from T1  where C1 = '0000000954';
    | Id  | Operation         | Name           | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT  |                |   244K|    19M| 26228   (5)|
    |   1 |  TABLE ACCESS FULL| T1 |   244K|    19M| 26228   (5)|
    SQL> explain plan for select * from T1  where C1 = '0033454555';
    | Id  | Operation                   | Name               | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT            |                    |   532 | 43624 |   261   (0)|
    |   1 |  TABLE ACCESS BY INDEX ROWID| T1     |   532 | 43624 |   261   (0)|
    |   2 |   INDEX RANGE SCAN          | I1 |   532 |       |     2   (0)|
    It's possible you do have a histogram, even though you didn't plan on creating it, if you're running 10g.
    In the absence of a histogram and with 7M distinct keys in 10M rows, Oracle should have predicted 2 rows for both queries, not 244,000 and 532.
    If you do have a histogram, you probably need to get rid of it.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Performance issue is most probably caused by the fact that IE can not handle such amount of requests ? is it ?

    Hi,
    I'm running web applications and there is performance issue is most probably caused by the fact that IE can not handle such amount of requests that are forwarded to the server at the same time.
    Data:
    On IE(10) – search variety 11- it takes a long time (about 25 seconds for response) .
    in general, the responding time of "search variety" in IE is much longer than Chrome.
    IE - see:http://screencast.com/t/kSeT3hC2mRfV
    Chrome see:http://screencast.com/t/NYf6fskU
    Why? any solution ?
    Thanks,

    Hi,
    without a link to your site (so we can use the same tools mentioned above)... we can only guess.
    these are peer to peer support forums... your favorite web search engine will help you to learn about web development.
    display the Developer tool console in each browser to view the suppressed error messages.
    All modern browsers support the performance api or your can use the Networking tab to view the latency metrics for the site.... commonly you may be using meta directives for caching instead of server headers or you have different settings between browsers
    which determine how long resources are cached. Commonly, IE has a different security model to other browsers... ensure that you are using the Default IE security zone settings.... Actions like innerHTML go through a sanitization process to remove script content...
    Commonly AJAX calls are made during the onload event...
    Please post questions about web site development to the IE Web Developer forum. Include with your questions a link to your website or a publicly accessible mashup that shows your issue.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com
    Rob^_^

  • Analysis could not be performed in time. There is a possible serious performance issue

    Can someone please advise what I need to do to correct this critical error?
    My computer is VERY slow and when I ran the event viewer, this is listed as CRITICAL.  Any information would be appreciated.
    Log Name:      Microsoft-Windows-Diagnostics-Performance/Operational
    Source:        Microsoft-Windows-Diagnostics-Performance
    Date:          6/24/2010 10:18:46 AM
    Event ID:      400
    Task Category: System Performance Monitoring
    Level:         Critical
    Keywords:      Event Log
    User:          LOCAL SERVICE
    Computer:      user-PC
    Description:
    Information about the system performance monitoring event:
         Scenario  : System Responsiveness
         Analysis result  : Analysis could not be performed in time. There is a possible serious performance issue
         Incident Time (UTC) : 6/24/2010 5:17:07 PM
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Diagnostics-Performance" Guid="{cfc18ec0-96b1-4eba-961b-622caee05b0a}" />
        <EventID>400</EventID>
        <Version>1</Version>
        <Level>1</Level>
        <Task>4005</Task>
        <Opcode>37</Opcode>
        <Keywords>0x8000000000010000</Keywords>
        <TimeCreated SystemTime="2010-06-24T17:18:46.941Z" />
        <EventRecordID>5491</EventRecordID>
        <Correlation ActivityID="{00000000-E6C8-0000-F4BB-058D9113CB01}" />
        <Execution ProcessID="1884" ThreadID="5956" />
        <Channel>Microsoft-Windows-Diagnostics-Performance/Operational</Channel>
        <Computer>user-PC</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="ShellScenarioStartTime">2010-06-24T17:17:07.442Z</Data>
        <Data Name="ShellScenarioEndTime">2010-06-24T17:17:12.442Z</Data>
        <Data Name="ShellSubScenario">1</Data>
        <Data Name="ShellScenarioDuration">5000</Data>
        <Data Name="ShellRootCauseBits">0</Data>
        <Data Name="ShellAnalysisResult">2</Data>
        <Data Name="ShellDegradationType">1</Data>
        <Data Name="ShellTsVersion">1</Data>
        <Data Name="ShellMachineUpTimeHours">0</Data>
        <Data Name="ShellMachineSleepPattern">0</Data>
      </EventData>
    </Event>

    I do get the same problem. It believe it started after I switched from HDD to SSD some month's ago. My machine is very fast now so I do not have performance problems (only a very slow power on boot).
    The description above is exactly the same as I have.
    Does somebody has the same problems?

  • Performance Issue: Central Instance not utilizing full network resources.

    Hi All,
    I have experienced a problem regarding network usage by central instance.
    At random times, even at peak load, SAP application server utilizing not more than 0.30%-0.35% of network resources, resulting in very poor performance.
    As Primary observation, i have checked at operating system level that no other service/application is consuming network at that time.
    Please help, how i can monitor/check and enhance the network resources utilization to the fullest for better performance.
    Thanks in advance.
    Regards
    Surjit

    SAP application server utilizing not more than 0.30%-0.35% of network resources, resulting in very poor performance.
    To be honest with you I can't see the network to been the performance issue unless you have serius trouble with network latency or maybe your system been located in a remote location.
    You can check the average GUI time (in milliseconds) in ST03N, then you can make conclutions on if the info travelling to the frontend is been compromised because of network issue.
    Also, usually comunication in between the instances should be based on a private fast VLAN to allow free traffic in between them
    Regards
    Juan

Maybe you are looking for

  • PDF reporting in Apex 3.0

    Hi, the pdf printing is working pretty good, but what if I want an invoice in PDF Format. How can I put the report information in one xml-document? Is it possible to display Master-Detail information? By example: header: customer and order informatio

  • How to store photo images and thumbimpressions in oracle 10g database

    Hi all I have an web application running in Oracle 10g rel 1 database server in RHEL3. It has application server with forms and j2ee component as middle tier. I need to store centrally photo images and thumb impressions and use it in our application

  • Javascript error for detailed navigation tree : 't' is undefined

    Hi everybody, I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error : Error :  't' is undef

  • CCMS setup on a Microsoft Clustered Environment

    Hi All, I am in the process of setting up CCMS alerts in the Central system(Sol Man) on a Microsoft Clustered environment. The Satellite systems that I want to add to the Central system are Microsoft Clustered. Can anyone help me with the steps or do

  • Validating XML file

    Hello everybody! My DTD is external to my XML file. In my XML file I refer to the DTD. I'm parsing my XML file with this piece of code: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocume