Warming up the OLAP cache

Hi,
I would like to schedule execution of some queries in order to put the results in the OLAP cache for fast use.
Each user run the query with very restricted selection: one period, one node in the CostCenter hierarchy and one currency type! All the selections are obligatory and for single values.
I created a "super" query with the same characteristics, all in the rows or columns, with not mandatory variables, ...
I scheduled the "super" query and it create an entry in the OLAP cache.
When I now run the production query (other query on the same cube, for one node, one period, one currency) the system doesn't use the OLAP cache, but create a new line in the OLAP cache.
It is impossible to schedule every combination.
Is there a way to worm up the cache with a different Q?
Should the seedling be done with Broadcaster or Reporting Agent (in NW2004s)? I think this should be the same ?!
Any suggestion to fill the cache for my situation?
Thanks, Tom

The OLAP cache is at a query level, so to warm up the cache, you must run the actual query that the users will run, not just a similar or "super" query that is similar.
SDN has some doc on effectively using Global cache which would be good to review.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a
The other key thing to understand is how the setting on variable "Can be changed during query navigation" works.  If this setting is NOT set on your variables, then in order for a query to access the data in the cache, the query must have been run previously with the exact same variable values, as the varaiable values get saved as part of the cached info.
Selecting the "Can be changed during navigation" variable setting changes the way the system considers the variable - it behaves as a filter.  This has some implications with way prompts for variables appear to the user, so there are user impacts.  In BEx, a variable is normally presented for input when you first run the query and then whenver you refresh it, but when you change the variable setting to Can be changed..., the variable prompt will be presented teh frist time the query is run, but NOT when a refresh is done, it now behaces as if you added a filter to the query.
So if you change all the variables (or create new ones) used bythe query to Can be changed..., then run your query thru reporting agent or info broadcasting wide open, or with restrictions that encompass all your user's query executions, the subsequent user executions will use the global Olap cache.

Similar Messages

  • Pre-fill the OLAP cache for a query on Data change event  of infoprovider

    Hi Gurus,
    I have to pre-fill the OLAP cache for a query,which has bad performance.
    I read a doc 'Periodic Jobs and Tasks in SAP BW'
    which suggested sum steps to do this
    i hav created the setting for Bex broadcasting for scheduling job Execution with data change in info provider
    thereafter doc says  "an event has to be raised in the process chain which loads the data to this InfoProvider.When the process chain executes the process u201CTrigger Event Data Change (for Broadcaster)u201D, an event is raised to inform the Broadcaster that the query can be filled in the OLAP cache."
    how can this b done please provide with sum proper steps
    Answers are always appreciated.
    Thanks.

    Hi
    U need to create a process chain or use the existing process chain which you are using to load your current solution, just add event change process type in the process chian  and inside it add the info provider which are going to be affected.
    Once you are done with this go to the broadcaster  and  create new setting for that query...you will see the option for event data chainge in infoprovider just choose that  and create the settings.
    hope it helps

  • What is the transaction to enable the olap cache in the report

    Hi all,
    please let me know what is the procedure to improve the performance of a query?
    how can i tune a report?what are the steps i need to take to improve the performance in the report?
    please mention all the transatction codes whare i have to check and what i need to do to achieve the good perfomance?
    thanks in advace,
    ashok.

    Primary Tcode is RSRT.
    Go mto RSRT and give your query name and select exceute _ debug.
    Then you will get a lots of options to run the report.
    Caching will set uo thru SPRO. Work with your Basis for this.
    Ravi Thothadri

  • How to fill the application cache by scheduling a Bex report

    Hi Experts,
    I have a Query which take about 4 minutes to execute for the first time and when the same query is executed for the 2nd time it takes about just few seconds.
    I tried using the broadcasting setting in portal to fill the OLAP cache for this query and executed it manually before executing the query in the morning, The Fill OLAP cache has run successfully but apparently the query executing for the first time takes the same time as it was taking earlier. There is not difference even after introducing the fill OLAP cache setting for this query.
    On further analysis I see from the from the "Statistic Data for Query Runtime" that DBTRANS & DBSEL entries are available when the report was executed for the first time, this means the cache is getting filled only when the report is executed for the first time but not through the fill OLAP cache from Portal.
    Can any one please let me know is there any other option available to execute the query before any user executes it, so that the entire report is available in the cache and the user doesn't have any complaints of performance. The report is executed only in Analyzer we do not have any web report.
    Please provide your valuable input to over come this performance issue.
    Thanks

    Hi sam
    You can broadcaste the report... and fill the cache...
    Before setting up the broadcasting settings -- you need to enable the cache property for that particular query or info provider.
    you can enable cache using the RSRCACHE or RSRT transaction ...
    Check the below LInk
    [Performance Optimization of Long Running Queries Using OLAP Cache|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4]
    Regards
    KP

  • Query views are not using OLAP cache

    Hi,
    I am trying to pre-fill the OLAP cache with data from a query so as to improve the performance of query views. 
    I have read several documents on the topic, such as “How to… Performance Tuning with the OLAP Cache” (http://www.sapadvisors.com/resources/Howto...PerformanceTuningwiththeOLAPCache$28pdf$29.pdf)
    As far as I can see, I have followed the instructions and guidelines in detail on how to set up the cache and pre-fill it with data. However, when I run the query views they never use the cache. For example, point 3.4 in the abovementioned document does not correspond with my results.
    I would like some input on what I am doing wrong:
    1. In RSRT I have Cache mode = 1 for the specific query.
    2. The query has no variables, but the following restrictions (in filter): 0CALMONTH = 09.2007, 10.2007, 11.2008 and 12.2007.
    3. I have one query view with the restriction 0CALMONTH = 10.2007, 11.2008 and 12.2007.
    4. I have a second query view, which builds on the same query as the first query view. This second query view has the restriction 0CALMONTH = 11.2008 and 12.2007.
    5. There are no variables in the query.
    6. I run the query. 
    7. I run the first query view, and the second query view immediately after.
    8. I check ST03 and RSRT and see that cache has not been used for either of the query views.
    Looking at point 3.4 in the abovementioned document, I argue that the three criteria have been fulfilled:
    1. Same query ID
    2. The first query view is a superset of the second query view
    3. 0CALMONTH is a part of the drill-down of the first query view.
    Can someone tell me what is wrong with my set-up?
    Kind regards,
    Thor

    You need to use following process of process chain: "Attribute change run (ATTRIBCHAN)". This process needs to be incorporated into your process chains which loads data into provider on top of which your query is based.
    See following links on topic how to build it:
    https://help.sap.com/saphelp_nw73/helpdata/en/4a/5da82c7df51cece10000000a42189b/frameset.htm
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/9a/33853bbc188f2be10000000a114084/content.htm
    cheers
    m./

  • How to empty out Olap Cache for a query?

    Hi experts,
    I think the olap cache for a query should be resetted to zero after a data load (right?), if i have understood well how it works. Where can i check the olap cache for the query?  I'd like to ckeck the change of the Olap Cache for a specific query.
    I checkt in the Cache Monitor but I haven't found any data.
    Francesco

    Hi
    You can use the Transaction code RSRCACHE
    Regards
    N Ganesh

  • Fill Olap cache distribution type

    Hi,
    I'm trying to fill the olap cache with information broadcasting, but I cannot see option "Fill olap cache" in the distribution type.
    Only distribution type "broadcast E-Mail" and "Broadcast to portal" are present.
    I reached the broadcasting screen from Tcode RSRT -> ABAP Web.
    Is a Precalc. server required to get access to "fill olap cache" distribution type ?
    How can I get access to distribution type "fill olap cache"  ?
    System: BW 7.01 SP06

    Hi Brian,
    Please check below:
    Broadcasting in BI 7.x - Do I need Portal, Missing Distribution Types
    Also check the expert for
    In SAP NetWeaver BI 7.0 (2004s), which BEx Web functions require SAP NetWeaver 7.0 Portal?
    As soon as you use any of the new BI capabilities for SAP NetWeaver 7.0 (2004s) BEx tools (such as BEx Analyzer & Broadcasting), you require usage types BI Java and Portal. The only exception is if you do not use SAP NetWeaver 7.0 BEx tools and ONLY use the old 3.x BEx tools.
    https://www.sdn.sap.com/irj/sdn/nw-datamanagement?rid=/library/uuid/a5067965-0901-0010-6f8a-bbf0b7424283#q-6
    -Vikram

  • Can a query view be broadcast to olap cache??

    Hi, 
    I am trying to pre-calculate a query view to the olap cache.  I do not see this option in drop down.  Is it possible
    Thanks

    Hi,
    Well the few setups of ASA + Ironport that I have seen uses an WCCP ACL on the ASA which already can define which traffic is forwarded to Ironport and which simply bypasses it and goes straight out of the ASA.
    Those that need to bypass Ironport are specified in the top of the ACL with "deny" statements.
    access-list WCCP line 1 deny ip host host
    or
    access-list WCCP line 1 deny ip host any
    I am not sure if this was what you were looking to do.
    - Jouni

  • OLAP Caching question

    Hi
    I'm not sure if this is the right forum, but I figured I would ask anyways. Using the broadcaster, I have configured a couple variable settings on a query to fill the OLAP Cache.
    Is there a way to update the parameter settings by an api instead of going in manually to each query and updating the parameter values?
    For example, say I want to cache only two months worth of data. I set the query settings for Jan and Feb. Now I want to configure to Mar and Apr. Instead of manually opening up the settings and entering and saving I want to do this using code if possible.
    The reason why is if I have 100 queries to set this, it would be much easier to run this through code than manually updating the values.
    Thanks in advance,
    Daniel

    check the table RSRPARAMETRIZA, field-content which stores the variant values. You can update the variant values dynamically using ABAP.
    This articles shows you how to do that.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4

  • Query mass Broadcasting to fill OLAP cache

    Hi,
    I have +- 50 relative small queries that I'd like to precalculate each night (push them to the OLAP cache) as these queries are displayed together in one KPI dashboard.
    I know the Bex Broadcaster is the tool that should be used but at this moment I don't know any way to schedule the precalculation for ALL queries in mass. Is there a way to Broadcast queries in mass via a certain program or via any other means?
    Putting them in one workbook is an option (and having this workbook precalculated) but I was wondering if there are any other solutions ?

    I have now been investigating mass broadcasting via :
    1 one workbook with several queries integrated
    1 webtemplate with several queries integrated
    But both alternatives don't offer the option "Fill OLAP Cache" in the Bex Broadcaster. It seems this is only selectable when you start the Broadcaster for one individual query ?  So my conclusion is that you need to make a settings for all queries individually ? Or is there a way to change the distribution method for webtemplates ? Quite a big dissapointment for me anyway...

  • InfoProvider OLAP Cache settings

    The BI nw2004s 7.0 version is support stack 12 SAP_BW level 14.  How do you set the olap cache mode to flat file at an InfoProvider level.  Via rsrt, each query can be set, but the defaults are currently 'Cache without swapping'.  Want to change that to 'persistence flat file', but not have to manually do it for every query.  For BW 3.5, the process was: Use Transaction SPRO and
    menu path SAP Customizing Implementation Guide • SAP NetWeaver •
    SAP Business Information Warehouse • Reporting-relevant Settings •
    General Reporting Settings in Business Explorer • InfoProvider Properties
    However, this path does not exist in 7.0
    Any feedback on how to change the cache mode for an infoprovider so that it doesn't have to be manually done for each query.

    Hi Dan,
    Please go to the infocube itself on RSA1 in display or change mode.
    Through the menu - enviroment>infoprovider properties>change.
    On the first tab u can change the settings of the cache.
    Tomer.

  • Filling OLAP Cache for 3 Bex queries

    Dear Experts,
    Here, We would required to fill the OLAP cache for four bex queries using the Broadcaster Settings.
    can any one please suggest for the following.
    how to schedule the OLAP chache filling for 3 different queries at a time. do we need to perform this activity individually for three times for three different queries or can we club three queries and do schedule using only one varaint.
    Request you to suggests the steps for performing this activity
    Thanks in advance,
    Mannu

    Hey,
    this may be useful for you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
    Regards,
    Kiran

  • Need clarification on OLAP Cache!!!

    Hi,
    This is what is to be followed to turn on or off the olap cache!!!!
    SPRO -> SAP Reference-IMG
    Open the tree: SAP NetWeaver -> Business Intelligence -> Performance Settings
    Execute: Global Cache Settings
    Check the flag: Cache Inactive
    Now the question is....... if you check the "cache inactive" check box, what does it signify? does that mean cache is active or inactive? quite confusing.......
    Regards,
    Surya Tamada.

    Hi,
    Pls look on it,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a
    Also check this,
    Re: OLAP Cache issue.....
    http://help.sap.com/saphelp_nw70/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/00/241da12ef84f40bb6ecd3ae73d8b58/content.htm
    Hope it helps.
    Thanks & Regards,
    SD

  • How to understand if olap cache is used

    Hi,
    I am trying to understand if my query uses the olap cache or not.
    First I executed the report with specific selections. After that, I executed the report again with the same selections but it took almost same time to bring the report output. There are lots of exception aggregates in my query, so i wonder if olap cache will help me or not.
    So, how can I understand if the query uses the olap cache or not ? (i am using RSRT screen, with 'do not use cache' blank)
    Thanks
    Ozan

    Hi
    Check in tcode RSRT. Input your query tech name and from the properties tab, you can see if the olap cache is set to be used in the cache mode field.
    You can check if the entries you are making in the cache are used, if you, also from RSRT, go to cache monitor->main memory and expand the folder "query directory".
    now search for your query tech name.
    a folder will appear with your query tech name if the cache mode enabled.
    right-click and choose details. here you will see "read accesses" and the number will tell you how many times this entry has been read.
    regards
    jacob

  • OLAP Cache not invalidating

    Hello People,
    I am having a problem with the OLAP Cache not invalidating when new data is loaded into the basic cubes that make up a multiprovider.
    In detail:
    I can run a report from a multi provider for which I will then see a cache entry in RSRT for that query.  I can then perform a data extraction to one of the basic cubes, including a rollup of aggregates, index generation and statistics build.  I then re-check RSRT and the query cache selections still exist. If I now re-run the query it retrieves the results from the cache, ie not updated with the new data.
    Information:
    System - BW 3.5 SP 13.
    Basic infoproviders have DB Stats settings of 100% of IC data used to create statistics as advised by an SAP performance expert.  Cubes are less than 10million records.
    Please help me as this is driving me crazy and my Basis support are insisting that it is a problem with the settings in BW...
    Thanks
    Jim

    Thanks for the replies.
    I realise that new data should invalidate the OLAP cache, however this is my problem.  It does not appear to be removing the cache entry when new data is loaded.
    I am getting around the problem by manually deleting the cache entry in RSRCACHE on a query by query basis across multiple app servers.  - Not very efficient. 
    I have also tried the regeneration of the query but have found that this does not always invalidate the cache across all app servers, only the one that the regeneration was performed on. 
    You mentioned the time-stamp of the cache entry - do you know what table this is stored in?  It would be helpful for explaining on OSS I think.

Maybe you are looking for

  • How do I measure the CPU/GPU split of load/usage in Java3D?

    Hello, Is it possible to measure the split between graphics and CPU usage to find out how much work each is doing, what work is done, and which is doing the most work, for example? If so, how can this be implemented in the Java3D code? For example, o

  • Tune XSQL performance

    Hi, I wish to explore what would be the scope of tuning an XSQL query for performance apart from generic tuning of the SQL query embedded within the XSQL. I can think of two potential locations when seeking to improve XSQL performance: (a) Tuning the

  • Cannot add wsdl as web reference

    Hi, I am trying to add wsdl file as web reference to a visual studio project. But when I am trying to add the url, I am getting following message on right side : The HTML document does not contain Web service discovery information. And following resu

  • Can anyone recommend a good (cheap) CCTV wifi camera and viewer app for Ipad..

    Geeting my Ipad 3 soon and because I have a dodgy back window I really want a cheapish app and camera that I can monitor on my ipad whilst at work / upsatirs. Before anyone says it...I am not fixing it as I am getting an extension in a few months. Ch

  • Debugging migo

    Hello SCN. I need your help, I am debugging trx MIGO y and I have the following Window, it says enhancement, what does it mean? is it an exit? can i find it by cmod or smod. thank you for your help.