Questions on OBIEE Cache maintenance

Hi Experts,
I have few questions regarding the OBIEE cache.
1. How to clean the cache ? Is there any method to clean the cache using Unix scripts.
2. Is there any way to call an unix script using the iBots ?
Thanks in Advance.
svr

Hy,
To purge the cache, you have several way :
http://gerardnico.com/wiki/dat/obiee/bi_server/cache/obiee_purging_query_cache
The classic way is to use the ODBC function :
http://download.oracle.com/docs/cd/E12103_01/books/admintool/admintool_QueryCaching6.html
And to insert them in a script :
http://download.oracle.com/docs/cd/E12096_01/books/AnySched/AnySched_Scripts2.html
That you can call with the job Manager.
Cheers
Nico

Similar Messages

  • Questions on OBIEE features.

    Hi,
    I am new to Oracle BI.
    I have few questions regarding OBIEE features, Kindly answer to best of your knowledge, thanks in advance.
    1.     What database types/ sources can the BI pull from?
    2.     Is the license portable from one server to another?
    3.     Are pages, graphs, reports, etc. 508 compliant?
    4.     Is the license portable from one server to another?
    5.     Are pages, graphs, reports, etc. 508 compliant?
    6.     How large a dataset can the BI handle?
    7.     How easily does the BI tool integrate new data to it's database?
    8.     What precautions do the BI use to back up data?
    9.     Level of Effort/ Steps involved to install, upgrade, or maintain BI
    10.     Can the BI be used to create/moderate forums (wordpress or other)
    11.     Can user comments be routed to different mailboxes based on predefined conditions (for example, url or user actions on the page)?
    12.     Does dashboard support embedding flash?
    13.     Are cross-tab capabilities supported in business view, dashboard, and ad hoc queries?
    14.     What type of charts can be created with the BI?
    15.     What is the level of effort/ steps involved to create new tools and widgets?
    16.     Is the BI compatible with Linux/Unix?
    17.     Are end user analytics recorded? (Web trends records, query tracking, page usage, etc.)
    18.     How does the BI handle version control?

    877064 wrote:
    Hi,
    I am new to Oracle BI.
    I have few questions regarding OBIEE features, Kindly answer to best of your knowledge, thanks in advance.
    1.     What database types/ sources can the BI pull from?OBIEE supports many popular databases out there including flat file, xml's as sources.
    2.     Is the license portable from one server to another?No. As far as I know you have to buy the license based on number of servers you are doing the installation on.
    3.     Are pages, graphs, reports, etc. 508 compliant?OBIEE is 508 compliant application.
    4.     Is the license portable from one server to another?Refer to answer for Question # 2.
    5.     Are pages, graphs, reports, etc. 508 compliant?Refer to answer to Question # 3.
    6.     How large a dataset can the BI handle?Depends. You can do performance tuning both on BI server side as well as database to boost up the performance. Caching plays a major role here.
    7.     How easily does the BI tool integrate new data to it's database?Not sure what you are asking here.
    8.     What precautions do the BI use to back up data?OBIEE does not store any data. It only stores the metadata of the tables you are using.
    9.     Level of Effort/ Steps involved to install, upgrade, or maintain BIPretty good documentation out there and many blog posts that should help you ease you through the installation process.
    10.     Can the BI be used to create/moderate forums (wordpress or other)No. OBIEE is not a CMS.
    11.     Can user comments be routed to different mailboxes based on predefined conditions (for example, url or user actions on the page)?Yes.
    12.     Does dashboard support embedding flash?Yes.
    13.     Are cross-tab capabilities supported in business view, dashboard, and ad hoc queries?Yes.
    14.     What type of charts can be created with the BI?Many different kinds. Some of them are:
    Bar
    Line
    Area
    Pie
    Line-Bar
    Time Series Line
    Pareto
    Scatter
    Bubble
    Radar
    15.     What is the level of effort/ steps involved to create new tools and widgets?Not sure what you are asking here.
    16.     Is the BI compatible with Linux/Unix?Yep.
    17.     Are end user analytics recorded? (Web trends records, query tracking, page usage, etc.)Yes. Usage tracking.
    18.     How does the BI handle version control?There are good number of useful tools for version controlling in OBIEE.
    Refer: http://www.rittmanmead.com/2009/01/simple-version-control-for-obiee-using-subversion-visualsvn-server-and-tortoisesvn/
    -Amith

  • OBIEE Cache Purge  in Unix Environment

    Hi,
    We are trying to purge OBIEE cache using unix shell script and purgecache.txt which contains call to SAPurgeAllCache().
    We are using below script
    export MW_HOME=/qa/middleware/
    . $MW_HOME/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/bi-init.sh
    $MW_HOME/Oracle_BI1/bifoundation/server/bin/nqcmd -d AnalyticsWeb -u weblogic -p weblogic1 -s /users/home/test/purgecache.txt
    We are gettting below error message After executing script
    /qa/middleware/instances/instance1/tmp/OracleBIODBCComponent/coreapplication_obiodbc1/obis_temp is not a valid Oracle BItemp directory path
    is it required to call sa-init64.sh ?? Are we missing anything?? What could be another way to purge cache from command line?
    # it is required to run bi-init.sh (UNIX) or bi-init.bat before launching any command line utilities. This sets the environment variables like ORACLE_HOME and ORACLE_INSTANCE correctly. We have used it.
    # Commented sa-init64.sh
    # as it is giving below error
    # syntax error at line 7: `(' unexpected
    Thanks in advance

    You can try this
    Create a text file with a name e.g: say purgecache.txt with below code in it
    Call SAPurgeAllCache() and save the file in /<MW_HOME>/Oracle_BI1/bifoundation/server/bin directory.
    Before running nqcmd, you must first run bi-init.cmd (or bi-init.sh on UNIX) to launch a command prompt or shell window that is initialized to your Oracle instance. You can find this utility in:
    <MW_HOME>/ORACLE_INSTANCE/bifoundation/OracleBIApplication/coreapplication/setup
    Then, run nqcmd from the resulting shell window with the desired options.
    For example:
    nqcmd –d my_dsn –u my_username [-p my_password] –s sql_input_file –o my_result_file
    You can pass a text file with SQL statements to the utility (script mode), or you can enter SQL at the command line (interactive mode). Queries are run against the default subject area, unless the object names used in the query are fully qualified.
    For example to purge BI Server cache run below command
    In windows:
    nqcmd -d AnalyticsWeb -u <weblogic_admin user> -p <weblogic_admin password>-s purgecache.txt
    In Unix:
    ./nqcmd -d AnalyticsWeb -u <weblogic_admin user> -p <weblogic_admin password>-s purgecache.txt

  • OBIEE Cache clear and refresh of reports from DAC

    Hi All,
    I have an existing process where OBIEE cache clear and Dashboard report refresh is happened from DAC.
    But the issue is both do not happen parallely, the both tasks are kept in single text file and they are called from a batch file from DAC. Below is the code
    nqcmd -d AnalyticsWeb -u Administrator -p SADMIN -s D:\OracleBI\server\Bin\PurgeAllCache.txt
    So I want to make them run parellely so that Cache clear and refresh of reports happen parellely. In order to achieve do I need to create seperate batch files or can I manage by changing the above code.
    Please Suggest.

    Can you share the code in the file PurgeAllCache.txt
    There might be some issue with code, make sure you use ';' for each statement.
    or else use 2 files and 2 commands to execute them.
    Pls mark if helps

  • Purge OBIEE cache from ODI

    Hello experts,
    I have ETL running on an ODI server, and OBIEE running on another server (both Windows Server 2008 R2). I want to purge the OBIEE cache by calling a batch file after all the ETL loads are done.
    What would be the best way to accomplish this? Please advise.
    Thanks in advance!

    Hi.
    I hope is not that late to help on this.
    You may try to use the Event Polling table.
    Refer to this: http://gerardnico.com/wiki/dat/obiee/event_table
    You just need to implement an ODI interface to load this table with the proper information to clear the cache (check Gerardnico post to properly insert into the Event Polling Table)
    I spotted one issue with this.
    The attribute UPDATE_TS in this table must be unique or you must guarantee in your ETL that no duplicate datetime will be inserted in this table. This attribute is the key for the Cache Purging. It may sound silly to say that, but if you are using a bulk insert and a variable with the date time information all your records in the Event Polling Table may end with the same date time. This will cause a problem and your cache will not be deleted.
    Cheers.

  • SQL Server 2008 Plan Cache maintenance

    Hi,
    I have a question, please help/suggest me.
    I have a production SQL Server 2008 where there are 4 significant stored procedures running in every 15 seconds(Borwser auto refresh) from different users(100+ users connect to site from diff locations)
    Sometimes there is no data coming from these stored procedures and application is timing out 
    So we are running follwoing queries to resolve the issue in productuion server
    DBCC DROPCLEANBUFFERS, DBCC FREEPROCCACHE
    Now we are planing to keep this as part of weekend maintenance activity, so please advise what are the parameters we have to check and what is best practices to clear cache?
    Thanks,
    Ali

    You can execute sp_recompile to recompile an stored procedure, instead of clear the whole plan cache. sp_recompile does not cause an stored procedure to be recompiled each time it executes. It recompiles just one time, when you execute
    sp_recompile. 
    If you want, you can write a SQL Server Agent Job that calls sp_recompile for each of these four stored procedures.
    Cleaning the buffer cache will not improve performance in any case, It maintains a cache of data, it has nothing to do with plan cache.
    You should investigate why these stored procedure get slow. May be, statistics are stale. You should update statistics and rebuild indexes. It also may invalidate execution plans
    EntityLite: A Lightweight, Database First, Micro ORM

  • Obiee cache

    Hi gurus,
    I am using Obiee 11.1.1.5. Some times in Answers I am getting stale values, like if I apply prompt for a particular year I am getting the results for all the years.
    Later I taught like it might be due to cache, So I cleared the Presentation Server cache after clearing it sometimes i got expected results. In that also even I clear the Presentation Server cache sometimes I didn't get expected results, So, I have to clear the Repository cache manually then I got results.
    So, my question when I fire a query in presentation Services, Is it possible to know whether the fired query hit the database or cache (Presentation server cache or repository cache).
    Please help me on this,
    Regards,
    sai.

    Yes we can know. Using 'Session Management'->View log or NQQuery.log
    When Cache is enabled in NQSConfig.ini we can see the cache entries in NQQuery.log
    For Cache in the log, section something like
    *------------------ Cache Hit on query
    For database in the log, section something like
    *------------ Sending query to database named
    Ignore * in above lines
    Pls mark correct/helpful

  • Tiger server cache maintenance

    I have an Intel Xserve that continues to crash every day it's used hard at around 2 p.m., and I think it might be the daily automatic maintenance that OSX does (cleaning caches, etc,) I am running OSX 10.4.9 server software.
    My question is: how can I check what time this program starts and how can I change it.

    staceman,
    Do you have some basis for thinking this? Is there a process in the logs that shows maintenance around this time? It is much more traditional to schedule these kinds of tasks at 2am than 2pm. The Unix way to do this is using cron but individual programs - like virus scans - can have there own way and there is no single "central schedule list" for all apps that I know of.
    Is your server using a lot of memory just before it crashes? There is a thread here about Intel Xserves restarting under heavy memory load.
    http://discussions.apple.com/thread.jspa?threadID=852861&start=0&tstart=0
    The final(ly) Apple provided solution is here:
    http://docs.info.apple.com/article.html?artnum=305167
    If you're sure it's a scheduled app then disregard this answer - but with the lack details it sounds kind of similar.
    Good Luck,
    =Tod
    G5/2.0x2, Dual XServes x2, XRAID, beige G3 501Mhz    

  • Few Questions on OBIEE Architecture

    This is just a continuation of this thread:
    Confused on BI Publisher and BI Presentation Services
    So just want to know how the whole process takes place, from RPD, XDO, NSQconfig..
    So from Step 1 =)
    From what I understand as of now is I need to go to Administration Tool, create first a repository? Then go to BI Presentation Services to create reports ( using Answers )? When does the user creation comes into place? What is the purpose of BI Publisher? I've already setup a few things on BI Publisher like User, Roles, etc. but still not on the part of creating a report. Sorry If I ask too many questions, I'm just trying to understand what's the relationship of each tool. I've checked the docs and mostly they're just diving into modifying configs without really explaining why. ( at least that's how I saw it ) =)
    Thank you very much again!

    Wow - where do we start !
    Remember they are two seperate products, OBIEE and its related configs / components (RPD, BI Server, BI Presentation services - Answers, Dashboards, ibots etc)
    BI Publisher, formerley XML Publisher, sucessor to Oracle Reports.
    They fall under the Oracle BI Stack.
    Loads of info on our website, link in the previous post you mentioned.
    'Roles' in OBIEE can determine - Authorisation ie what you can do in the sytem or "Priviledges". What objects (reports / dashboards) you can use and can also be used for data security filters (Like a OBIEE 'virtual private database' version of the real Oracle DB option 'VPD')
    Roles in BI Publsher typically can mean the same, who can create folders, who can create reports, who can run them , who can create data sources etc. Sometimes you have to use a system specific role name, sometimes you can create your own names and reference them as you please (BIP roles are typically one of a pre-defined set, OBIEE roles can be called whatever you want)
    Sounds hard at first and without prior experience but seriously, there are some very very good blogs out there, as mentioned in previous response, we also have a lot of info on our website (Peakindicators.com)
    Feel free to email me.

  • New to OBIEE- Questions on OBIEE infrastructure..

    Hi Gurus/Experts,
    I am very very new OBIEE technology. Our company decided to change the technology to OBIEE. So, We are in process of understanding the architecture and infrastructure for the same.
    I have couple of questions:
    -the BI web server is the piece that has to run on Windows or It can run any machine?
    -can the BI server and the BI scheduler server run in the same physical server (AIX) ?
    Please let me if you are not clear on my questions.
    It would be really great help..
    Warm regards,
    Ganesh Krishna.

    -the BI web server is the piece that has to run on Windows or It can run any machine?Yes, OBIEE installers are available in different flavors like windows, LINUX, Solaris etc. You can have your BI web server (SAW) on any of the supported envn. Its not mandate to have it just on windows..
    -can the BI server and the BI scheduler server run in the same physical server (AIX) ? Yes, both can run on same server. This is general practice..
    Refer OBIEE documentation here..
    http://download.oracle.com/docs/cd/E10415_01/welcome.html
    Hope this clears your doubt.

  • Security question in obiee 11g

    Hi,
    I have a question on security configuration on what we have in 10 and deploying to 11g.
    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Thanks
    Jay.

    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Solution:
    http://www.varanasisaichand.com/2011/09/external-table-authenticationorder-of.html
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-connecting-to-active-directory-and-obtaining-group-membership-from-database-tables/
    http://obieeblog.wordpress.com/2009/06/18/obiee-security-enforcement-%E2%80%93-external-database-table-authorization/
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Obiee11g is intergated with weblogic fusion middleware (Console,EM). in that console have feature to enable mulitiple LDAP authentication
    while configuring AD via weblogic console we need to give the users and group info
    Solution refer:
    http://obieeelegant.blogspot.com/2012/01/obiee-11g-integration-with-ldap.html
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/privileges.htm#BABCDCFE
    Thanks
    Deva

  • Question about the cache

    So I never really worried or cleared the cache in the past year on this computer. I occasionally cleared the cookies from time to time, but I never let Firefox clear cache or cookies due to me wanting to have some passwords saved on some sites and automatically log me in. But yesterday, I had a weird problem with the Frozen movie website (site is movies.disney.com/frozen). Whenever I clicked it, it was just a skinny image in the center of the screen with the drop down men to navigate to different sections, as opposed to the nicely designed website you'll get if you go there right now. I was wondering why the site looked like this on my computer, yet on all the other computers and tablets in the household, the site looked as it should.
    So I decided to clear my cookies. That didn't help. Restarted computer. Didn't help. And finally I decided to clear the Firefox cache. That fixed the problem, and the site went back to normal. So my first question is, why did this fix the site? What was in the cache to cause the site to do this?
    Also, after clearing my cache there the Cached Web Content was only using 1kb of disk space. Now, after almost a day, it is up to 230mb of disk space. Does this affect my computer in a massive way, or is the 250mb a small amount? And is it normal for the Web Content Cache to increase each time I open Firefox? And why does the amount of cached content keep rising so drastically? When I cleared it yesterday, I believe the cache was only using 351mb of disk space after only a year.
    Last question is, can I have Firefox clear the cache when I close it without also clearing cookies, or do I have to clear both to make it work?

    Hi,
    First, Frozen's song "Let it Go" has been stuck in my head all week <3.
    Second your questions:
    "So my first question is, why did this fix the site? What was in the cache to cause the site to do this?"
    Depending on the server request the cache will check to see if the content has been modified. And there is sometimes an expiration date set in the cache to save network capacity use. You can check this out in the Network logging if you open up a Web Console.
    "Also, after clearing my cache there the Cached Web Content was only using 1kb of disk space. Now, after almost a day, it is up to 230mb of disk space. Does this affect my computer in a massive way, or is the 250mb a small amount?"
    Generally this is a pretty small amount, as the defualt cache size is 359400 bytes.
    "And is it normal for the Web Content Cache to increase each time I open Firefox?" The cache will load from a file when you open Firefox. This is normally stored in a file inside of the Profile Folder.
    "And why does the amount of cached content keep rising so drastically?"
    It should never go over the set limit in the about:config page for cache disk capacity.
    "Last question is, can I have Firefox clear the cache when I close it without also clearing cookies, or do I have to clear both to make it work?"
    It is possible to set the Firefox setting History to not remember any history. This will clear the history cache.
    I hope this helps.

  • Question regarding palcing cache related classes into a package

    Hi all,
    I have a question regarding placing classes into packages. Actually I am writing cache feature which caches the results which were evaluated previously. Since it is a cache, I don't want to expose it outside because it is only for internal purpose. I have 10 classes related to this cache feature. All of them are used by cache manager (the manager class which manages cache) only. So I thought it would make sense if I keep all the classes into a separate package.
    But the problem I have is, since the cache related classes are not exposed outside so I can't make them public. If they are not public I can't access them in the other packages of my code. I can't either make it public or private. Can someone suggest a solution for my problem?

    haki2 wrote:
    But the problem I have is, since the cache related classes are not exposed outside so I can't make them public. If they are not public I can't access them in the other packages of my code.Well, you shouldn't access them in your non-cache code.
    As far as I understand, the only class that other code needs to access is the cache manager. That one must be public. All other classes can be package-private (a.k.a default access). This way they can access each other and the cache manager can access them, but other code can't.

  • Question about Web Cache!

    I want to install another web server on the 9iAS machine. Can Web cache simultaneously support the Apache and the IIS??

    See no reason why not, but i would suggest that you should try the 'Web Cache and Database Cache Discussion Group', which is the more appropriate forum for the caching questions.
    Cheers
    Stefan

  • Security Questions are getting cached

    Hi,
    We recently discovered that our security authentication answers are frequently cached by web browsers. Is there something we can do on the server side to stop this? We have several public terminals used for claiming accounts and changing passwords, etc.. When a user loads the change user answers form, and starts to type in an answer, the form will try to auto-complete the answer, and display other similar answers that people have submitted.
    I tried setting the autocomplete property, but IDM does not support it on text fields it seems. I then changed the fields to html elements and modified them so their html output is the same as when they were text field objects. However, the form stopped working then. It no longer saves answers if I do that.
    How have people addressed this before? It seems like it would be a security concern for any IDM installation that has a public terminal available for changing passwords / etc..
    Thanks,
    Jim

    There are a few browser level settings I found that help. In firefox you can choose a setting that is title something like "Remember form fields and search bar entries". Making sure it is not checked will stop the auto complete. In IE there is a "Do not cache data from a secure connection" or something similar. That helps to. At the html level there is also an attribute for form elements called autocomplete. So you can set autocomplete=off for the elements.
    John, the form I am working with is security questions. The name of the fields are the IDs of the questions. So I can't really make them dynamic.
    The fix wasn't the greatest. IDM does not yet support the autocomplete attribute. When I manually added it to the text form field object, it generated an error when I viewed the form. When I changed the field object to an html object, and dictated the html, the workflow to save the answers stopped working. Ultimately I had to do a search and replace in the html in the JSP to add the autocomplete attribute.

Maybe you are looking for