Query Runtime evaluation against MultiProviders

I am testing dividing a cube into 2 logical partitions by fiscal year.  I am placing a multiprovider on top of the logical partitions and have copied three queries I wish to test the runtime affect.  This is a proof-of-concept idea I need to prove before suggesting an architecture change.
When executing the queries against the original cube, I can see the runtime results in ST03N.  When I execute the queries against the MultiProvider, I do not see the results.  ST03N only shows queries that were executed against a cube... not a MultiProvider.
I did try using RSRTRACE, but I am not confident the CMD_PROCESS time is correct.  I have also looked into the standard delivered Statistical Reports, but didn't see any that would provide me with the runtimes of the MultiProvider queries.  Perhaps I just missed the correct one.
Any recommendations?

Michael,
You could use RSRT which has a boatload of options on how you want the query to run when you first select Execute and Debug button (e.g. Do not use Cache, Do Not use BIA, etc.).  One of my favorite options is Display Statistics Data which breaks down the query execution time into all of its myriad of components.  You need to Green arrow back after you get the results to get to the Statistics screen.
Hope this helps.
Peace,
Dan

Similar Messages

  • We are interested to know how/where to check query runtimes for any Query in SAP BW?

    We are interested to know how/where to check query runtimes for any Query in SAP BW?
    Is there any table or program to get the query run time details per query for a particular day.

    Hello Sravan,
    Bex statics tables would be 'RSDDSTATHEADER','RSDDSTATINFO' & 'RSDDSTATEVDATA'. all these can found in one view 'RSDDSTAT_OLAP'.
    above can give historical statistic.
    For current Query statics : T-code RSRT, and select debug mode select display statistics and then execute.
    Once you get the output press F3(one step back), there you can see statics of the query for that particular execution.
    Thanks,
    Mallikarjuna

  • Dynamic calculation of values at query runtime

    Hello, Everybody,
    I have situation in which I have calculate the value for characteristic at query runtime.
    Query is based on Infoset SEMPLDATA. In Infoset I have fields u201CEmployee IDu201D, u201CBirth dateu201D, u201CAgeu201D dedicated as virtual variable, u201CNumber of Employeesu201D.
    Then I execute query I enter a value for variable u201CDateu201D. After that query should calculate age for employee: for example ( variable u201CDateu201D u2013 u201CBirth dateu201D )/365. And query result is listed like this: u201CAgeu201D, u201CNumber of Employeesu201D.u201D Ageu201D is dynamic it depends on variable u201CDateu201D.
    Iu2019m doubting will virtual characteristic help me. Could you give your suggestions?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hey.  You can do this with a virtual characteristic.  I'm not fond of them because of performance, but it should work.  I am also assuming you have date of birth as an available field to do the calculation.
    So, you could implement code in the variable user exit.  After "Date" has been entered and the exit code is invoked you can pass that date to memory.  Something like export "date" to memory ID xxxxx.  I would create the memory ID object based on user ID running the query and date, or something like that.  Then when you are processing in the virtual characteristic user exit, just do an import from memory, referencing the same memory ID as when you exported.  Then you should be able to just do the date of birth - "date."  
    I have done this in the past to be able to retain user selection information for use in the virtual object calculations.
    Just thought I would add a bit more here.  You could also use formula variables based on your "Date" variable and "Date of birth" and do the calculation in a formula.  Not completely sure about your situation, but that's another idea.
    Hope this helps.
    Thanks
    Edited by: Siboda_Eric on May 12, 2010 4:21 PM

  • Long Query Runtime/Web-template Loading time

    Hi,
    We are having a very critical performance issue, i.e. long query runtime, which is certainly not acceptable by client as well.
    <b>Background Information</b>
    We are using web application designer (WAD) 2004s release to design front end of our reports built in BI 7.0 system.
    <b>Problem Area</b>
    Loading of web template on browser
    <b>Problem Analysis</b>
    Query taking so long time to run, whenever we load it through portal or even directly through web application designer. Current runtime for query is more than a min. And I have noticed that 95% of runtime is taken for loading variable screen. FYI – if I run query through Query Designer or BEx Analyzer, it takes 3-5 seconds to execute.
    We have taken all the statistics and everything proves that query is not taking any time to execute but it’s the loading time which creates bottle neck.
    <b>Possible Cause</b>
    Web template holding 11 data providers, 5 of which are based on queries and rest are on query views. These data providers load into memory in parallel which could cause delay.
    These data providers expose detailed variable screens. Out of 21 input fields, exposed by web template, 8 fields are based on hierarchy node variables and 1 on hierarchy variable. And to my knowledge each time hierarchy/hierarchy node variable loads complete hierarchy into memory whenever they are called (in other words, its not performance efficient to use hierarchies).
    I request you to please consider this as matter of high priority and provide me with suggestions to remove bottle necks and make the application performance efficient. Please let me know, if you need any further information.
    Thanks.
    Shabbar

    I would recommend you see how long the query execution actually takes without running from the web template. If actually the individual query takes long time then you need to do some performance improvement on back-end side (aggregates, indexing,... and so on).
    But the performance issue is only with web templates, then you need to find some notes on it, because, I remember we had to apply some notes in relations  of browser taking too long time to load the selection screen in web reports.
    After exhausting all the option, then I will implement precalculating the query result before hand using broadcaster.
    thanks.
    Wond

  • Detailed Query Runtime Statistics - Substeps of Data manager Event

    Dear All,
    I am using the report for 0TCT_MC02_Q0200 to analyse the Detailed Query Runtime Statistics.
    The report shows that the Event 9000 (Data manager Event) took a time of 109 seconds.
    I would like to know as to what does the 9000 Data Manager Event that takes 109 seconds do for me.
    What is it doing for 109 seconds ????
    Can I have more details about the substeps of Data manager Event and time taken by them ???  Any Table or a report would suffice my requriement.
    Thanks
    Regards
    Shalabh

    Hi Jain,
    Execute the query in RSRT or in RRMX. To Check how much time it is taking to execute this querry?? To get this information, Goto SE11> Give table name RSDDSTAT_DM in BI7.0 or RSDDSTAT in BW3.x> Display -> Contents-> Give from date and to date values as today, user name as Ur user name, and give the query name--> execute.
    Now u'll get a list with fields like Object name(Report name), Time read, Infoprovider name(Multiprovider), Partprovider name (Cube), Aggregate name... etc. If the time read is less than 100,000,000 (100 sec) is acceptable. If the time read is more than 100 sec then it is recommended to create Aggregates for that query to increase performance.
    Here in this table u'll find detailed Query Runtime Statistics.
    Hope thsi helps you..
    Regards,
    Ramki.

  • Unit of Measure conversion in query runtime

    Hi all,
    I am attemoting to utilise the ability to convert key figure quantities in BI7, at query runtime by using a user entry variable and a conversion type.
    Does anybody know of any decent documentation as to how to configure this?  The SAP help documentation seems both confusing and inaccurate.
    My data records contain key figures with unit 0BASE_UOM and conversion between units for each Material code are held in 0MAT_UNIT.  
    Thanks in advance

    Hi
    My feeling is when you do conversion on aggregated level(multiple products), if any of the product has UOM missing then you coversion fails on aggregted level.
    It looks strange that UOM conversion looks fine when you do conversion on each product.
    I suggest you to check whether the UOMs (that you want to convert)are updated correctly on each product on their repective location in the product master under UOM tab.
    regards
    Vijaya.

  • Error in BI Administration Cockpit for "Query Runtime Statistics"

    Dear all,
    after implementing the BI Administration Cockpit in BW and the EP I noticed, that whenever I try to modify my object selections under the node "Query Runtime Statistics", I get an error saying
    "The Entered Value Is Not in the List of Valid Values"
    This occurs under the following nodes:
       BI Application Statistics -> BI Application Selection -> Web Templates / Workbooks
       BI Application Object Statistics -> BI Application Object Selection -> Queries / Query Views / Planning Functions ....
       InfoProvider Statistics -> InfoProvider Type Selection
    Any ideas how to fix this issue???
    Thanks,
    Andreas

    Andreas,
    Thank you for your response. I applied the note 1463442 to our Development system. It fixed the error, that is , now I don't get "entered value is not in list of valid value". But when I unselect objects and click on "SUBMIT" button, nothing happens. It should redraw the report based on the selection.
    Is this working for you ? If so, please advise us.
    Thanks again,
    Ravi

  • How to disable query-string evaluation in OSB proxy service?

    OSB 10.3 proxy service evaluates the query String ?WSDL (are there more such parameters?). Usually the assigned WSDL will be returned this way.
    I want to use OSB as simple HTTP-proxy. There is no WSDL assigned. The proxy service should simply pass all parameters to the request pipeline. This works fine for parameters in general but not for WSDL. This produces the exception below.
    Does anyone have an idea how to disable this query string evaluation within OSB proxy service?
    Thanks
    Daniel
    <25.11.2009 15:43 Uhr MEZ> <Error> <WliSbTransports> <BEA-381304> <Exception in HttpTransportServlet.service: java.io.IOException: This service is not associated to a wsdl
    java.io.IOException: This service is not associated to a wsdl
    at com.bea.wli.sb.transports.http.ResourceRequestProcessor.securedInvoke(ResourceRequestProcessor.java:108)
    at com.bea.wli.sb.transports.http.ResourceRequestProcessor.process(ResourceRequestProcessor.java:61)
    at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.handleMetadataRequest(HttpTransportServlet.java:314)
    at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.service(HttpTransportServlet.java:215)
    at com.bea.wli.sb.transports.http.HttpTransportServlet.service(HttpTransportServlet.java:133)
    at weblogic.servlet.FutureResponseServlet.service(FutureResponseServlet.java:24)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Daniel,
    http://hostServer/contextpath?WSDL is common way of retrieving WSDL for service whcih supports one. The case you are suggesting is if the service does not have any wsdl associated, then it is good practice that caller be notified appropriately which is being done by OSB. OSB is indicating that the service for which we have used ?wsdl has no wsdl associated.
    I guess there is no way we can disable this feature for un-typed OSB services (services which doesn't have wsdl associated). Any reason why would we don't want exception when '?wsdl' is used?
    Manoj

  • Regarding Variable entry at the query runtime

    Hi
    In the Query Designer they have taken many variables which are user entry but when I run query I am getting only few options where I can enter values and other variables are not displayed for entry and they are taking some value as default though thay do not have default value. When I check it in Query Properties all Variables are displayed but at the Query Runtime very few are displayed.
    Please suggest me how to get all options at the Query Runtime  to enter the values. It is very urgent Plz send ur suggestions soon.
    Points will be assigned.
    Regards
    Balaji

    Balaji,
    I suspect some of your variables have been personalized. Run the query, when it's run then select Change query - Change variables values from the Bex toolbar. Have any variables little yellow smiley faces on the right hand side of the input area?  If so you may want to remove the personalization by selecting each face and select reset personalization.
    Regards
    Gill

  • QUERY RUNTIME

    I have a query which is based on the ODS.The query is taking a lot of time to run.What parameters should i check and how should i make sure that the query will run quickly.Is it something to do with indexes in the ODS.

    I saw this information which might be useful
    As stated by several people, primary indices are supplied with the ODS objects. With regard to to query performance on ODS objects, the best approach is to trace (st05) the execution of a poorly performance access. When the trace is read, normally the system will spend a long time on one access (it can vary, but this is most common). A secondary index can then be created on the selective fields in the long running WHERE clause. For example, I recently improved the performance of a query which was hanging for 32 seconds to 2 seconds. The SQL looked similar to this:-
    SELECT
    FROM
    "/BI0/APU_O3200" T_00 , "/BI0/SCURRENCY" T_01 , "/BI0/SCMMT_ITEM" T_02 , "/BI0/SFUNDS_CTR" T_03 ,
    "/BI0/SPU_MEASURE" T_04 , "/BI0/SAC_DOC_TYP" T_05 , "/BI0/SDATE" T_06 , "/BI0/SAC_DOC_NO" T_07 ,
    "/BI0/SPSTNG_SEQ" T_08 , "/BIC/SZTXTLG" T_09
    WHERE
    ( T_00 . "FM_CURR" = T_01 . "CURRENCY" ) AND ( T_00 . "CMMT_ITEM" = T_02 . "CMMT_ITEM" AND T_00 .
    "FM_AREA" = T_02 . "FM_AREA" ) AND ( T_00 . "FUNDS_CTR" = T_03 . "FUNDS_CTR" AND T_00 . "FM_AREA"
    = T_03 . "FM_AREA" ) AND ( T_00 . "PU_MEASURE" = T_04 . "PU_MEASURE" AND T_00 . "FM_AREA" = T_04
    . "FM_AREA" ) AND ( T_00 . "AC_DOC_TYP" = T_05 . "AC_DOC_TYP" ) AND ( T_00 . "PSTNG_DATE" = T_06
    . "DATE0" ) AND ( T_00 . "ACDOC_NO_F" = T_07 . "AC_DOC_NO" ) AND ( T_00 . "PSTNG_SEQ" = T_08 .
    "PSTNG_SEQ" ) AND ( T_00 . "/BIC/ZTXTLG" = T_09 . "/BIC/ZTXTLG" ) AND T_00 . "FISCPER3" = '004'
    AND T_00 . "FISCYEAR" = '2005' AND ( T_00 . "FM_ACTDETL" = '000' OR T_00 . "FM_ACTDETL" <> '000' )
    AND NOT ( T_00 . "FM_ACTDETL" = '010' ) AND T_00 . "FM_AREA" = 'F1' AND T_03 . "SID" = 2684 AND
    T_04 . "SID" = 1281
    GROUP BY
    T_01 . "SID" , T_02 . "SID" , T_03 . "SID" , T_04 . "SID" , T_05 . "SID" , T_06 . "SID" ,
    T_07 . "SID" , T_08 . "SID" , T_09 . "SID" , T_00 . "FISCPER3" , T_00 . "FM_VTYPE"
    6 TABLE ACCESS FULL /BI0/APU_O3200
    ( Estim. Costs = 20,821 , Estim. #Rows = 1 )
    Don't be put off, the only imporatnt parts are the ODS table name (in the FROM clause) - "/BI0/APU_O3200" in this case and the end of the WHERE clause. The start of the WHERE clause specifies the join conditions (which we NOT interested in) and the end gives us the (hopefully)selective fields which access the ODS object ("/BI0/APU_O3200"). Here the selective fields are:-
    FISCYEAR
    FM_ACTDETL
    FM_AREA
    A secondary index should be created on these fields to improve performance and avoid the full table scan seen above. If query runtime is still unacceptably high, then more selective fields will have to be added, which of course is also a functional issue.

  • Get value of formula variable during query runtime into a text variable

    Hi all,
    I wanna get the value of the formula variables during the query runtime into a text variable.
    My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
    Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
    But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
    If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
    So could you please give some advice?
    Is my solution correct or not?
    And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
    And My code is:
    DATA:  l_s_range_v TYPE rrrangeexit,
                 l_day type sy-datum.
    if i_step <> 2.
    raise no_processing.
    endif.
      READ TABLE i_t_var_range INTO l_s_range_v
         WITH KEY  vnam = 'Z_DATE_3'.
    if sy-subrc = 0.
         l_day = l_s_range_v-low.
    endif.
    Thanks in advance!
    Best regards
    Fanchest

    Hi, Fanchest,
    I'm having just the same issue.  Did you find a solution?
    I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value).  Can you share your solution?
    Thanks in advance,
    LL

  • Query runtime vs Query execution time

    Hi,
    I am trying to find the most executed queries (how often queries are executed) in our BI system.
    I got query runtime from Hitlist in st03 Reporting analysis.
    could someone tell me if its same as query execution time or where can I check most executed queries or how often are queries executed.
    thanks

    hi,
    I hope you already installed the statistics.
    You can get lot of details like  which quereis are being used and their history and how many times they executed and by whom , when  and also tells  DB, OLPA, and Frontend times in ST03N in Expert mode
    refer below thread
    Re: BEx Query is executed how many times???
    also refer help - navigate to  BW Statistics MultiProvider Queries
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/10cb9a8f345cf9e10000000a155369/frameset.htm
    hope it helps u
    Thanks
    Edited by: Srinivas on Oct 30, 2008 9:42 PM

  • How to switch ON/OFF Unassigned Hierarchy Nodes during Query Runtime?

    We have a GL Account Hierarchy based on an FSV that we use in BW reports.
    All our reports are web reports accessible via BW Portal.
    This hierarchy has an Unassigned Node also that we have suppressed (switched off) for display via Hierarchy Attributes Settings.
    When you check the Suppress Unassigned Node box the unassigned nodes do not show on the report.
    This has been working fine so far until we have this one requirement where user would like to see unassigned GL Accounts also.
    We would like to check/uncheck this flag (Supress Unassigned Node) during the query run time.
    Is there a way to control showing/hiding of unassigned node of a hierarchy during query runtime?

    Hi Ram,
    If you have set hierarchy attribute as display unassigned node, then you can simply select the root as filter in order not to display the unassignd node.
    However if you have set hierarchy attribute as suppress unassigned node, then you can't choose the unassigned node by the filter.
    So if users want both, you need to set hierarchy attribute as display unassigned node. You cannot really change this setting at runtime by user.
    Regards,
    Patricia

  • Wrong/unexpected query runtimes from 0TCT_MC01

    Hello,
    We have activated Technical Content to get query runtimes.
    In specific we want to know the duration between the moment you double-click on the query and the final appearance of the result-screen in e.g. BEx Analyzer.
    I opened a query and manually stopped time and I get about 10 seconds. But the KeyFigure u201CTotal Timeu201D of the cube 0TCT_C01 shows the value 2,438. But I expected something around 10 seconds.
    ThenI noticed that there are two identical timestamps. For one timestamp there exists a name for the BI Application Object and for the other timestamp the BI App Object is u201CNameOfMySystem/not assignedu201D. When you sum up these two values yout get about 10 seconds.
    Is there something wrong with my data loading? Can anyone please guide me? I have no idea.
    Thanks and Regards,
    Kathi

    Yes, I'm totally confused!
    On help.sap-sites the description of the Total Time (0TCTTIMEALL) is as follows:
    Contains the total time to successfully execute a BI application or BI application object. It includes the time for OLAP, frontend, data manager, planning, as well as the time to execute the BI application or BI application object.
    So for me that looks like the wanted time, but it isn't.
    Where do I think wrong? Can you explain it to me?
    Regards,
    Kathi
    Edited by: Katharina Ploderer on Oct 21, 2011 3:39 PM

  • Query Runtime Statistics - Delta Load Errors

    Good Morning,
    We recently upgraded our BI system to 7.0.  One of the consultants who was here activated some standard business content, as the title of my subject shows, Query Runtime Statistics.  The Infocube that is being loaded in the process chain he activated is: 0TCT_C01.   This load utilizes 4 individual delta loads, coming from Datasources: 0TCT_DSA1, 0TCT_DSO1, 0TCT_DSO2, and 0TCT_DSO3.
    The problem we're having is that at least 2 of these frequently fail ( 0TCT_DSO2 and 0TCT_DSO3 ).
    The failure messages we get is that some of the data coming in for object 0TCTSTATOBJ (Query Runtime Object) is always bad.   Some example values of the data that it is trying to load include:
    FILTER(1)
    TABELLE(1)
    GENERISCHER NAVIGATIONSBLOCK(1
    I'm not seeing anything in particular that would indicate these as being invalid values.  The ()'s I wouldn't think would be causing it, given that those are in our system as acceptable characters (checked RSKC to verify) and there's nothing else that looks out of place (aside from the values coming in as German). Has anyone else come across an error like this for this particular statistics load?  Manually changing these erroneous in the PSA is not an option given the frequency of the failures.
    Any help would be greatly appreciated.  If I need to clarify or relay any additional information, please let me know as well.  Thanks

    Sita,
    I greatly appreciate your response.  However, I probably should have provided some additional technical information regarding the issue.
    The values I posted actually are from the PSA.  These values that are given are telling the person what Java object the report being used, has had an issue (may not just be reporting issues, but general statistics for the use of these java objects, not sure yet).
    I am aware that when BI gets an invalid character, it replaces it (in the display screen) with a #.  Unfortunately, we do have # in our permitted characters and the reason why that doesn't work to qualify what was entered is because while it shows up in your display screen as a #, in the background it still sees it as the invalid char.   Subsequently, you won't always be able to see what that invalid char is.  We've encountered this many times over the years with our Sales Orders when a Rep (or someone within the company) enters invalid characters (typically they do a copy and paste from Excel using a different Font, or are using arabic or other foreign characters).
    Given that the values we're recieving are in German, my only conclusion is that the words themselves contain german characters often used in certain letters.  For example, the letter U can sometimes have what they call an umlout (spelling may be off on that).  An umlout almost looks like a quotation mark that is placed directly above the letter itself.   Another common letter in German is the ß symbol.
    We may be able to bypass our problem by entering in these german characters, but I guess I was looking for more than just a "hack" solution and was curious if anyone else out there has had a similar issue on their system and if they were able to come up with a solution other than trying to guess and add in "special characters" that are not normally used in the english language.
    Again, my appologies for not being more descriptive and thank you again for replying.

Maybe you are looking for

  • Error While create web application

    When I try to create new web application on my server it return error as the Virtual directory already in use. For example if I create the web application in 9090 port means it shown the error the virtual directory 9090 was already used by other appl

  • I just moved my mobile me account to the cloud.  I can no longer sync iCal with my iMac running os 10.5 (this is an old iMac which cannot upgrade to Lion).

    I just moved my Mobile Me account to an iCloud account and can no longer sync between iCloud and this older iMac. I can post changes to my iCal on my other Mac's running OS Lion, but when I do so they don't appear on this computer in iCal.    I can't

  • Can't find drivers for my notebook

    Hi, I am in need of drivers for my notebook, and the site where I would usually get them from (http://h10025.www1.hp.com/ewfrf/wc/product?cc=au&dlc=en&lc=en&product=7169846) is not working at all. Is there some other page where I can download drivers

  • Apps not showing in purchases.

    So about 3 or so weeks ago I redeemed a $10 iTunes gift card. I obtained the code from FreeMyApps. I was in the Australian store so I switched my store to the U.S store. I then redeemed the gift card code and $10 credit was added to my account. Then

  • E7 sent folder is empty

    Has anyone experiencing such an issue whereby their pop/imap sent mail folder is empty dispite having sent numerous emails out ? any solutions out there ?