Caching in OBIEE/OBISE1

Here is list of my research that corresponds to the Caching issue in OBISE1 well its similar to OBIEE atleast in this aspect,this list pretty much covers caching that can occur different levels.I would suggest to start one by one and see how caching is corresponding in the Dashboard and please do contact me if you need further help
A.Cache Management
For this release of the OBIEE, if you run an initial or incremental load without first
clearing the query cache, it is possible that reports that you run after the load process will reuse the cache that existed prior to the load process. This can result in inconsistencies between reports. There are several alternatives to mitigate this situation,
such as:
• Configure the query cache to expire daily.
• Clear the cache tables manually as needed; for example, after you complete a load process.
• Schedule the system to clear the cache tables at the same frequency as the
incremental load process.
To clear cached queries:
1. Open the Oracle BI Administration Tool in online mode.
2. Click Manage, Cache to access the Cache Manager page and select all cache entries.
3. Click Action, Refresh.
To disable the cache:
1. Locate this configuration file: <root
directory>\OracleBI\server\Config\NQSConfig.INI.
2. In the Query Result Cache Section, change the [ CACHE ] setting from ENABLE =YES; to ENABLE = NO;.
3. Save the NQSConfig.INI configuration file and restart the Oracle BI Server service.
See: Oracle Business Intelligence Server Administration Guide, "Query Caching in the OracleBI Server" chapter for more information on query caching in OBIEE.,
B. After running an Answers report, check the SQL NQQUERY.log (on Windows, usually located in, :\OracleBI\Server\log\)
TIP:
Turn off caching in the NSQConfig.ini (and restart the server service) or at the physical table level in the .rpd, to ensure you get the un-cached results, and can therefore see the SQL being generated each run, or drill down in Answers.
C.Found this in documentation(if using OBISE1,for OBIEE refer to OBIEE documentation on CACHING)
http://download-west.oracle.com/docs/cd/B40078_02/doc/bi.1013/b31770.pdf
all about caching in OBISE1
But important thing to note is that Caching occurs at different levels
Server (NQSConfig file ,look for ENABLE parameter)
Administration(if you click on the TOOL in the MENU bar ,there you would some options related to OBJECT in the physical layer )
OBIEE Dashboard Query level (in answers when making the ad-hoc query ,there is a check box which can checked or unchecked depending on whats desired in terms of caching).
This is to the best of my Knowledge but please free to add some more details if you feel If I missed something.
Four logs to check are as follows
NQServer.log
NQQuery.log
NQSAdminTool.log
NQScheduler.log
I hope this covers some ground as to Caching in OBISE1/OBIEE
Thank you,
Mohammad Alam

Hi Mohammed,
Thank you for the VERY thorough and useful digest of OBIEE Caching!
We've found that caching to be less-than-satisfactory. We've enabled caching at the NQSConfig level, and set the max time out to 5 minutes, but for some reason our users are not seeing data refreshed.
For example, we have a report that shows Sales Order shipments. The order status can go from "Booked" to "Picked" to "Shipped" all within 1 day. However, the report will show "Booked" when the transaction actually has been "Picked".
I've tried unchecking By pass server cache in the report's Advanced tab, but to no avail.
Any suggestions or comments? Our current workaround is NO caching at all.
irene

Similar Messages

  • Oracle Web Cache and OBIEE 11g

    Anyone using Oracle Web Cache with OBIEE 11g?
    Can I get an insight into whether this solution is beneficial? Or I shouldn't even bother.

    No iam not using oracle web cache
    Can I get an insight into whether this solution is beneficial? Or I shouldn't even bother.I dont have idea about it,but i think its not beneficial ,anyways there is OBIEE cache that is more than sufficient.
    hope answered your question.
    Cheers,
    KK

  • Caching in OBIEE

    Hi everyone,
    This should be an easy question.
    I know there are two levels of caching in OBIEE: the Presentation Server level and the BI Server level.
    I made a report that shows the last time the warehouse is refreshed, and I want to ensure that it's always accurate (i.e. it should never cache the results).
    My question is this, how do I force the report to always refresh based from the data in the database?
    The data for the report is stored in an AUDIT table in the database. In the RPD, I set that table, and its corresponding dimensional table as not cachable (unchecked the "Cacheable" box). That should stop the BI Server from caching.
    Will the Presentation server still cache the report? Or does it also know not to cache it since I set the physical table to not cache?
    Thanks for the help!
    -Joe

    You have done the BI Server part. Now for the presentations server part, go to report advanced tab (in answers) and check the 'bypass ps server cache' box.
    You can also place some script in dashboard to auto refresh page.

  • Turn off Cache in OBIEE

    Hi,
    I am seeing some issue with cache -
    Is it possible to turn off cache for all reports in OBIEE.
    Or
    Is it possible to purge cache automatically from RPD and from answer?
    Thanks,
    Poojak

    Hi ,
    You can diable the cache in NQSCONFIG.INI file.
    You can purge the cache from the answer
    http://bintelligencegroup.wordpress.com/2011/01/06/how-to-purge-the-cache-from-dashboard/
    and also from rpd manage -->cache you purge
    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,
    Ananth

  • How to seed n clear cache of obiee

    Hi,
    Is it possible to seed n clear cache of obiee 10g using pl/sql code? wht are other method except ibot to seed cache?
    ETL is based on pl/sql..so how to manage cache after etl load?
    Thanks,

    OBIEE has NQCMD utility to handle the cache best. Use this utility to Purge & Seed the cache. You will have to copy the report sql which you want to seed into a text pad and use that as source to NQCMD utility to run query and populate the cache entry.
    Purging is very easy here...and same goes for seeding.
    Like SeedTableCache.txt which will have your SQL scripts. Once this is used via NQCMD which can be scheduled using Job Manager or any other job.
    nqcmd -d AnalyticsWeb -u Administrator -p Administrator -s c:\obiee\SeedTableCache.txt
    Refer
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
    Hope this helps

  • How can i delete cache in obiee

    Hi all,
    How can delete cache in Obiee

    We can delete Cache in OBIEE:
    1.Go to UI-Settings > Manage Session > Close all Cursors
    2.Go to Backend :Admin tool(rpd) > Manage > Cache > Action > Purge
    3.On the Config File:NQSConfig.INI file(OracleBI\server\Config) set ENABLE = NO under Cahce section.
    4.You can see the Link:http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_QueryCaching.html
    thanks vel

  • How to enable OHS compression/cache for OBIEE

    Hi i have installed OHS (11.1.1.7) and webcache on OBIEE 11.1.1.7. Does any one know how to enable/configure compression/cache for OBIEE analytics? Also how to validate if compression is working?

    Hi Anke,
    all tables that have been created in V9.7 with attribute COMPRESS YES will be compressed statically .
    db2 " select count(*) , rowcompmode from syscat.tables group by rowcompmode "
    After the upgrade to 10.5 all tables created with attribute COMPRESS YES will get rowcompmode='A' but old tables created with V9.7 will stay with rowcompmode='S' .
    You can change tables from  rowcompmode='S' to rowcompmode='A' via  ALTER TABLE . After this all new pages or old pages that are touched will be adaptively compressed. But old pages that are not touched will only be static compressed. To get all pages of an existinbg table adaptive compressed you need to move data. For example with DB6CONV.
    Regards
                   Frank

  • Cache in OBIEE 11g

    Hi,
    I have a sql query which gets generated after running a analysis (Report) which has prompts defined above it.
    Like select a,b,c from DB1 where year = "2011" and Month = "July"
    Now if i use IBOTS to cache this analysis then it only caches till the select statement but not the where condition.
    I have obiee installed on Linux Box and hence to cache the complete sql generated after the report run, i need expert opinion.
    Thanks in Advance for your support.
    Regards,
    Rahul

    All these methods will only work if you have the filters there OR u r trying to cache a page with same dashboard prompt.
    But incase you know abt specific prompt values then u can write sql and use it to seed cache via nqcmd utility.
    Hope it helps

  • Purging the Cache in OBIEE 10.1.3.4 on Linux

    Hi,
    I was trying to purge the cache from linux using ./nqcmd . Following is the error faced
    *./nqcmd: error while loading shared libraries: libnqsgenericodbcinterface.so: cannot open shared object file: No such file or directory*
    I have checked for the libnqsgenericodbcinterface.so in usr/lib directory. Its not present there. Is this the Obiee specific library file? Should it be present in usr/lib during the Installation?
    Is there any work around for the same?
    Thanks in advance.

    Hi Ravi,
    There might be some environment setup issues here.
    Can you try running
    /oracle/product/OracleBI/setup/common.sh
    /oracle/product/OracleBI/setup/sysenvinit.sh
    and see if the command runs fine later? I remember seeing this kind of case earlier and hence would like you to try
    Hope this helps.
    Thank you,
    Dhar

  • Caching in obiee 11g

    My requirment has an executive dashboard which has 30 reports on it.This dashboard can be accessed by 1000 users.
    My requirment here is when the users open the dashbard page it has to hit the cache and the reports in the dashboard should appear immediatley without taking time.The cache also should be updated daily.
    My first queation here is:
    1) we dont have any prompts or data security .The report data is same whoever opens the report.So is it fine if we use ibots to clear the cache daily and run the reports for a user and if anyother user opens the dashboard since it is the same reports will hit hit the cache or not?
    2) when i tried its not hitting the cache when a different user opens it.Is there a solution where there is a group level cache and users in that group hits the same cache entry.

    1. Yep, fine to use IBots to clear / re-seed the cache.
    2. I would check - can you validate if caching is working at all? You mentioned there are no filters or any type of user security turned on, so I don't understand why the queries wouldn't be cachine. Probably best to turn the logging level up to 5 for a couple of users and ask them to hit the dashboard, then take a look at the logs and see if things are getting cached (and if not, hopefully why). It seems like in a simple environment with no filters and/or security that it should be hitting the cache (if caching is indeed properly working).
    One other quick check for caching - just go in to the BI admin tool and see if cache entries are showing up there.
    Hope this helps,
    Scott

  • Purge Cache in OBIEE 10g using IBOT

    Hi All,
    I follwed the below steps to purge cache.
    Created below java script.
    var nqCmd = “D:\\OracleBI\\server\\Bin\\nqcmd.exe”;
    var dsn = “AnalyticsWeb”;
    var user = “Administrator”;
    var pswd = “SADMIN”;
    var tempInFileName = “D:\\SQL.txt”;
    var tempOutFileName = “D:\\Output.txt”;
    var wshShell = new ActiveXObject(“WScript.Shell”);
    var dosCmd = nqCmd + ” -d \”" + dsn + “\” -u \”" + user+ “\” -p \”" + pswd + “\” -s \”" + tempInFileName + “\”" +” -o \”" + tempOutFileName + “\”";
    try
    wshShell.Run(dosCmd, 0, true);
    catch(e)
    throw e;
    2. created a file SQL.txt in D drive with contents.
    {Call SAPurgeAllCache()};
    3. created an IBOT with advance tab:
    using custom script.
    I run the ibot imideately. but still my cache is not purging.
    If i m missing any steps.?

    Hi,
    Please copy the below script and save it c drive location.
    var nqCmd = "C:\\OracleBI\\server\\Bin\\nqcmd.exe";
    var dsn = "AnalyticsWeb";
    var user = "Administrator";
    var pswd = "Administrator";
    var tempInFileName = "C:\\SQL.txt";
    var tempOutFileName = "C:\\Output.txt";
    var wshShell = new ActiveXObject("WScript.Shell");
    var dosCmd = nqCmd + " -d \"" + dsn + "\" -u \"" + user + "\" -p \"" + pswd + "\" -s \"" + tempInFileName + "\"" +" -o \"" + tempOutFileName + "\"";
    try
    wshShell.Run(dosCmd,0,true);
    catch(e)
    throw e;
    Note: While save this file plz give name like purge.js then it will store js format then create ibot and go to advance tab --> select Custom Script --> give name like purge.js then run the ibot .
    Follow the below steps.
    1. create one note and put the query inside the note pad like below and save file name is SQL.txt.
    {Call SAPurgeAllCache()};
    Save this file is C drive location.
    It will purge all the cache.
    Hope this help's
    Thanks
    Satya

  • OBIEE 11g: how to automate browser clearing cache

    Hi,
    We upgraded OBIEE 10g to 11g the implementation includes EBS SSO ( which works in 10g).
    the SSO functions OK meaning when we login from ERP Bussiness selection responsibilities to the OBIEE dashboard page we can access it and the login succeed.
    The thing is that when we change the responsibility to another responsibility the Application role of the user does not updated and the old role ( the user get again the first role that was assigned in the first login ) meaning the role was not changed with the new responsibility.
    I think that browser cache find OBIEE session and connect to the session without call /* valueof(NQ_SESSION.ACF) */ APP_SESSION.validate_icx_session('valueof(NQ_SESSION.ICX_SESSION_COOKIE)')
    So, to automate browser clearing cache ?
    Thank you

    Thank you Veeresh,
    I think this situation is due to a feature of Weblogic
    "+The browser caches user credentials and frequently re-sends them to the server automatically. This can give the appearance that WebLogic Server sessions are not being destroyed after logout or timeout. Depending on the browser, the credentials can be cached just for the current browser session, or across browser sessions.+"
    [http://docs.oracle.com/cd/E23943_01/web.1111/e13711/thin_client.htm#i1033402].
    I understand the advantage that helps to not make the login process more unnecessary. But I have to disable the feature, otherwise the end-user will not be able to change permission on BI /ERP responsibility and will have totally close the browser. The question is how to disable it (Weblogic feature) ?
    Thank you,
    Ark

  • Obiee 10g - schedule to clear cursor cache

    hi, experts, I applied the command line to clear cache.
    I found that it only clears cache at bi server level (cache entries in rpd).
    it does not clear the cursor cache (those are viewed in Web , Manage Session)
    can I set any schedule to clear cursor cache?

    Hi,
    OBIEE Cursor Cache clear from Dashboard Java Script
    OBIEE Cursor cache is normally cleared from the Administration - Manage Sessions Screen...
    Here is a way that a piece of java can be embedded into a dashboard and call an xframe so you cant see it being called and clear the OBIEE Cursor cache - Presentation cache in effect.
    1. Just insert a text box into Dashboard - Tick the "Contains HTML Markup"
    2. Paste the script below into the text box
    <script language="javascript">
    document.write(
    "<iframe width=0px height=0px src=" +
    document.location.href.match(/^[^?]+/) +
    "?ManageSessions" +
    document.location.href.match(/&_scid=[^&]+/) +
    "&Action=CloseAllCursors&Done=saw.dll%3fSessions',{ensureFreshUrl:true});return false;')></iframe>"
    </script>
    Voila - when ever you click on the dashboard or refresh it the cursor cache will get cleared.
    Please refer the below links for more information on this.
    What Is Presentation Services Cache In Fact?
    http://prolynxuk.com/blog/?p=496
    how to seed n clear cache of obiee
    http://obiee101.blogspot.in/2008/03/obiee-manage-cache-part-1.html
    How to clear the cache daily automatically
    http://obiee10grevisited.blogspot.in/2012/02/cache-in-obiee.html
    Award points it is useful.
    Thanks,
    Satya

  • Firefox Browsing caching issues when using OBIEE

    We have experience a problem when using Firefox. It seems the browser caches the results, of an analysis for example, and even though we have made changes to the data, flushed the OBIEE cache, we still see older results because the older results were cached in the browser. We have to go to options -> history -> clear recent history to get the new results. (And sometimes this doesn't seem to do the trick.)
    Anybody else seen this problem or have a resolution?
    Thanks,
    Brian

    There are different caches in OBIEE. Probably you hit stale entries in "Presentation Server Cache".
    This can be controlled by adding the following to your instanceconfig.xml
    <CacheMaxExpireMinutes>5</CacheMaxExpireMinutes>
    see also here:
    http://obiee101.blogspot.ie/2008/11/obiee-presentation-services-cache.html
    or here:
    http://unleashobiee.wordpress.com/2011/01/12/purging-obi-server-and-presentation-server-cache/

  • 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

Maybe you are looking for