RSRT Question....

Hi,
This is related to BW 3.5 on Solaris and Oracle.
I Go to RSRT and enter the query name then I choose "Technical Information" button. It displays a list of detail information about query. The last information is "Optimization Information" and it has a red light and has no data.
What is the significance of this and how it can be made green. Does it improve the performance after it is green?
Please advice me of any suggestion.
Thank you in advance to everybody.
Thank you.
SC

Regenerate the query using RSRT t-code (Environment -> Gen. Queries Directly) and this will optimize the queries automatically.
If you do not do this, how often your queries are optimized depends on the settings in RSRT.
Also refer to the SAP Note <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=688085&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede">688085</a> for more info about Optimization of Queries. Hope this helps!

Similar Messages

  • Questions on cache and general RSRT settings for plancube

    Hi,
    we would like to:
    1) set request status 1 in RSRT for our planqueries, in order to automatically refresh the query after executing a planfunction (problem we have now is that the results of a planfunction are not automatically updated in the query. Only when doing something else like executing other function, saving, check locks, ... the results are visible).
    2) activate delta cache for our planqueries
    we have read OSS note 1136163 on RSRT settings. It says:
    Aggregation level "A" is implemented internally by the automatically created query "P/!!1P" (plan buffer query). This query acts like an InfoProvider. It reads the data of the database or provides the data from InfoProvider "P", it adds the data of the delta buffer "Dp" (or the delta buffer Dpi if P is a MultiProvider with several PartProviders Pi that can be planned) and transfers the data manager as data of the InfoProvider "A" of type "ALVL". The query "P/!!1P" can use aggregates and the cache; this is exactly like each normal query in "P". If "P" is a MultiProvider, it is useful to set PARTITIONMODE to "1".
                  For the query "P/!!1P" that is created automatically for an aggregation level or for all aggregation levels using the InfoProvider P, we recommend the following setting:
                  Read mode "H", request status "1", cache mode "1" or higher, delta cache "true" and SP grouping "1".
                  Furthermore, the selection to use the structure element (KIDSEL) should be "true".
                  The input-ready queries in "A" should not, and cannot, use a cache. The request status is irrelevant since queries in "A" are automatically set to current data. The delta buffer does not currently support hierarchy processing. Therefore, aggregation level "A" cannot completely support read mode "H". For input-ready queries at A:
                  Read mode "X", request status "0", cache mode "0".
                 The delta cache and SP grouping are not visible
    Problems we have:
    1) for query P/!!1P (PCA_AGQF/!!1PCA_AGQF in our example) does not allow changing the request status (greyed out). It now has value 0 instead of 1. It also does not allow to activate the delta cache flag. How to change this? In RSDIPROP we have set partitionmode to 1 for the multiprovider and activated the delta cache flag...
    2) can we use the cache / delta cache principle for our planqueries? If so, how to ensure these settings remain activated in RSRT?
    regards
    Dries
    regards
    dries

    Hi,
    To change the cache settings for your cube.
    Open the cube in RSA1 and click in 'Chance'.
    - click in the 'Environment' menu;
    - expand 'InfoProvider Properties'
      - select the option 'Change'.
    You will be able to set the cache mode for this provider.
    I don't think it will be possible use cache for a multiprovider, it is
    not possible.
    Regards,
    Amit

  • Questions regarding aggregates on cubes

    Can someone please answer the following questions.
    1. How do I check whether someone is re-bilding aggregates on a cube?
    2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
    3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
                            A. activating an aggregate?
                            B. switching off/on an aggregate?
                            C. rebuilding an aggregate?
    3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
    4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
    Regards,
    Srinivas.

    1. How do I check whether someone is re-bilding aggregates on a cube?
    If your aggregate status is in red and you are filling up the aggregate - it is an initial fill of the aggregate and filling up would mean loading the data from the cube into the aggregate in full.
    2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
    Rebuilding of an aggregate is to reload the data into the aggregate from the cube once again.
    3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
    A. activating an aggregate?
    this would mean recreating the data structures for the aggregate - this would mean dropping the data and reloading the data.
    B. switching off/on an aggregate?
    Switching off an aggregate means that it will not be used by the OLAp processor but would mean that the aggregate still gets rolled up. Rollup referring to loading changed data from the cube into the aggregate - this is done based n the requests that have not yet been rolled up into the cube.
    C. rebuilding an aggregate?
    Reloading data into the aggregate
    3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
    Run the query in RSRT and do an SQl view of the query and check the characteristics that are used in the query and then include the same into your aggregate.
    4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
    Stats being updated will improve the execution plans on the database. Making sure that stats are up to date would lead to better execution plans and hence possibly better performance but it cannot eb taken for granted that refreshing stats is going to improve query performance.

  • Execute generated query report in RSRT

    Hello experts,
    I tried to execute the generated report for a query in transaction RSRT and it failed ("query not found on server" was the error). Now my question is more general - what is this report for? Is it just a "background program" for a query and should not/cannot be executed in SE38? Can you execute your generated query programs in SE38?
    Thanks in advance!
    Greetings,
    Daniel

    Hi Daniel,
    Basically the queries are Subroutine Pools and you can call this in ABAP.
    Please see the following links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/41c97a30-0901-0010-61a5-d7abc01410ee
    Re: Execute generated query report in RSRT
    I hope this will help you to get more clarity as well to me to get more points!!!!
    Regs
    Gopi.

  • RSRT- Query Execution

    Hi Experts,
    One of my senior consultant design some queries and he asked me how much time taking for QDBSEL,QDBTRANS,QNUMCELLS,
    QTIMEOLAP,QTIMEDB,TIMECHAVLREAD, i find out all these information in RSRT but my question is how to calculate OLAP and DB time, and if OLAP takes much time where we can search and how to reduce the time.... like this above all how can i find out?
    Thanks
    David
    Edited by: david Rathod on May 27, 2010 7:08 AM

    Once you execute the query in RSRT , go back you wil get front end /calculation layer tab .In that you have  columns event text and duration .check for OLAP type event and coresponding duration. For data base fetch time check for event 9000 ( Data manager ) .
    Query runtime can be improved by creating aggregates on cubes  and providing appropriate filters during run time .

  • Question regarding the default web template for queries

    Hello,
    I am trying to learn the default web template that is using for queries:
    0QUERY_TEMPLATE_BROADCASTING70
    I see that it's <bi:QUERY value="" /> is empty which is logic since the query will be inserted on runtime. My question is, where in the web template does it say that? I can't see any parameter it expects to get with the query's technical name not at the webtemplate code nor at the URL...
    Roy

    Roy,
    I think you are mixing things. The template you are mentioning is used for queries that are executed from the query designer. It's not a web template as any other one you create for your users. So, this web template has some parts in it's code that works with the query execution. When you run a query, the system takes the query definition (made in QD) and executes it with the web template indicated for the query. This determination is made by the program that is used to run queries. You can try using RSRT transaction to debug and check how this it's done. If you want to change the default web template used by query designer to run the queries, you should do it copying any standard template, like the one you mentioned. If you don't do it, you won't get the information correct.
    Hope this helps.
    Regards,
    Diego

  • RSRT Generate Query

    We are preparing to transport our queries to our Q box. My question is do we need to generate the queries in RSRT.
    What does that Generate button actually do ?

    Hi Richard,
    You do not need to generate the queries as a pre-step to transporting them. Generate button will generate all the code behind the query. Sometimes this helps especially when you are testing a complex query definition as generating in RSRT would cut down on the front end processing time. Also sometimes a query may not execute in BEx and we usually use the Generate in RSRT as a means to validate that the query definition is okay and active.
    Hope this helps...

  • General question about query

    Hi,
       You create a InfoCube, with aggregate been performed in it, now you write a query for that cube, how will you Identify a query with a cube, which has aggregate performed in it, is there a way to find it?
    Please let me know, if you dont understand the question.
    Thanks.
    will reward points.

    Hi,
    The fact that a query uses an aggregate to fetch the data from is transparent on the Bex front-end. If you want to check if a query is fethcing data from the cube or its aggregates, execute the query in RSRT with the Debug options set for aggregates.
    Hope this helps...

  • Problems with transaction RSRT running a query, appears this message

    Hi guys, i did a query, but when i run it in the transaction RSRT appears this message, what can i do?
    BW SERVER ERROR:
    No roll  storage space  of lenght 3920  available for  OCCURS are.area.
    Thanks !

    if i have a query with 2 Key Figures #1 works well but when it is alone the #2 is in HIDE or Dont SHOW and  use a user exit variable, but the variable is not yet created , the query works evaluating the KF #1 or  both even the #2 being hide,
    question #2 - The master data when you load is overwrite right? for example an infoobject?
    thanks

  • Aggregates - Questions?!

    Hello Experts,
    My questions regarding to AGGREGATES are:
    a)
    In RSRT - Maintenance for Aggregate, I can see an Valuation of +++++ for an usage of 2357 however the aggregate in not switched on (it's red). I shall activate this aggregate? Correct?
    b)
    Shall I activate all the Aggregates with +++++ and an very high usage that are inactive (red)?
    c)
    I do have an Aggregate with an Valuation of +++++ but the usage is low (23). Shall I activate also this aggregate?
    d)
    If I have an Aggregate with a Valuation of + with an low usage, It's better the leave this aggregate inactive? Correct?
    Last question:
    e)
    If I have an Aggregate with a Valuation of + with a high usage, it's better to activate this aggregate? Correct?
    ASantos

    Hi,
    a) yes
    b)yes
    c)no
    d)yes
    e)yes

  • Splits for aggregates in rsrt

    When I go to RSRT and execute+debug my query, with aggregates selected, it shows splits like split1, split2 etc. What does the split mean?

    Each split is like a small sub-query telling you the parameters used in that particular part of the query. Depending on how your aggregates are set up then one aggregate may be sufficient for a number of 'splits'.
    If you have 'Fixed' parameters on then you may find an aggregate is sufficient for most splits but if you have values hard coded then the aggregate is less likely to be useful for many splits.
    You need to find a balance between putting in place appropriate aggregates, without building aggregates that are so big they become almost useless.
    The number of splits you see in RSRT is determined by your query definition, not by your aggregates.
    Hope I have understood your question
    Dave

  • Difference between RSRT and RSRTRACE?

    Hello Guys,
    Please help me to understand the use and differnec between RSRT and RSRTRACE ?
    and one more Question is realted to IEMON ?
    What is iemon?
    what are the advantage of using iemon in BW3.5 version?
    How to check whether IEMON is used in the current project or not?
    If i need to download iemon - doi need to get any approval from SAP?
    your answer will be highly appricated.
    Thanks,
    Nithi.

    HI,
    The Query Monitor (transaction RSRT) allows you to execute queries and to trace queries in a debug mode with several parameters (e.g., do not use aggregates, do not use buffer, show SQL statement).In the debug mode, you can investigate if the correct aggregate(s) are used and which statistics the query execution generates. For checking reasons, you can switch off the usage of aggregates, switch to no parallel processing (see for more details in the MultiProvider section) or display the SQL statement and the run schedule.
    Moreover, you set some performance-related query features in RSRT: read mode and OLAP query
    cache mode.
    If you discover single queries that you wish to improve in terms of performance,you should execute them in RSRT in the debug mode, and analyze which aggregates are used and which statistics are generated.
    The Query Trace Tool (transaction RSRTRACE) allows you to record some important function module calls and process and debug them at a later stage.
    Transaction RSRCATTTRACE takes the log of RSRTRACE as input and gives aggregates suggestions for the first execution AND all further navigations performed.
    Trace whole query navigations from users and analyze every step as described in the Query Monitor section.
    More information can be found in BW Documentation and SAP note 99010 (Description of the trace tool for RFC links).
    You can find lots more in the PDF, link given below:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fb4502-111c-2a10-3080-df0e41d44bb3&overridelayout=true
    Hope this helps.
    Thanks,
    rahul

  • Difference in B.Ex Analyser and RSRT (T. Code) environment

    Hi ppl ,
        I have written the following piece of code The purpose of the code is to return the initial variable selection scrren to the user if the values of Company code or plant are not supplied by the user .
       if i_step = 3.
          clear LOC_VAR_RANGE .
               READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE with key
                                  VNAM   = 'ZOMCOMPC'
                                  IOBJNM = '0COMP_CODE'.
               l_COMPCODE = LOC_VAR_RANGE-low.
               clear LOC_VAR_RANGE .
               READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE with key
                                          VNAM   = 'ZOMPLANT'
                                          IOBJNM = '0PLANT'.
               l_PLANT = LOC_VAR_RANGE-low.
               if l_compcode is initial and l_plant is initial.
                    message i002(00).
               endif.
       endif.
    However i cannot get the initial variable selection screen to popup after this execution.There must be some command i am missing . can someone help ?
    Also the problem does not end here , this code shows information pop up in RSRT but in the B.Ex environment the popup is totally ignored.Does this happen in BEx. ?
    If not can someone tell me to resolve the situation .
    Thanks in Advance .
    regards ,
    Devraj.

    Hi ,
        I tried putting the "Greater than" condition on a formula calculated on a KF in the query .But only the "greater than/greater than equal to " conditions are not working.
        I actually require the "greater than" condition for my requirement. Currently i am making do with a round about process i.e
    Suppose i need pay > 17
    So i am using pay NOT BETWEEN [-11,00000](as it is not taking any other value lesser than this ) AND 17 , which is serving the purpose temporarily.
    I am not using the calculated key figure approach as it is also amounting to a design change for my client .I have to use only the Formula.
    My questions are
    (1) how to make use of a greater than condition in B.Ex. on formula ?
    (2) what is the least value supported by B.Ex. in Conditions if i carry on with the second approach ?
    Regards ,
    Devraj

  • Turn off status messages for all queries in RSRT

    Hi Gurus,
    I got some help on this issue in a previous question, but I ended up having to fix more queries than I expected.
    Is there a way to turn off the messages for all queries in the system through transaction RSRT?   Right now I'm doing it one query at a time.

    Hi,
    Go to Transaction RSRT, then enter SUPPR_ALL in the tcode box again and hit enter. This brings up the maintain messages screen and it suppress the messages globally
    cheers,
    Swapna.G

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

Maybe you are looking for