BI Server Cache

Hi.
I am just trying to understand a few things about the BI server cache.
1. Is there a expiration time for the BI server cache meaning how long it retains the cache and when it has to be deleted. Is there any parameters that can be set to determine when the BI server cacahe expires.
2. When the BI server clears the cacahe is there an order in which it clears the cacahe meaning if it has 10 entries and reaches a limit how does does it choose which of the 10 entries to delete. How does it determine which is deleted.
Any documents pointing about the same with helpfull as well.
Thanks and Regards

Hi,
Bi server cache:
The BI server retrieve the data from several data sources and give them to the presentation server. Then the BI server cache is a data set cache. It store the result of the SQL and don't ask again to the data source (database for instance).
In your I
My instanceConfig.xml under config :
!-- Parametrage pour le cache -->
<CacheMaxExpireMinutes>60</CacheMaxExpireMinutes>
<CacheMinExpireMinutes>10</CacheMinExpireMinutes>
<CacheMinUserExpireMinutes>10</CacheMinUserExpireMinutes>
<CacheMaxEntries>10</CacheMaxEntries>
Or
using the event polling
http://bintelligencegroup.wordpress.com/2011/07/27/event-polling-table-to-purge-the-cache-in-obiee/
Hope this will help you.
Thanks
Deva

Similar Messages

  • How does presentation server cache shared by users and roles in OBIEE 11.1.1.6.7

    We are running through a scenario where user1 is assigned to role1 and run a report and after couple minutes user1 is assigned to role2 and run the same report, in 2nd run i see an error in saw log, even though there is presentation server cache that was generated by user1 is previous run it s not shared to the same user if his roles is chnaged, Is this expected behaviour ? by the way we dont have any row level security jut object level
    [2014-01-20T08:11:54.000-07:00] [OBIPS] [ERROR:31] [] [saw.views.dashboard] [ecid: 2f571434fbbd5490:72a3494e:14398c832ad:-8000-0000000000daa36e,0:1] [tid: 1545778944] Invalid request ID (ml75inai8rfs23tn9ih04bh236).  The request you are attempting to access has either expired or is from a previous logon.[[
    File:reportquerycache.cpp
    Line:68
    Location:
    saw.views.dashboard
    saw.httpserver.processrequest
    saw.rpc.server.responder
            saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadpool.socketrpcserver
            saw.threads
    SessionID: hjhbcvfak396tc89uuu550g8bgv75v2rshv2oeq
    Thanks for your help
    Srix

    The variable DISABLE_CACHE_HIT is used to enable or disable Oracle BI Server result cache hits and not the presentation server cache. So the behavior seems to be correct. You can manage the presentation server cache settings in hte instanceconfig.xml file. Refer to the documentation below to understand the parameters you can configure: ( http://docs.oracle.com/cd/E21764_01/bi.1111/e10541/querycaching.htm#i1218900 )

  • Save file from server cache in WebUI

    Hello,
    maybe someone here can help me with this obscure problem, that bothers me for quite some time now:
    I want to save a pdf file from an internal table to the clients harddrive. Everything is implemented as in Thomas Jung's BLOG(forgot the link) on getting the table in the server cache and I do have my working download URL.
    Now for the difficult stuff: I need to get the file to download correctly without freezing the application.
    This are the ways I tried, but I always do end up with the loading icon in front of my page, not able to make any input. gv_download_url is my working URL, file is OK too when I open it on the hdd:
    1.
      <iframe src="<%= gv_download_url%>" width="0" height="0" id="PDFDownload"
              name="PDFDownload" style="display:none">
      </iframe>
    2.
    <p>
      <object data="report.pdf" type="text/unicode" width="1" height="1">
        <param name="src" value="<%= gv_download_url %>">
        Ihr Browser kann das Objekt leider nicht anzeigen!
      </object>
    </p>
    3.
    <script type="text/javascript">
    function pageLoaded(){
    var myFrame = document.createElement("iframe");
    var src = document.createAttribute("src");
    var height = document.createAttribute("height");
    var width = document.createAttribute("width");
    src.nodeValue = "<%= gv_download_url%>";
    height.nodeValue = "600";
    width.nodeValue = "800";
    myFrame.setAttributeNode(src);
    myFrame.setAttributeNode(height);
    myFrame.setAttributeNode(width);
    var output = document.getElementById("Bereich");
    output.appendChild(myFrame);
    document.close();
    </script>
    <div id="Bereich"/>
    <iframe src="about:blank" onload="pageLoaded()" height="0" width="0"/>
    The only working way I know is this one:
    <script langugage="Javascript">
      var win = window.open("<%= gv_download_url%>");
    </script>
    But I always end up with an empty browser page open, whicht the user has to close manually.
    <i>Short: URL is good, file data is good. How do I get the file download dialog without freezing WebUI?</i>
    Any help would be highly appreciated. Thanks in advance.

    Had the chance to test it in IC WebClient on CRM4.0 today. Everything works fine.
    It seems to be really WebUI specific then. Suppose some missed JavaScript event, that triggers the "Please Wait"-Icon.

  • Acrobat Connect Pro LMS 7.5 server cache issue - displaying old content

    Our Adobe Acrobat Connect Pro server is showing old Captivate-created content from about 4-6 weeks ago.
    I loaded 35+ sets of Captivate 3 (SCORM 1.2, HTML, zipped) content onto our Acrobat Connect Pro LMS about 6 weeks ago.
    I converted all training content from Captivate 3.0.1 to 4.0.1, 4 weeks ago by opening each file in Captivate 4 and following prompts to "Save As" new files with different file names.
    I reloaded all content 4 weeks ago, and again 2 weeks ago.
    I reloaded about half of all content again last week.
    End User Acceptance testing performed this week showed that most of the courses are showing old content, ranging from 2-6 weeks old
    Attempted fixes and workarounds:
    Deleting content entirely and reloaded from scratch - this will not work long term, as we lose usage data each time we reload completely new files.
    Contacted Adobe, provided times to track incidents of the issue.  We reached Tier 2 - who told us it was our problem and that everything appeared to be working fine from their side.
    New workaround - load new content and reattach course to new content.  This presents the same long term issue as the first workaround, but enables us to retain older versions of content in the system, should we need to revert or report on it.
    Gaining server side access is a bit challenging due to the hosting situation we have, so I am looking (ideally) for a solution that can be performed from the Administrator/Author Frontend.  However, I want to learn the real cause of the problem, wherever it might reside, so that it can be properly corrected and avoided in the future.  I am calling this a server cache issue, as it seems the server has somewhere retained unwanted old versions of content, preventing current content from being displayed to end users.  Viewing content as an end user = see old content.  Viewing content from the Content area (Author view) shows the current files, so I know they are on the server and are loading correctly, up to a point.
    I am preparing all content for another round of loading/reloading due to other issues and updates, so republishing and reloading all 35+ files into the LMS is unavoidable at this point.
    This issue is keeping our LMS from launching to several thousand users across the country, so any suggestions or helpful tips are much appreciated.

    I think I have isolated the source of this problem. It's the Pitstop Professional 9 plug in. I un-installed this, and everything opens quicker than greased lightning. I re-installed it and it's back to slowsville.
    Unfortunately Pitstop is essential to my workflow.
    Until recently I did my pre-press on a Mac G5 with Acrobat Pro 7 and Pitstop 6.5. I never had this problem with slow file opening. But it seems that the delays would occur when I used the plug-in with large complex files.. So it would open files as fast as you'd expect from an elderly machine. But starting to use Pitstop would result in a prolonged period of staring at a spinning beachball.
    I wonder is there any way to stop the Pitstop plug-in from initializing until it is used? So the plug-in stays inert until you select the tool from from the menus.

  • Image provided in server cache does not appear in Excel download

    Hello WD Experts!
    I have a Web Dynpo (ABAP) ALV table with material master data. One column contains the image of the product or a "sorry, no picture" image, if no specific material image exists.
    The images are not available as MIME objects, hence I load the images from an external source and push them into the server cache using the method cl_http_server=>server_cache_upload( ... ). The lifetime for the cache is defined with 600. The "sorry, no picture" -image is a MIME object.
    All works fine... except for the download to Excel. Only the "sorry, no picture" -image appears. The others gets replaced by a placeholder icon which looks similar to those frequently seen in emails or slow web pages.
    Why don't the cached images get downloaded to Excel???
    Best Regards
    Bodo

    I would imagine this is a limitation of the Excel converter functionality within the ALV. It is probably designed to only download images that come directly from the MIME repository.  The logic between the two approaches would be very different.  Images in the MIME repository can be read from the database using the MIME APIs. To read the images from the Server Cache, the ABAP program would have to make an HTTP request to the cache (using CL_HTTP_CLIENT).  I'm guessing the convert logic simply doesn't do this.
    The other option is - is your lifetime high enough? 600 seconds seems like it would be long enough - at least for a test - there is no guarentee that in a real application the user might not display the data for more than 10 minutes before downloading. Probably not your problem, but something you might still consider if you get this working.
    My only suggestion is that you would have to create your own excel conversion instead of using the ALV one.

  • Serve Cache Issue

    Hi buddies,
    I have been made up a download code and I'm using the serve cache functions.
    So, After got my path to the file as you can see below:
    Oninputprocessing:
    cl_http_server=>server_cache_upload( url      = display_url
                                              response    = cached_response ).
    I left in my current screen two ways to get the file, one of them is through the link directly to the file using the code below:
    <htmlb:link id      = "ID_DOWNLOAD01"
                        text          = "Click Here!"
                        reference     = "<%=display_url%>"
                        target        = "_BLANK"/>
    The other way is through the onLoad event, I'm calling a javascript function that contain the window.open statament.
    Well, If i click to the link "Click here" a auto popup screen shows me up to accept the file. But when I use the window.open at the onLoad event, the screen open and close without let me get the file. Both way lead me to the display_url path that I got from the serve cache. By the way I've trying absolute and relative path.
    I've trying to using window.location.href to get the file in the same screen, but this one mess with my application.
    Any idea how can I make this file available?
    Thanks in advance,
    Alex

    do not call the js function in onload instead call like below
    <% IF not display_url IS INITIAL.
          %>
          <sc ript lang uage="Jav ascript">
            wi ndow .op en("<%= display_url%>");
          < / scrip t>
          <%
      ENDIF.
          %>

  • ICM Server Cache

    Hello,
    I'm using SAP ERP 2005 : ECC 6.0 with AS JAVA, ABAP and EP
    I have create a BSP IView in my Portal to access an BSP application in SAP ERP 2005.
    When I test it, the IView open too many sessions.
    In my dev_icm log I have too many of this line :
    [Thr 8156] Mon Nov 20 10:40:44 2006                                                                               
    [Thr 8156] ISC: can't compute cache key (rc=3)                                                                               
    [Thr 4704] ISC: can't compute cache key (rc=3)                                                                               
    [Thr 8316] ISC: can't compute cache key (rc=3)                                                                               
    [Thr 9820] ISC: can't compute cache key (rc=3)                                                                               
    [Thr 4044] ISC: can't compute cache key (rc=3) 
    I have configure the SSO.
    What is the error with the ICM Server Cache  ?
    Thank you for your help.
    Mathieu

    Hi Mathieu,
    if you haven't done yet, please have a look at SAP Note 532050 and 975004. Perhaps they will solve your problem.
    Regards
    Bernd

  • Sql server cache file

    I dont understand what is this cache file and its size goes on increasing.Could somebody tell me in detail what is this cache file and what is use of this

    Hi sunj15,
    Are you referring to the cache files located in the TEMP directory such as machine-name_instance.SQL-Server-name_{49268954-4FD4-4EB6-AA04-CD59D9BB5714}_#.cache?
    If that is the case, these cache files are created by data collection functionality of SQL server. SQL Server Management Data Warehouse (MDW) provides two ways of collecting data: Cached mode and Non-cached mode. Cached mode stores the Collection Set data
    in a .cache file in the cache file directory which is uploaded to the MDW database based on the schedule that you defined for your Collection Set.
    When the .cache files become very large, we can perform the following steps to solve the issue.
    1. Change the Server Activity collection to non-cached.
    2. Increase the collection frequency.
    3. Modify the sp_purge_data stored procedure for the purge job to run faster.
    Besides, for other type of SQL Server cache, please review this
    blog.
    Reference:
    SQL Server 2008 Management Data Warehouse
    Cache files–Why are you increasing in size?
    Thanks,
    Lydia Zhang

  • WD ALV: Image in server cache does not appear in Excel

    Hello WD Experts!
    I have a Web Dynpo ALV table with material master data. One column contains the image of the product or a "sorry, no picture" image, if no specific material image exists.
    The images are not available as MIME objects, hence I load the images from an external source and push them into the server cache using the method cl_http_server=>server_cache_upload( ... ). The lifetime for the cache is defined with 600. The "sorry, no picture" -image is a MIME object.
    All works fine... except for the download to Excel. Only the "sorry, no picture" -image appears. The others gets replaced by a placeholder icon which looks similar to those frequently seen in emails or slow web pages.
    Why don't the cached images get downloaded to Excel???
    Best Regards
    Bodo

    Has to be programmed manually because WD ALV does not read from server cache

  • Where is the WL server cache

    Hi,
    Wanted to know where is the WL server cache in WL 10.3 ....in 8.1 it used to be in .wl_donotdelete.........
    Thanks

    There is a cache directory into your_domain/servers/some_server/
    I hope you are looking for it.

  • Any relationship between bi server cache and bi presentation service cache?

    If I disable the bi server cache from the EM and the physical table's cache is also disabled, will bi presentation service's cache still work?
    I found that,after doing that I can't get the ns*xxxx.tmp file at all :(. Or any other reasons I can't cache the presentation services layer's cache?
    br.
    /michael

    Presentation server is the dashboard tool, it create HTML page and its cache is then an HTML cache. It retrieve an HTML page of the dashboard if the page is not really old.
    More ...
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_cache_presentation_service
    The BI server retrieve the data from several data sources and give them to the presentation server. Then the BI server cache is a data set cache. It store the result of the SQL and don't ask again to the data source (database for instance).
    More ...
    http://gerardnico.com/wiki/dat/obiee/bi_server/cache/
    Cheers
    NIco

  • Operations that leads to clear server cache

    Hi,
              i want to know what are all operation that lead to clear server cache & Database cache
    Thanks in advance

    --Clear whole SQL Server plan cache
    DBCC FREEPROCCACHE
    GO
    --Clear SQL Server plan cache for a specific database
    DBCC FLUSHPROCINDB (<dbid>)
    GO
     Following operations will  flush the entire plan cache and new batches will require new plans.
    Detaching any database
    Upgrading any database to compatibility level 90 or above on SQL Server 2005 or above
    Running ALTER DATABASE ... MODIFY FILEGROUP command for any database
    Running ALTER DATABASE ... COLLATE command for modifying collation of any database
    Altering a database with any of the following commands will remove all plans cached for that specific database.
    ALTER DATABASE ..... MODIFY NAME
    ALTER DATABASE ..... SET ONLINE
    ALTER DATABASE ..... SET OFFLINE
    ALTER DATABASE ..... SET EMERGENCY
    The following operations will also remove cached plans for a specific database.
    Dropping a database
    Database is auto closed
    refer :
    http://www.mssqltips.com/sqlservertip/1661/analyzing-the-sql-server-plan-cache/
    Thanks
    Saravana Kumar C

  • Purge Presentation Server Cache

    Hello, I need to purge the user presentation server cache everytime a particular request is refreshed.... is there any way to achieve this?
    Thanks so!
    DrPlexi

    If you have the Usage Tracking and Event Polling Tables setup you could have add a trigger on the Usage Tracking table that fires only for your particular request and inserts a row in the Event Polling Table so that the BI Server purges the cache. Have a look at the Server Administration Guide on how to setup the Usage Tracking and Event Polling Tables.

  • Tuning search server cache settings

    In search cluster manager under WCI Administration utilities in WCI Portal console, we see a warning msgs as below:
    -Docset cache size used does not match the recommended size for this configuration
    -Index cache size used does not match the recommended size for this confguration
    How to tune the search server cache settings?

    Actually, I think these configurations should be done (in WCI 6.5 or higher) in the configuration.xml located in /alui/settings.
    See Search Service Will Not Start, Token Count Exceeds Default Threshold [ID 879512.1]
    Contents in the file
    <component name="searchserverinternal" type="http://www.plumtree.com/config/component/types/searchserverinternal">
    <setting name="RFINDEX">
    <value xsi:type="xsd:string">index</value>
    </setting>
    <setting name="RF_CLUSTER_HOME">
    <value xsi:type="xsd:string">../alui/ptsearchserver/6.5/cluster/</value>
    </setting>
    <setting name="RFPORT">
    <value xsi:type="xsd:integer">15250</value>
    </setting>
    <setting name="RF_DOCUMENT_TOKEN_CACHE_SIZE">
    <value xsi:type="xsd:integer">250000</value>
    </setting>
    <setting name="RF_SPELL_TOKEN_CACHE_SIZE">
    <value xsi:type="xsd:integer">50000</value>
    </setting>
    <setting name="RF_MAPPING_TOKEN_CACHE_SIZE">
    <value xsi:type="xsd:integer">2500</value>
    </setting>
    <setting name="RF_INDEX_CACHE_BYTES">
    <value xsi:type="xsd:integer">78643200</value>
    </setting>
    <setting name="RF_DOCSET_CACHE_BYTES">
    <value xsi:type="xsd:integer">26214400</value>
    </setting>
    <setting name="RF_TOKEN_LEXICON_REBUILD_LIMIT">
    <value xsi:type="xsd:integer">[INCREASED VALUE]></value>
    </setting>
    <clients>
    <client name="searchnode01"/>
    </clients>
    </component>

  • Server cache settings

    Hi Experts,
    Where can i find out the properties of iviews like..
    whether iview is using server side caching and server caching time out and iview server related properties.
    Any help would be highly appreciated.
    Regards,
    Karthick

    Hi Karthick,
    The following retrieves the settings that determine:
    whether the iView can be cahced on the client (browser)
    whether the iView is cached on the server
    how long the cache is valid for
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    InitialContext iCtx = null;
    String iView = "portal_content/DanielContent/Corporate";
    try {
        iCtx = new InitialContext(env);
        IiView myIview = (IiView)iCtx.lookup(iView);
        response.write(myIview.getAttribute(IAttrPcmLaunch.ATTRIBUTE_ALLOW_BROWSER) + "<BR>");
        response.write(myIview.getAttribute(IAttrPcmLaunch.ATTRIBUTE_CACHING_LEVEL) + "<BR>");
        response.write(myIview.getAttribute(IAttrPcmLaunch.ATTRIBUTE_VALIDITY_PERIOD) + "<BR>");
    catch(Exception e) {
        response.write ("SYSTEM: error in binding"+ "<BR>" + e.getLocalizedMessage() + "<BR>"+ e.getMessage() + "<BR>"+ e.toString() + "<BR>");
    Hope this helps.
    Daniel

Maybe you are looking for