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.

Similar Messages

  • Help with Video Performance Issues using Flash

    Asking on behalf of a customer who has been unable to get any answers so far - are you able to help?
    Background:
    We have a port of our Game Development Kit which allows us to recompile all our games using Crossbridge (http://adobe-flash.github.io/crossbridge/) into SWF without any code modifications.
    Overview:
    Our framework is using OpenGL for rendering and we have successfully ported it along with the audio and video to run in Flash.
    We are experiencing performance issues using Video. We cannot use image sequence as some of the video animations are too long and would increase the download to an unacceptable size.  Assets vary between 256x256 - 1024x1024 videos.

    Here's the rest of the story.  Let me know if you can see any resolution, and I will connect him to the forums.  Thank you.
    Current Video Solution:
    We create an instance of NetConnection, NetStream, and Video according to most samples out there, and invoke draw to rasterize the Video DisplayObject into a BitmapData instance.
    The BitmapData instance has a fixed color component layout which is not compatible with Stage3D texture and is therefore has to be reformatted before uploaded to Stage3D Texture (See Code Listing below).
    Our Problems:
    Performance issues with RGBA conversion (either using copyChannel or manually reformatting is not fast enough) natively in as3; this required for stage3d texture.Copying each channel individual using bitmapdata.Copychannel seems faster, but not significantly faster.
    Cannot detect when video frame has been updated, therefore we may copy pixels that are not needed in enterframe (processpixel).
    Looping video, our current solution uses the NET_STATUS event Buffer empty; Is there a better way to loop videos than checking buffer and seeking to 0.
    Stepping video, loading FLV or MP4 side by side assets from HTTP or embedded does not support stepping? Is there another way?
    ActionScript Code Listing:
    video_nc = new NetConnection();
    video_nc.addEventListener(NetStatusEvent.NET_STATUS , onConnect);
    video_nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR , trace);
    video_nc.connect(null);
    // OnConnect Event:
    this.ns = new NetStream(e.target as NetConnection);
    eventclient = new Object();
    eventclient.onMetaData = onMetaData;
    this.ns.client = eventclient;
    ns.play(flvfile);
    ns.pause();
    //onMetaData event:
    this.width = infoObject.width;
    this.height = infoObject.height;
    this.textureWidth = NextPowerOfTwo(this.width);
    this.textureHeight = NextPowerOfTwo(this.height);
    cliprect = new Rectangle(0, 0, this.width ,this.height);
    cliprect.x = 0;
    cliprect.y = 0;
    cliprect.width = this.textureWidth;
    cliprect.height = this.textureHeight;
    totalFrames = infoObject.duration * infoObject.fps;
    this.hasAlpha = true;
    if(infoObject.videocodecid == 5)
    this.hasAlpha = true;
    this.bitmapData = new BitmapData(this.textureWidth, this.textureHeight, hasAlpha, 0xff000000);
    this.video = new Video(this.width, this.height);
    this.video.attachNetStream(ns);
    this.video.addEventListener(Event.ENTER_FRAME, processPixels);
    // processPixel method:
    BitmapData.draw(video);
    GLAPI.instance.glBindTexture(GLAPI.GL_TEXTURE_2D,this.textureId);
    var fmt:uint = GLAPI.GL_ARGB;
    // converting pixels using copychannel or loop through pixels
    GLAPI.instance.glBindTexture(GLAPI.GL_TEXTURE_2D,this.textureId);
    GLAPI.instance.glTexImage2D(GLAPI.GL_TEXTURE_2D, 0, fmt, this.textureWidth, this.textureHeight, 0,fmt, GLAPI.GL_UNSIGNED_BYTE, 0, convBitmapData.getPixels(cliprect));

  • TS3694 I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better

    I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better way?

    No, downgrading from any version of iOS to an earlier version is not supported.

  • SQL Performance issue: Using user defined function with group by

    Hi Everyone,
    im new here and I really could need some help on a weird performance issue. I hope this is the right topic for SQL performance issues.
    Well ok, i create a function for converting a date from timezone GMT to a specified timzeone.
    CREATE OR REPLACE FUNCTION I3S_REP_1.fnc_user_rep_date_to_local (date_in IN date, tz_name_in IN VARCHAR2) RETURN date
    IS
    tz_name VARCHAR2(100);
    date_out date;
    BEGIN
    SELECT
    to_date(to_char(cast(from_tz(cast( date_in AS TIMESTAMP),'GMT')AT
    TIME ZONE (tz_name_in) AS DATE),'dd-mm-yyyy hh24:mi:ss'),'dd-mm-yyyy hh24:mi:ss')
    INTO date_out
    FROM dual;
    RETURN date_out;
    END fnc_user_rep_date_to_local;The following statement is just an example, the real statement is much more complex. So I select some date values from a table and aggregate a little.
    select
    stp_end_stamp,
    count(*) noi
    from step
    where
    stp_end_stamp
    BETWEEN
    to_date('23-05-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')      
    AND
    to_date('23-07-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')
    group by
    stp_end_stampThis statement selects ~70000 rows and needs ~ 70ms
    If i use the function it selects the same number of rows ;-) and takes ~ 4 sec ...
    select
    fnc_user_rep_date_to_local(stp_end_stamp,'Europe/Berlin'),
    count(*) noi
    from step
    where
    stp_end_stamp
    BETWEEN
    to_date('23-05-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')      
    AND
    to_date('23-07-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')
    group by
    fnc_user_rep_date_to_local(stp_end_stamp,'Europe/Berlin')I understand that the DB has to execute the function for each row.
    But if I execute the following statement, it takes only ~90ms ...
    select
    fnc_user_rep_date_to_gmt(stp_end_stamp,'Europe/Berlin','ny21654'),
    noi
    from
    select
    stp_end_stamp,
    count(*) noi
    from step
    where
    stp_end_stamp
    BETWEEN
    to_date('23-05-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')      
    AND
    to_date('23-07-2009 00:00:00','dd-mm-yyyy hh24:mi:ss')
    group by
    stp_end_stamp
    )The execution plan for all three statements is EXACTLY the same!!!
    Usually i would say, that I use the third statement and the world is in order. BUT I'm working on a BI project with a tool called Business Objects and it generates SQL, so my hands are bound and I can't make this tool to generate the SQL as a subselect.
    My questions are:
    Why is the second statement sooo much slower than the third?
    and
    Howcan I force the optimizer to do whatever he is doing to make the third statement so fast?
    I would really appreciate some help on this really weird issue.
    Thanks in advance,
    Andi

    Hi,
    The execution plan for all three statements is EXACTLY the same!!!Not exactly. Plans are the same - true. They uses slightly different approach to call function. See:
    drop table t cascade constraints purge;
    create table t as select mod(rownum,10) id, cast('x' as char(500)) pad from dual connect by level <= 10000;
    exec dbms_stats.gather_table_stats(user, 't');
    create or replace function test_fnc(p_int number) return number is
    begin
        return trunc(p_int);
    end;
    explain plan for select id from t group by id;
    select * from table(dbms_xplan.display(null,null,'advanced'));
    explain plan for select test_fnc(id) from t group by test_fnc(id);
    select * from table(dbms_xplan.display(null,null,'advanced'));
    explain plan for select test_fnc(id) from (select id from t group by id);
    select * from table(dbms_xplan.display(null,null,'advanced'));Output:
    PLAN_TABLE_OUTPUT
    Plan hash value: 47235625
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   1 |  HASH GROUP BY     |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   2 |   TABLE ACCESS FULL| T    | 10000 | 30000 |   159   (1)| 00:00:02 |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$1
       2 - SEL$1 / T@SEL$1
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          FULL(@"SEL$1" "T"@"SEL$1")
          OUTLINE_LEAF(@"SEL$1")
          ALL_ROWS
          OPTIMIZER_FEATURES_ENABLE('10.2.0.4')
          IGNORE_OPTIM_EMBEDDED_HINTS
          END_OUTLINE_DATA
    Column Projection Information (identified by operation id):
       1 - (#keys=1) "ID"[NUMBER,22]
       2 - "ID"[NUMBER,22]
    34 rows selected.
    SQL>
    Explained.
    SQL>
    PLAN_TABLE_OUTPUT
    Plan hash value: 47235625
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   1 |  HASH GROUP BY     |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   2 |   TABLE ACCESS FULL| T    | 10000 | 30000 |   159   (1)| 00:00:02 |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$1
       2 - SEL$1 / T@SEL$1
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          FULL(@"SEL$1" "T"@"SEL$1")
          OUTLINE_LEAF(@"SEL$1")
          ALL_ROWS
          OPTIMIZER_FEATURES_ENABLE('10.2.0.4')
          IGNORE_OPTIM_EMBEDDED_HINTS
          END_OUTLINE_DATA
    Column Projection Information (identified by operation id):
       1 - (#keys=1) "TEST_FNC"("ID")[22]
       2 - "ID"[NUMBER,22]
    34 rows selected.
    SQL>
    Explained.
    SQL> select * from table(dbms_xplan.display(null,null,'advanced'));
    PLAN_TABLE_OUTPUT
    Plan hash value: 47235625
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   1 |  HASH GROUP BY     |      |    10 |    30 |   162   (3)| 00:00:02 |
    |   2 |   TABLE ACCESS FULL| T    | 10000 | 30000 |   159   (1)| 00:00:02 |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$F5BB74E1
       2 - SEL$F5BB74E1 / T@SEL$2
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          FULL(@"SEL$F5BB74E1" "T"@"SEL$2")
          OUTLINE(@"SEL$2")
          OUTLINE(@"SEL$1")
          MERGE(@"SEL$2")
          OUTLINE_LEAF(@"SEL$F5BB74E1")
          ALL_ROWS
          OPTIMIZER_FEATURES_ENABLE('10.2.0.4')
          IGNORE_OPTIM_EMBEDDED_HINTS
          END_OUTLINE_DATA
    Column Projection Information (identified by operation id):
       1 - (#keys=1) "ID"[NUMBER,22]
       2 - "ID"[NUMBER,22]
    37 rows selected.

  • Performance issues ..with apex in reports version 3.1

    Hello All,
    I am using apex 3.1 oracle 10g.
    I am facing with performance issues with apex . I am generating iteractive reports with apex and the number of records are huge - running in 30 to 40 thousands of records and the reports is taking almost 30 minutes.
    How I can improve the performance of this kind of report. I am using apex collections.
    How apex works in terms of retrieving the records -?
    Please let me know .
    Thanks/kumar
    Edited by: kumar73 on Jun 18, 2010 10:21 AM

    Hello Tony ,
    The following are the sequence of steps to run the test case.
    Note:- All the schemas , tables and variables are populated from database.
    From Schema and Relations tab choose the following:
    1)     Select P3I2008Q4 as schema.
    2)     Choose Relation as query path.
    3)     Select ECLA, ECLB, MTAB as relations.
    From Variables choose the following:
    4)     Choose the variables AGE_SEXA,CLODESCA,ALCNO from ECLA relation.
    5)     Choose the variables AGE_SEXB, ALCNO, CLODESCB from ECLB relation.
    6)     Choose the variables EXPNAME, ALCNO, COST_, COST from MTAB relation.
    From Conditions: Click the Run Report button this generated standard report ( Total no of records in report – 30150 )
    Click on Interactive report button –to generate an interactive report. ( Error occurred )
    We are using return sql statement in generationg the standard report and collections for interactive report.
    thanks/kumar

  • Performance issue using webelements and crystal

    We have 2 reports named, u201CDAMAGE_REPORTSu201D AND u201CTDI_CHARTu201D
    DAMAGE_REPORTS
    There are 13 dynamic or static Prompts created using Webelements .After clicking on submit button(using
    webelement)  by selecting the prompt values, TDI_CHART report will get opened below the u201CDAMAGE_REPORTSu201D report.
    TDI_CHART
    TDI_CHART created using free-hand SQL which contains 2 commands
            1. Command-SQL is created based on two categories.
                  Trend -Trend By Month ,Trend By Quarter,Trend By Week
                   Non-Trend- Current Month ,Current Year to Date,Last Year to Date,Current Quarter,Last
                                 Quarter,Current Week,Last Week,Last Month,Last Year Total
                 Charts,Cross-tabs and table information is coming from this Query
           2.Image count-contains number of images information based on the prompt selection and it acts as a 
                  URL(opendocument) in the report to open TDI_THUMBNAIL report to display the thumbnail images.
    Report information
    TDI_CHART Report contains 8 charts,4 cross-tabs, summary information showing in table format(Detail
           section) and2 open document links(1.For image count 2.Export to excel(which shows the detail information
            of summary table)
    Description
    If the selection is Non-Trend Value from the Time period parameter , corresponding Chart will be shown along   with table information.(Table information is only required for Non-Trend Values).
    If the Selection is Trend Value from the Time period parameter,the corresponding cross tab and chart will be shown and others will get suppressed.
    Problem Area
    After the prompt selection from u201CDamage_Reportsu201D, TDI_CHART report is taking around 1min 30 sec to show the chart and table or cross-tab.
    In Database when we execute the above queries, it comes in 12 secs but whereas in reports it takes 1min 30 sec,can you guide us some steps to bring down this time?

    hello Mufiza,
    copy the url created at the step "After the prompt selection from u201CDamage_Reports".
    paste this url into a new browser window and press enter.
    what is the time to return this report?...this time should also be 1.5 minutes.
    it sounds like you are using 2 commands in the same report. this will often cause performance issues, just like linking two stored procedures together or linking two disparate datasources together.
    this would not be an issue related to webelements but related to the design of your target report.
    jw

  • Performance issues using JavaFX on different notebooks

    Hello,
    unfortunately i feel forced to ask a question about performance issues. As far as i understood, most of the problems with JavaFX 2.0 that are discussed here or somewhere else seem to have there roots in a huge count of nodes and/or some kind of animations. In opposition to this I'm writing a business application for the desktop with JavaFX as a Swing-replacement. There are no permanent animations at all and the scene has all in all 200 nodes(measured it with ScenicView) yet. I use no WebView-Nodes.
    The application runs very well on my development computer with 16 GB of RAM, a Intel Corei7 2600K processor and a mid-class AMD grafics device. Also, there are no performance issues on a Core i3 Notebook. As soon as i start the application on my Thinkpad X220 with Core i7-2620M CPU, 8 GB RAM and Intel HD graphics it get's almost unusable. For example, there is a diagramm(see attached screenshot), which is situated in a scrollpane. As soon as i try to pan it, the panning extremely slow(i'd say 2-4 fps). Another example is that hovering buttons is not very responsive. Moving the mouse over a button causes the hover effect 0.3-0.5 seconds after it entered the button. Fading transitions that i use at some places are not smooth as well.
    I made sure that the app is running using a hardware renderer on each computer. Also, i tried to force a fallback to the software renderer using the "-Dprism.order=j2d" switch but it only performed worse.
    So my first question is: Are there known issues with mobile processors/graphic devices of the mentioned type?

    I just tested it with Java 8 ea build 61 and beside the fact that a small amount of css didn't work anymore, it runs very well with this version of Java(/FX). Damn...i hope that some of this performance fixes will be backported to some Java 7 update.

  • Performance issues using multiple CC design programs?

    Hey! I'm Gwidz, and I'm having some performance issues with my adobe programs. I primarily use Photoshop, InDesign and Illustrator for design work. I find that when I have any two of them open, I experience delays in clicking and dragging using my pen tablet, and laggy zooming in/scrolling. This issue disappears when I only have one program open.
    I just bought this laptop to use these programs. Here's the specs:
    Operating system: Windows 8 64 bit
    Processor: 4th gen intel i7 4700HQ
    Ram: 16gb DDR3
    Graphics: NVIDIA GeForce GTX 770M 3GB GDDR5
    Cost me 2000 bucks on amazon, and I'm pretty disappointed in how things are going right now. I definitely don't think it could be a hardware issue, could it?
    I'm using an SSD as my scratch disc, and using the 64 bit versions of all programs that have it. Nothing else running in the background except these programs, and yet still I experience poor performance.
    Admitedly, I'm new to windows 8, and I'm learning everything that I can about it in hopes of resolving this issue.
    If anyone has any advice, any and all is greatly aprpeciated!

    I'm seeing this exact same choppiness and VERY slow response times with the same low use of CPU and memory... WITH JUST ONE APP OPEN!  Illustrator.
    Macbook Retina Pro, 15 inch.
    I've tried with the GPU forced off, and forced on, and on autoswitching.
    I've tried clean reinstalls.  And reboots. Etc.
    This is not hardware related.  It's something utterly flawed with the way Illustrator (and InDesign) draw do things.  They are just grotesquely inefficient.
    The fact that the program/app makes no effort to use more CPU/GPU to speed up responsiveness to the user input is the real indicator of how poorly optimised this code is. 
    After Effects is better.  But it's adaptive degradation STUTTERS grotesquely, and it's actually better to try to turn that off.  Although I'm having a hard time trying to figure out how to turn that off at the moment.. forgotten where I previously found that switch.
    Photoshop is also better. 
    I'm also talking about small files. Nothing in them.  Just start drawing... Stutters... atrocious frame rates for the update of the screen and very poor response rates to input.
    This is 64 bit optimised?  I don't think so.

  • Heavy performance issues using Adobe Interactive Form PDFs generated by SAP BPM

    Dear experts,
    we use Adobe Interactive Form PDFs (generated with LiveCycle Designer) as Human Tasks within SAP BPM processes. The PDFs are generated and transmitted correctly, but when they are opened at the receivers PC, Windows freezes for 2-3 minutes, then the PDF opens and can be filled out and sent back. The next PDFs can be opened much faster, but when the PC is restarted, we get the same problem again. We use Adobe Reader XI (11.0.2) on our clients; is their any know performance issue?
    Please note, that we have this problem with EVERY Adobe Interactive Form PDF... I created a simple PDF containing just a field and the client PC still freezes. So it can't be in the form or the scripting. Normal static PDFs can be opend without any problems.
    Best regards,
    David

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • 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

  • Performance issue working with OciArray

    We have an performance issue with Oracle Spatial objects, e.g. SDO_GEOMETRY.
    To get data from an Oracle Array (OciArray) there is functionality like:
    OciNumberToRealArray
    which is performing much better than doing
    OciNumberToReal
    for each instance.
    But now we are sending an SDO_GEOMETRY to Oracle, so during the bind process we currently do:
    for each number
    do
    OciNumberFromReal
    OciCollAppend
    enddo
    We noticed that for the overall query, including getting the result, it is spending approx
    6.3% in OciNumberFromReal
    7.4% in OciCollAppend
    On average we are sending 1500 values, so we are talking a lot of calls here.
    Now since there is a way to get things from an array a lot faster using API's:
    OCICollGetElemArray
    OCINumberToRealArray
    I am wondering why there is no way to set/put values into an array, like in:
    OciNumberFromRealArray
    or perhaps better
    OciNumbersFromRealArray
    I also noticed that there is no way of getting integer values from an array directly, you can only get one integer value at a time.
    So there is no equivalent like:
    OciNumberToIntArray
    (there is OciNumberToInt and OciNumberFromInt)
    Is no one experiencing this kind of stuff?
    Regards,
    Patrick

    能提高多少性能?我怎么使用不成功,下面是部分代码,nOrdiCount是集合中元素总个数,m_pGeometry是一个GEOMETRY对象,执行OCICollGetElemArray之后,nOrdiCount的值被覆盖了。是oracle里面的代码把它覆盖了,我可以用这段代码去6个元素,超过6个元素,执行OCINumberToRealArray就无法返回了,不知何故?
    OCINumber** pArray = new OCINumber*[nOrdiCount];
    uword nCount = nOrdiCount;
    memset(pArray, 0, sizeof(OCINumber*)*nOrdiCount);
    OCICollGetElemArray(pConn->m_hOCIEnv, pConn->m_hOCIError, m_pGeometry->sdo_ordinates, 0, &exists, (void**)pArray, NULL, &nCount);
    OCINumberToRealArray(pConn->m_hOCIError, (const OCINumber**)pArray, nCount, sizeof(real), pOrdiateData);
    *OrdiateCount += nCount;
    delete []pArray;
    补充:
    的确能够提高性能,但是其中有bug,OCICollGetElemArray函数中把我的函数中局部变量(栈变量)覆盖了,里面应该是内存访问越界了,期待改进!
    Edited by: zj511025 on 2010-11-5 上午2:10

  • Performance issue using WDPortalUtils.getService

    Hi,
    I have an application with multiple componnets inside a main component.
    If i perform ADD using ADD component it is not getting refreshing in the front end but it is getting refreshing in the back end.
    But if i refresh the application data is getting refreshed in the front end too
    I am refreshing my application for every  operation with the given code
    Willl it give any performance issue
    if(WDPortalUtils.isRunningInPortal()){
                      IWDPageService iWDPortalService=(IWDPageService)WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
                      iWDPortalService.restartApplication();
    Regards
    Padma

    Anup,
    What will happen behind the screens when application restarts.
    what are the otherways of achieving the same Behavior,like getting the application state to initial state.

  • 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.

  • Performance issue using Universe with SNC connection

    I had a dynamic dashboard using Live office > Webi report > Universe > Bex query which was working fine but we recently implemented SNC between Business Objects and SAP BW due to which the universe connection has been changed to use sign on connection. After changing the connection in the universe I am see a performance degradation refreshing the connections in xelsius dashboard. Earlier the connection refresh time was 6 sec now the refresh time is around 30 secs, Intersting thing is I have tryed refreshing the webi report the refresh time of the webi report did not change which is still less than 6 secs and I have also tryed refeshing the Live Office component directly in the design/spreedsheet mode of the xcelsius even here the refresh time remain same less than 6 secs.
    The connection refresh time is bad only when I am in preview mode or if I deploy the swf to the business object server.
    Xcelsius Version: 2008 (5.3)
    BO Version: 3.1 sp2 fixpack 2.8
    Thanks

    Anup,
    What will happen behind the screens when application restarts.
    what are the otherways of achieving the same Behavior,like getting the application state to initial state.

  • Severe DML Performance Issue using Oracle RLS on 11.2.0.3

    Hi Experts/Gurus,
    We are trying to implement Oracle RLS in one our Corporate Application
    Purpose of using RLS is to convert Single Company Application into Multiple Company Application
    by adding COMPANY_ID Column and Index to make Application Multi-Company.
    Each user would be allowed only to view/edit records from his own Company
    RLS function we defined is very simple and static.
    When we did some DML Tests using 8 parallel sessions, find DML Performance is
    severely degraded (response time is twice our existing Application without RLS)
    Top 5 Timed Foreground Events
    Event Waits Time(s) Avg wait (ms) % DB time Wait Class
    db file sequential read 1,312,910 6,197 5 43.08 User I/O DB CPU 2,976 20.69
    library cache: mutex X 80,808 1,139 14 7.91 Concurrency
    WCR: replay lock order 1,705 1,107 649 7.69 Application
    gc current grant 2-way 309,886 550 2 3.83 Cluster
    Would like to know why we encounter library cache: mutex X
    Checked Mutex Sleep Summary section of AWR and it has following:
    Mutex Sleep Summary
    ordered by number of sleeps desc
    Mutex Type Location Sleeps Wait Time (ms)
    Library Cache kglpin1 4 26,849 0
    Library Cache kglpnal2 91 25,230 0
    Library Cache kglpndl1 95 21,382 0
    Library Cache kglpnal1 90 12,823 0
    Cursor Pin kksfbc [KKSCHLFSP2] 5,196 0
    Would like to know how to interpret
    each of the Library Cache entries such as kglpin1 4.
    What does the keyword after Libary Cache (starting with kglpin mean)
    Thanks in advance

    Welcome to the forum!
    Please see the FAQ #3 at the top of the thread list for how to post a tuning request and the information you need to provide
    SQL and PL/SQL FAQ
    >
    We are trying to implement Oracle RLS in one our Corporate Application
    Purpose of using RLS is to convert Single Company Application into Multiple Company Application
    by adding COMPANY_ID Column and Index to make Application Multi-Company.
    Each user would be allowed only to view/edit records from his own Company
    RLS function we defined is very simple and static.
    When we did some DML Tests using 8 parallel sessions, find DML Performance is
    severely degraded (response time is twice our existing Application without RLS)
    What does the keyword after Libary Cache (starting with kglpin mean)
    >
    The short answer is that those are pinned objects in the library cache.
    The short question is why you are focusing on trivia instead of collecting, and posting, information that might shed some light on your problem?
    Read the FAQ thread above and post the information needed.
    Your RLS function may be 'very simple and static' but we can't see it. And we can't comment on what we can't see.
    We also can't see:
    1. your table or index DDL
    2. the query you are using that you say is non-performant
    3. any data about statistics and whether they are current
    4. any data about row counts for the table, the (unknown) query predicates, the expected result set
    5. any data about the query predicates
    6. any execution plans for the query from the standard table and from the current table
    7. any info about the RLS security you are using and how you implemented and configured it.

Maybe you are looking for

  • Error in install of any link Oracle 9.0.1

    Dear All I am installing Oracle9i on Sun Sparc Solaris and I get the following errors. (this happens for about 87 files) I'm not sure what the problem is. --- error_mesage -------------------------------- Error in checking existance of the link, errn

  • How can we split a select query to 3 or 4 if it is fetching much records?

    I am running a query like: select * from table_name it will be fetching 152940696 records. Now i want to fetch this result as 3 or 4 select statements. That is, in the second query I want to fetch the records from where i stopped in the first query.

  • Abap proxy cx_ai_system_fault in runtime

    Hello Experts, Am getting exception "cx_ai_system_fault" through calling the proxy method in program in run time. If I execute in sproxy-->test am able to get the record/response . could you please suggest me . also i have tested all the Proxy to PI

  • Hiccups and non syncs

    Hi Premierist, I have a severe problem with Premiere CS3. I use two cameras and thus multi-cam editing, but the problem is that one of the files (MPG's) gives hiccups at some points of the scene, and from there is not in sync (audio-wise) anymore. Wh

  • 2 Facts with common dimensions

    Hi All, I am trying to developer an Answer I have two Fact tables :- Budgets and Actuals The two Fact Tables have common dimensions (Period, Cost Centre and Expense) When I create an answer which combines these common dimensions and the two fact tabl