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.

Similar Messages

  • Difference between Presentation Server Cache and BI Server Cache

    Hello Experts,
    What is the Diff b/w Presentation Server Cache and BI Server Cache
    Thanks,
    S Gouda

    Hello,
    Okay, what do you want to do about caching at BI server and Presentation server.
    A nQSXXXX.tmp is a temporary cache file which maintained by the BI Server for an analysis request by a user and is kind of shared data between the OBI Server and the OBI Presentation server. This is refereed as the 'Cursor Cache' which could be managed by going thru Administration> Manage Sessions > Clear Cursor Cache.These .tmp files are it is not related to BI Server cache.
    By Default, the BI Server Cache is stored in the and stored as NQSxxxxx.tbl files. [middlware_home]/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/cache]
    Caching occurs by default at the subrequest level, which results in multiple cache entries for some SQL statements. Caching subrequests improves performance and the cache hit ratio, especially for queries that combine real-time and historical data.
    Below are some useful links for cache management in OBIEE 11g.
    http://oraclebisolutions.blogspot.com/2013/02/obiee-11g-obi-server-and-presentation.html
    http://drazda.blogspot.com/2012/10/obiee-11g-cache-management.html
    http://allaboutobiee.blogspot.in/2012/03/cache-management-purging-cache.html
    Pls mark itf this helps. Else post the exact questions you have about this post.
    Thanks,
    SVS

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

  • Purging Application server cache in 8.43

    Hi,
    how to purge Application server cache in 8.43 ?
    Thank you.

    I never encountered any kind of issue by removing the CACHE directory.
    I just tested it out on an old PT version (8.22) as well as more recent (PT8.48), and the CACHE directory is recreated on the appserver startup.
    And not only on appserver start, but the application server itself recreate this folder when it is needed if in any case you dropped the folder online - when the appserver is already started and not bounced.
    Nicolas.

  • Purging Presentation Services Cache

    Hi All,
    Do we have any mechanism to purge the Presentation Services Cache manually like we do for BI Server cache at the time of updating database tables?
    Thanks,
    -Vency

    Vency,
    Are you implying that there are separate caches for presentation services and the bi server? If so, that may explain some of the strange caching issues I'm seeing.

  • Presentation server cache

    Hi guys
    How can i clear presentation service cache manually ?
    regards

    Navigate to Administration ==> Manage Session, here you will find a button named Close All Cursors. Click it to Purge the Presentation Services Cache.
    Note: It will purge all the cursors cached in it.

  • Presentation Server (Web) Cache  Size

    Hi ,
    Where one can define the SIZE of Presentation Server (Web) Cache?
    Thanks
    ~ Ash

    See =>
    http://hekatonkheires.blogspot.com/2010/02/obiee-10g-presentation-server-cache.html
    Useful?
    R.

  • What Is Presentation Services Cache In Fact?

    I have searched on this forum and on BI blogs but don't understand the concept of a presentation services cache clearly.
    At first let tell what I need.
    I have a dashboard page with prompts and report. From this report I navigate to another dashboard page with reports and several promts that have to be initialized with values from previous dashboard page. The navigation is based on PortalPageNav() function.
    I created table in DB, PL/SQL function , through EVALUATE I passed parameters to PL/SQL function and wrote its into DB table.
    Then I added this table in RPD and on Presentation Layer.
    In Answers I get correct results.
    Then I initialize the default values of prompts on a second dashboard page through 'SQL Results' and type something like this:
    SELECT "Parameters"."Value" FROM "BO" WHERE "Parameters"."Name"='Param1'
    1. I login and go to first dashboard page, change prompts, run report then navigate to second dashboard (it opens in new window). All prompts initialize correctly.
    2. I open window with first dashboard page change prompts, run report then navigate to second dashboard again. And I see the previous values in prompts. But in a DB table I see new values.
    There 2 ways for deciding this problem
    1. By clearing cursor cache:
    answers - administration- manage session - close all cursors
    or
    answers - administration- manage session - choose appropriate cursor and close it
    2. By reloading second dashboard page
    All ways are not convenient or user friendly.
    BUT I NEED IN AUTOMATIC CLEARING OR NOT CACHING SOME PROMPTS!
    I cant't write in a user's guide - for correct work you have to login as Administrator and clear cursor cache every time after changing prompts on first dashboard page or reloading second dashboard page :)
    I became research this issue.
    1. BI Server Cache is turned off through NQSConfig.ini
    2. I began read a lot of info about Presentation Services Cache:
    1) John Minkjan blog - [http://obiee101.blogspot.com/2008/11/obiee-presentation-services-cache.html]
    I need no turn Presentation Services Cache or disable it.
    2) [http://businessdecisionsystems.com/blog/?p=122] this article give us info about storing log records but there is no info about clearing cursors.
    3) [http://hekatonkheires.blogspot.com/2010/02/obiee-10g-presentation-server-cache.html] good article about physical storing of presentation services cache but I didn't find any info on clearing some cursors
    4) Nico in a blog write [http://gerardnico.com/wiki/dat/obiee/html_cache#clear_the_presentation_server_cache_without_stopping_and_restarting_the_services] that Presentation Services Cache is a HTML cache but he don't say how clean the entries without clicking on 'Close All Cursors' button.
    5) In this topic presentation cache refresh in prompt the same problem and no answer :(
    6) The user10203008 in a topic To pass new session variable value to stored proc before running a report. has the same issue but all advices about BI Server Cache. He found solution but it is disable whole Presentation Services Cache. I need clear ONLY SOME CURSORS.
    So, I have a answer!
    DOES ANYBODY KNOW WHERE IS STORING DATA ABOUT CURSORS ON A PAGE ANSWERS - ADMINISTRATION - MANAGE SESSION ?
    May be somebody knows a developer of Siebel Analytics or may be he is on a forum and tell us how realized a clearing some cursors in a automatic mode?
    Edited by: AnTonic on Jan 28, 2011 7:17 PM
    Edited by: AnTonic on Jan 28, 2011 7:18 PM
    Edited by: AnTonic on Jan 28, 2011 7:20 PM

    I found a solution.
    I decide to emulate a pressing button 'Refresh' at the end of a page. So I look at a html code of Dashboard page and found a corresponding javascript function. It is RefreshPage('saw.dll?Dashboard&PortalPath=<PortalPath>&Page=<PagePath>')So I trying to create a text box with HTML Markup option and enter RefreshPage on onload() function. But then I got a cycle: open dashboard page -> onload() -> RefreshPage() -> onload() -> RefreshPage() -> ...
    So I decide to find a code of this function. The function code is in %SAROOTDIR%\web\app\res\b_mozilla\dashboards\portalscript.js
    // force cache refresh
    function RefreshPage(sCmd)
       var viewStateDiv = document.getElementById("idViewStateDiv");
       if (viewStateDiv)
          sCmd += "&Action=RefreshAll";
          sCmd += "&ViewState=" + viewStateDiv.getAttribute("stateID");
          sCmd += "&StateAction=samePageState";
       window.location.replace(sCmd);
       return false;
    }We may see that for refreshing page the Action='RefreshAll' is used. So we need pass this Action.
    I wrote in a first post that I was using PortalPageNav() javascript function for navigation. So I created my custom CustomPortalPageNav() function which is based on original PortalPageNav() code with one new parameter 'sAction'. So I pass a value 'RefreshAll' through this parameter and it works!

  • OBIEE 10g: Presentation Cache in Second Instance of Presentation Server

    Hi everyone,
    I've been having an issue with my presentation cache disappearing every couple of minutes.
    I'm working with OBIEE 10.1.3.4, on Oracle Application Server on a Linux RHEL 5.4 32bit. I've spun up a second instance of the presentation service using the commands from RNM1978's blog here (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/). The reason why I have a second instance of the presentation service is for mobile reporting purposes. We have lots of executives using iPhones and the Oracle Business Intelligence Indicators application. The second instance defaults all charts to be PNGs, it also uses a separate, clean catalog, so that the executives don't get lost in all of the out of the box BI Applications content that is in our main catalog.
    Everything is setup and working properly, both presentation services are accessible and use the same RPD but different catalogs. The only thing that isn't working is the presentation service cache. A lot of these reports are QTD or YTD so it takes a few minutes to run some. We were hoping to use iBots to create BI Server cache at the beginning of the day. That seemed to help a bit but it seems to clear after a few minutes.
    Additionally, before we went to do demos to end users, we would run all the reports from a demo iPhone. Go to do the demo and within five minutes, the presentation cache would have already cleared. I confirmed the same by looking in the Session Manager of the second presentation service.
    Does anyone know why this would be happening? I have cache turned on in the bi server and I also have the following settings in my instanceconfigMobile.XML:
    <Cache>
    <Query>
    <CacheMaxEntries>1000</CacheMaxEntries>
    <CacheMaxExpireMinutes>720</CacheMaxExpireMinutes>
    <CacheMinExpireMinutes>720</CacheMinExpireMinutes>
    <CacheMinUserExpireMinutes>720</CacheMinUserExpireMinutes>
    </Query>
    </Cache>
    Are there other settings I need to investigate?
    Is this just additional commands I need to run when launching the additional presentation service? Here's the command I'm using:
    . ./common.sh
    . ./sa-init.sh
    sawserver -c /home/oracle/OracleBIData/web/config/instanceconfigMobile.xml >> /home/oracle/OracleBIData/web/log/sawserverMobile.out.log 2>&1 &
    Thanks!
    -=Joe

    Hi Joe
    I can't say I've tried Robin's technique to run two presentation servers but from my basic understanding of it, both versions will share the same cache as defined in a single nqsconfig.ini file. Maybe these 2 are conflicting somehow?
    I see that a separate instanceconfig.xml is used for each presentation server. I know there are a bunch of advanced, largely undocumented, cache properties you can set in there. I can send you a document listing the various properties if you want to play with it - contact me via my website.
    Paul
    http://total-bi.com

  • 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

  • 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

  • Download File from BSP to presentation server.

    Hi all,
    We have a requirement to Download and Upload a file in Standard BSP application HRECM_BDG_MAINT.
    Flow of the logic is : 
    1.  On click on Download button.  A Save file dialog should come and then user will select the path for saving the file.  Then the internal table sholud be save in excel on the presentation server.
    2.  User will modify the excel file.
    3   on click of upload button again the open dialog should come and then user will select the excel file from the presentation server and then file will be uploaded into the BSP application.
    Note : We are very much clear with the functionality.  Over main concern is to get the file dialog popup on the BSP application.
    Changes in the layout (Download & Upload Button) has been created.
    Actually HRECM_BDG_MAINT call another BSP application HR_ECM_BDG_SRV02.
    Controller class of of page budget_details.bsp (HR_ECM_BDG_SRV02) is CL_HRECM00_BSP_BDG_DETAILS.
    All the button displayed in this BSP page are created at runtime in class (CL_HRECM00_BSP_BDG_DETAILS) in method DO_REQUEST.  We have used enhancement spot and added two more buttons (Download and Upload).
    Now our main problem is to get file dialog popup on the BSP screen when we click on that button.
    Kindly help
    Ankit Gupta

    Hello
    I have a BSP that shows all the client data and generate a file when a boton is push.
    What I need to know is; how can i made that the system generate a file for each client without having the internet explorer pup-up for download each time, furthermore, I want that these files to be located at the local unit C:\.
    The code i have is as follow:
    DATA: fichero TYPE string.
      CONCATENATE 'F' vnomfich '.xls' INTO vnomfich.
    some Browsers have caching problems when loading Excel format
      response->delete_header_field( name = if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires ).
      response->delete_header_field( name = if_http_header_fields=>pragma ).
    start Excel viewer either in the Browser or as a separate window
      response->set_header_field( name  = if_http_header_fields=>content_type
                                  value = 'application/vnd.ms-excel' ).
      CONCATENATE ' attachment; filename= ' vnomfich INTO fichero.
      response->set_header_field( name  = 'Content-Disposition'
                                  value = fichero ).
    finally display Excel format in Browser
      response->set_cdata( data = l_output ).
    do not process Layout, response has been rendered
      navigation->response_complete( ).

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

  • 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

  • Bypass presentation services cache

    For some of my reports, I don't want to use cache entries. How do i achieve this?
    I am trying to use "By Pass Oracle BI Presentation services Cache" in advanced tab. But its not working. Is this same as BI server cache or something else. what is the use of that check box
    thanks

    I think that checkbox lets you bypass the cursor cache (i.e. what you see in Administration > Manage Sessions), meaning the request will always be submitted to the BI server. It does not bypass the server cache though.
    You should be able to achieve that by putting the current datetime or a random number into your report as a hidden column to ensure the request doesn't match any existing cache entry.
    You can also untick the "cacheable" check box on the table(s) in RPD physical layer, if that works for your requirement.

Maybe you are looking for