Automatic filling OLAP Cache

Hi @ll,
i am using bw 3.5....
I`ve a question as to OLAP Cache. Is there any possibility/method to fill the Cache automatically every day?
Id like to use the performance enhancement of caching queries....but i would like to avoid it that the first user who execute a query have a long waiting time....
Exists there any options to handle this?
thx in advance for all answers and helpful advices
Cheers,
Marian

HEllo,
Check the foll link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a
Regds,
Shashank

Similar Messages

  • Fill OLAP cache via broadcaster

    Hi,
    I'm trying to use the broadcaster with distribution type 'Fill OLAP cache' and schedule it using " Including Event Data Changes in Process Chains ". The process chain has been adapted with the 'Event data change' process and scheduled. Process chain runs fine.  All was set up according to the link below.
    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/359840dfa5a160e10000000a1550b0/frameset.htm
    However, when I try to schedule the broadcaster setting, I only get the options of "Execution at Predefined Time"  or direct scheduling.
    Should I not be able to see "Execution with Data Change in the InfoProvider " as an option? Is there some other setting to be made?
    Very grateful for any ideas.
    Thanx

    Check if you have S_RS_BCS role authorization.
    You have to use process type DATACHANGE in the process chain for data load.
    Check this http://help.sap.com/saphelp_nw04/Helpdata/EN/ec/0d0e405c538f5ce10000000a155106/content.htm

  • 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

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

  • 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

  • Filling OLAP Cache - Information Broadcasting

    Hi,
    I have performance issues with a number of queries, and have impIemented a number of changes, but now I am looking at precalculating a number of queries, for every week of the year.
    It appears the settings in the Info Broadcasting only allow 10 variables. Can anyone suggest a way where I cache all weeks in the year, so whenever the users choose any specific week, the query is returned from Cache.
    Thanks in advance,
    Scott

    Hi Scott,
        Caching for entire year data is not advisable... lot of parameters you have to take into considaration. Like buffer size, cache swaping... etc... and also mainly.. if you do caching for whole year, load take lots of time to cache. and you have to cache again after every master data and transactional data load(cache becomes invalidate after each data load).
    <a href="http://www.box.net/shared/gso1n7pcy3">How To ... Performance Tuning with the OLPA Cache</a>
    <a href="http://sapbwneelam.blogspot.com/">More Docs...</a>
    Hope it Helps
    Srini

  • OLAP Cache filling using Broadcasting

    Hi All,
    We have two BEx queries which take more than 30 minutes to complete. One is an inventory cube query and other one is a query with a lot of exception aggregation.
    In the Statistics, both queries show that around 90% execution time is at OLAP level.
    We created broadcasting settings to fill OLAP cache for both the queries and scheduled in background. In RSRCACHE, we can see entries for both queries.
    But the execution time still have not improved. They both are taking same time to complete execution.
    Now I doubt if OLAP Cache supports non-cumulative key figures and exception aggregation or not. Is this mentioned in any documentations?
    Pls let me know your suggestions.
    Thanks in advance,
    Regards,
    Bijesh

    hi,
      you can carry out following checks:
    1) check parameter of global and local cache, general sense the global cache size should be larger than the local cache size you can configure the cache parameters in RSCUSTV14 or simply ask basis do optimise them acc. to system usage
    2) also since you you have checked RSRCACHE, try changing few option in properties change read to X(for large amt of data) by default its H
    3) try changing cache mode to with swapping instead of default without swapping, in case of several app server choose mode 4
    then click on environment->query mass  maintainence
    see if these works out
    regards
    laksh

  • OLAP Cache for Query Performance

    Hi Experts,
    I have below 2 Questions before we implement OLAP Cache for our Queries:
    1) We have 15 imporatant queries - which do NOT have any variable/selection screen.
    (question here is will it work for those kind of queries which dont have any selection screen/ variant ? ) --> client wants to prime the cache for few queries which dont have variable screen.
    In this case, say if data is later filtered on any CHAR , will it take the data from Cache?
    2) I have a query which initially will have few characteristics in the drill down when we first execute and users would be drilling down on many other characteristics after that. So if I want to fill OLAP cache for this query then what is the best way so that each drilldown in the query gets data from cache.
    Thank you,
    -Su

    Hi Raghavendra,
    Thanks for your response.
    For first Question, Do you mean , even if we do not have any Selection varaibale on Query--we still can fill OLAP cache for it for its all values (i.e. No selection means "*") ?
    If this is the case, then what we need to defile in General Precalculation (Variable assignment) while creating a new setting for the query.
    Thanks,
    -Su

  • 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

  • OLAP-Cache filling and report retrieval from cache

    Dear All,
    I am expecting good information from you guys in regards to process of OLAP-Cache filling and retrieval process.
    Let's say, we have few selectios as below to fill cache.
    selection 1:
    Calmonth : 201006
    Plant : A1 to A3.
    OLAP cache is filled with the above selection1.
    Selection 2:
    Calmonth : 201006
    Plant : A4 to A5
    OLAP cache is filled with the above selection2.
    When I am exeuting a query with the selections as below, how the data will be retrived? Is it from Cache memory or DB?
    Selection: Calmonth 201006 and Plant A3 to A4.
    Would be really Appreciate If I get some valuable information.
    Regards,
    KS

    Thanks for valuable information.
    I have used the mode as "Persistent Cache per Application Server" and " Transparent Table (BLOB)"
    What I am realizing here is, If the query selection is different from the cache selection, it is reading it from DB though the requested data is availabe in cache as per the below eg.
    Cache Memory:
    Selection1: Calmonth : 201006 and Plant : A1 to A2
    Selection2: Calmonth : 201006 and Plant : A3 to A4.
    Query Selection:
    Calmonth : 201006 and Plant : A2 to A3.
    Regards,
    Kanagaraj.S

  • How can I delete old addresses from the automatic fill?

    I set up a new account on a G4 PowerMac with 10.3.9 installed. This computer was being used previously by one of my other users. My question is: whenever the new user wants to send a new message and she types in the address she needs to use, it is set to automatically fill the address. All of the old user's addresses still appear as choices. How do I delete all the old addresses? I've already deleted all the old addresses from the address book. But they still appear in the automatic fill. Is there a cache somewhere to empty?
    Help!
    PowerMac G5 2.3GHz 250 HD 1.5 Gb RAM   Mac OS X (10.4.5)  

    Kately,
    Mail>Window>Previous Recipients>(Select as desired) then click on "Remove From List"
    ;~)

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

  • OLAP Cache

    how does OLAP Cache work?

    Logical File Names
    Use
    To save data in a file in the cache modes Main Memory Cache with Swapping, Flat File Cache per Application Server, or Cross-Application Server (see Cache Mode), the following specifications must first be set:
    &#9679;      Definition of the logical file path and assignment to a platform-specific physical path
    &#9679;      Definition of the logical file name
    From the Cache Monitor screen, using  Logical File Names, you can access the complex table maintenance for logical file paths and names. The table maintenance consists of several subdialogs (views). SAP has delivered a proportion of the required settings.
    You need to check these settings and make any necessary adjustments for your file system before you can use the persistent OLAP cache with a flat file as a background store.
    Note that these assignments are subject to settings made for the transport connection (You need a request that can be transported).
    Features
    The following section gives an overview of the subdialog in the table maintenance using an example configuration. For more information about the procedure, see Defining Logical Path and File Names.
    You can choose the following subdialogs using the dialog structure:
    Logical File Path Definition
    The (platform-independent) logical file path is evaluated at runtime to generate the (platform-dependent) physical path (see Assignment of Physical Paths to Logical Path).
    Two examples of this are:
    &#9679;        Logical file path: BW_OLAP_CACHE
    Name: BI OLAP Cache
    &#9679;        Logical file path: BW_OLAP_CACHE_SPAN
    Name: BI OLAP Cache Cross-Application Server
    Assignment of Physical Paths to Logical Path
    At runtime, the physical path assigned to the corresponding operating system is generated from the logical file path. 
    Since the physical path is platform-dependent, the customer has to specify it. The closer the file is to the application server or, with the cross-application server cache mode, to the application server, the faster it can be found and read. 
    Log(ical) path: BW_OLAP_CACHE
    Name: BI OLAP Cache
    Syntax group: UNIX (all Unix platforms)
    Phys(ical) path: /usr//global/ (You can choose the path up to <FILENAME> according to your own configuration.)
    If you cannot find the relevant syntax group for file names and paths for your operating system, you can define your own (see Syntax Group Definition and Assignment of Operating System to Syntax Group).
    The <FILENAME> parameter must always be set for the physical file name (see Logical File Name Definition, Cross-Client). At runtime, the complete platform-specific file name is automatically formed from the physical path and the physical file name.
    Logical File Name Definition, Cross-Client
    At runtime, a complete platform-specific file name including the path is generated for a (platform-independent) logical file name.
    In the following example, cache data is stored on an application server:
    Logical file: BW_OLAP_CACHE (we recommend you use the delivered attributes for the logical file).
    Name: BI OLAP Cache Files 
    Phys(ical) file: CACHE___
    Data format: BIN (binary)
    Application area: BW (Business Information Warehouse)
    Logical path: BW_OLAP_CACHE (see Logical File Path Definition). Input help is available.
    In the following example, cache data is stored cross-application server:
    Log(ical) file: BW_OLAP_CACHE_SPAN
    Name: BI OLAP Cache Cross-Application Server
    Phys(ical) file: CACHE__
    Data format: BIN
    Application area: BW
    Log(ical) path: BW_OLAP_CACHE_SPAN
    Note that a particular schema is prescribed for the physical file name:
    &#9679;      For application server storage (see Global Cache Parameters and Cache Mode Main Memory Cache with Swapping and Cluster / Flat File Cache per Application Server):
    CACHE___
    &#9679;      For cross application server storage (see Global Cache Parameters and Cache Mode Cluster / Flat file Cache Cross-application Server):
    CACHE__
    The following table offers an overview of the variables that are only replaced with actual values during runtime:
    Variables in Physical File Names
    Variable
    Meaning
    <HOST>
    Computer/server name (for SY-HOST). 
    If the data is stored cross-application server, this variable is not required. 
    <SYSID>
    System ID
    For example, if two different BI systems are running on one application server, this variable serves to differentiate the systems so that they do not overwrite each other.
    <PARAM_1>
    External parameter 1 (sequential number in HEX)
    Definition of Variables
    If you want to use variables in physical file names and paths, you can define these by choosing New Entries.
    Syntax Group Definition
    You can define a new syntax group for operating systems with the same syntax for file names and paths by choosing New Entries.
    Syntax grp: UNIX
    Name: All Unix platforms
    Length (of file name)
    Extension: Choose this option if the data format for the logical data name is allowed as the file name extension for this syntax group.
    Active: Choose this option if the operative system for this syntax group is used in the available system configuration.
    Assignment of Operating System to Syntax Group
    You can assign your operating system to a syntax group by choosing New Entries if necessary.
    OP system: SunOS
    Name: SUN Unix
    Regards,
    SUBHA

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

  • 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

Maybe you are looking for