Cache Seed using iBOTs
I have a requirement to use iBOTs- Cache Seeding
The Dashboard is designed in a way that it has some global filters and then, multiple pages with reports.
When ever user logs in, user selects the global filters and then goes to desired 'page->report'.
Based on that, user gets the details.
Now, I have the requirement for Cache Seeding for those reports using iBOTs. Using iBOTs I was able to get the report seeded in the Cache. But, for that report, I am not able to apply the global filter and hence the am not able to seed the required Cache results. I am clueless at this point on what to do. Can someone help me out in this.
Thanks.
Caching is one of the many approaches to improve performance but it's not a magic solution. You need to understand that you can't cache everything. In particular you won't be able to cache reports that are driven by parameters and have facts that are too granular and exceed the number of rows each cache entry can have. If your fact is of a small size then you can get around the parameters issue by caching a report without any filters. The BI Server should able to derive subsequent queries as long as they meet the cache hit criteria. Have a look at the administration manual for all the rules a cache hit must meet.
Similar Messages
-
Cache Seeding using Briefing Books in iBots
Hi All,
I'm trying to seed the cache using Briefing books in iBots.
1. Created the Briefing book of a Dashboard page with required dashboard prompt values
2. Selected this 'Briefing Book' as Delivery Content
3. Scheduled the iBot
But, despite of iBot running successfully, Cache is not being seeded.
Am i missing any steps?
Moreover, in 'Destinations', if i just check 'Interactive Dashboards' & 'Active Delivery Profile',
No cache entries created
But if i check 'e-mail' or any of the devices,
then a cache entry is generated for the default dashboard prompt values* but not for the prompt values selected for the Briefing Book*..
Please help
Thank you,
RaghuHello Madan,
Thank you for the reply..
"Oracle BI Server Cache" can only be used for the answer pages/dashboard pages with default prompt values..
Any other way to get the Cache seeded for other prompt values too..
other than the manual seeding
Thank you,
Raghu -
Hi Gurus,
I am trying to seed the cache by invoking the Ibots from windows batch file but I am not able to seed the cache.
These are settings used for the Ibot:
Priority : Normal
Data Visibility: Not Personalized
Conditional Request : None
Recipients : None ( checked Publish for subscription )
Delivery content: selected the page that needs to cached.
Destinations : Oracle BI server cache checked
Ibots log:
+++ ThreadID: 1308 : 2010-10-21 10:23:18.428
iBot Chain Started.
Scheduler iBot Version: 201
Job ID: 31
Instance ID: 186.000000
User ID: Administrator
Parameters:
Job Version: 2
Root iBot ID: /shared/_ibots/Full Quarter 1
Oracle BI Presentation Server: localhost:9710
Debug: True
iBot Load Balancing Enabled.
+++ ThreadID: 1308 : 2010-10-21 10:23:18.522
Using Presentation Server: localhost:9710
+++ ThreadID: 1308 : 2010-10-21 10:23:18.522
iBot Started:
iBotID: /shared/_ibots/Full Quarter 1
Priority: normal
Personalized: False
Run As User: Administrator
+++ ThreadID: 1308 : 2010-10-21 10:23:18.522
Subscribers: 0
+++ ThreadID: 1308 : 2010-10-21 10:23:18.522
iBotID: /shared/_ibots/Full Quarter 1
No subscribers. Not executing.
+++ ThreadID: 1308 : 2010-10-21 10:23:18.522
iBot Chain Completed.
Please help me in this issue.
Thanks in Advance.
KannaHi David,
Previously I am seeding the cache by nqcmd utility, its working in some pages and not working in some pages due to the repository variables (current quarter and current week variables are used in the prompts) used in some Dashboard prompts.
So we are not meeting Business SLA due to this issue.
Now I am trying seed the cache through Ibots where ever we have the cache seeding problem. When I run an Ibot, I don't see any Queries cached in Manage--->Cache in Admin tool.
We already had a Ibot setup which is running after every ETL load in the production and sending reports(emails) to the users ( In this case I see that the queries are cached).
In the same way I am trying to setup the Ibots not selecting and any recipient and selecting destination as OracleBI Server Cache.
Am I missing anything here ....
Please help me guys... this is a production issue....
Thanks in Advance...
Kanna -
Should we Use cache seeding iBots to pre-cache the reports ?
Hi Everyone,
We have requirement from client to improve the performance of some reports.We have a very old RPD and it is really huge so we don't want to do much on database side for performance tuning.
Will it be a good idea to use cache seeding iBots to pre-cache the reports ?
Most of the reports which are having performance issue are having some 5-6 columns and one key column is having some 30+ choices in column selector.So for each column selector view we will have to create a ibot which will again be a huge task.Can you pls guide how to approach this?
Thanks in advance !
Aarti Chawlahi Aarti,
Will it be a good idea to use cache seeding iBots to pre-cache the reports ?http://www.artofbi.com/index.php/2010/03/obiee-ibots-obi-caching-strategy-with-seeding-cache/
30+choices in column selector will definitely have performance issues..bcz each and every time the report is going to refresh .have u enabled the cache some what better .Whats the issue of using existing report by enabling the cache seeding in ibots?
Thanks,
Saichand.v -
Hi,
I am trying to seed the cache by using iBots. I am checking OBI Server seeding cache option in the destination tab and also i am selecting the report which i want to seed the cache in the content tab. iBot is executing but the report result is not seeding into the cache. I have checked all the tables in the physical layer the cacheable check box is selected. In instance config.ini file cache is enabled.
when i check the iBot log file it is saying NoData.
I have followed the steps in the documentation but its not working.
Is there any thing i am missing out here? if any one the solutions please let me know as soon as possible.
Thanks,
SankarWhat if you just run the request normally does it cache the query? Also we have seen on our end that the query results exceed the INI limits (# of rows, size, etc.). Verify that too.
-
Report not hitting pre seed cahe created using iBot by Admin
Hi,
We created an iBot to pre seed the cache using Administrator and it is creating the cache but when normal user run this particular report for the 1st time it's not hitting the cache(created using iBot). all the subsequest users request hitting the cache created by normal user. I still dont understand why it is not hitting the cache.
Did anyone comeacross this issue before?
what are the reasons not hitting cache with above scenario??
does cache created by administrator using ibot work for other users? we actually running whole query with no filters on it using admin and normal users run the same report with some filters on it. as per oracle cache strategy it should work but it's not.
any help appreciated.
Thanks
Jay.
Edited by: Jay on May 16, 2012 7:23 PM
Edited by: Jay on May 17, 2012 5:42 AMHi Jay,
I have given some inputs.
The way the OBIEE server creates the SQL (both logical and physical) for a request can be a bit funky sometimes, the cache seeding only really works in fairly simple cases. Does your request have a pivot table in it by any chance? These are notorious for not caching properly, if you look at the log for the request you can see why as the server adds this strange "aggregate by" to the request (why this can't be done at the presentation level since the only change you are asling for is in the presentation of the content is beyond me). Those "aggregate by"s tend to stop a request being a cache hit unless it is identical to the one that seeded that cache, any change in parameters, columns etc (even if a logical subset) will not get a cache hit.
2. "Oracle BI Server Cache" Cache Seeding option present in Destination tab of Delivers -- Please check this option.
3. Caching is one of the many approaches to improve performance but it's not a magic solution. You need to understand that you can't cache everything. In particular you won't be able to cache reports that are driven by parameters and have facts that are too granular and exceed the number of rows each cache entry can have. If your fact is of a small size then you can get around the parameters issue by caching a report without any filters. The BI Server should able to derive subsequent queries as long as they meet the cache hit criteria. Have a look at the administration manual for all the rules a cache hit must meet.
Hope it helps.
Thanks,
Satya -
Metalink mentions that the Cluster aware cache can only be seeded using ibots or using SAseed command line.
Does nayone one know if progress has been made so that answers query also results in cache seeding? Also wondering if Marketing segmentation queries can be seeded. ( we tried and do not see any chache using anwsers and marketing).I assume you are talking about coherence.
Cache should be shared across WebLogic clusters, as long as the coherence client node (the individual weblogic server) is configured at network level to connect to the same Coherence Cluster (see tangosol-coherence-override.xml for more info on network parameters). Updates to a cached object should be reflected across all instances of Coherence cluster.
you can choose to which Coherence cluster to connect by passing to CacheFactory.getCache() a classloader where a separate Coherence configuration has been loaded
this is all I know about coherence :o) .
If someone finds this info is wrong, please correct me.
Edited by: PierluigiVernetto on Sep 28, 2010 9:42 AM -
How to add reports to ibots for cache seeding
hi all,
i am having 10 reports i want to seed- cache automatically everyday for all my reports using ibots .can any one help me in providing steps
thanks in advanceDo you know how to create an iBot? If you do, then just chain the iBots to fire one after the other or schedule them separately. There is a checkbox to seed the cache. Take a look and you will see.
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31767.pdf
Starting on page 161.
Page 179 is about seeding the cache. -
Problem with iBot cache seeding
Hello,
I am trying to seed cache with iBots. It works just fine for many of my reports, however there are 2 reports that are not working properly.
First of all, running the two reports by themselves (no iBot) results in the cache being populated.
Second, running the iBot for each of these two reports also seeds the cache.
The problem is that after running the iBot to seed the cache for each report, when I go to the report in the dashboards and then view the session log, it is not hitting the query that was cached by the iBot. It is generating a new entry in the cache. I am positive that the iBot is created on the correct report and the other options are configured exactly like my working iBots.
Any ideas?
ThanksHi,
The way the OBIEE server creates the SQL (both logical and physical) for a request can be a bit funky sometimes, the cache seeding only really works in fairly simple cases. Does your request have a pivot table in it by any chance? These are notorious for not caching properly, if you look at the log for the request you can see why as the server adds this strange "aggregate by" to the request (why this can't be done at the presentation level since the only change you are asling for is in the presentation of the content is beyond me). Those "aggregate by"s tend to stop a request being a cache hit unless it is identical to the one that seeded that cache, any change in parameters, columns etc (even if a logical subset) will not get a cache hit.
Regards,
Matt -
Hi Folks,
This may be a Bug as i understand from my previous readings in the forum or misconfiguration in the ibots
The Cache seeding technique is not working for Users on dashboard pages
users mean who are not part of RPD and Presentation server Administrator Group
this users has Read Only Access to the dashboards
The Setup includes
1. LDAP Authentication
2. External Table Authorization
3. No users in RPD
Administrators will schedule the ibots for cache seeding on Dashboard Pages,
Ibots successfully run for users in Admin group and just start and stop immediately with out any errors for users( Non Admin Group people)
is this well known issue or bug
is there any workaround
i have Escalated an SR with Oracle Support, but no USE
Please Suggest
Thanks
KumrAre you sure your iBots are running successfully?
-
Hi Gurus,
I was trying to Cache Seed the dashboard and i am able to make it. But the problem is the Dashboard have prompt with 5 columns ( Together with one go button) and each column have at least 4-5 values. Each column have assign value. When i seed the Dashboard the Cache is done for that combination but when i change the combination of the prompt its generating the cache. Is there any work around that i can do the seeding for all the combinations at one go?
Prompt:
Column --> Operator -->Control -->Show -->Defualt to -->Set variables
Column 1: -->is equal to -->Drop down -->Specific Value( x) -->None
Column 2: -->is equal to -->Drop down -->Specific Value( 1) -->None
Column 3: -->is equal to -->Drop down -->Specific Value( y) -->None
Column 4: -->is equal to -->Drop down -->Specific Value( 23) -->None
In iBots we can add only one report/ Dashboard? Is there possiblity to add more then one report/ Dashboard.
Thanks In adavance
Regards
AliHi Ali,
yep, the link provided above is one way of solving your issue. Also, the Oracle guides are pretty helpful in this area:
http://download.oracle.com/docs/cd/E17904_01/bi.1111/e10541/querycaching.htm#insertedID4
http://download.oracle.com/docs/cd/E17904_01/bi.1111/e10541/querycaching.htm#i1010207
1. Basically, the approach is to call the ODBC client utility (nqcmd) using a script file.
2. Inside the script file write your SQL statements (BI Server logical format).
3. There are also some reserved commands you'll find useful like:
- SAPurgeAllCache
- SAPurgeCacheByDatabase
- SAPurgeCacheByTable
- SAPurgeCacheByQuery
For clearing out / purging your cache.
4. SAPurgeAllCache() is commonly used, but 'SAPurgeCacheByQuery' might be more useful for your needs because its bit more precise.
Hope this helps.
Justin -
Delivers unable to refresh Report through Cache Seed
Hi
I am using delivers to refresh the Oracle BI cache.
I have created a Report & run the report, saved.
Cache was enabled at this moment. Now the report was cahed.
I have created a iBot on this report and sheduled.
After this... i updated one of the values of column in database.
Now i try to schedule the report as i thought that the cache will be refreshed.. for this iam checking the check box "Oracle BI Server Cache" Cache Seeding option present in Destination tab of Delivers. When i fired my iBot at this moment i am unable to get the updated records which means the cache is not refreshing...
Can you explain procedure how to refresh the Oracle BI Server Cache.
What is the Cache seeding..?
Thank You..
G. KishoreSeeding cache means you are employing a mechanism (manual or automatic) to pre-populate the cache entries so your first user(s) don't have to wait for data to be displayed on the screen.
To seed a cache one presumes the cache is empty -- at least for the entries in question. You might have some data that changes yearly ... so you never remove those cache records unless the year is done. You might have daily data that you need purged and re-seeded every morning. You might have such good database query/network/BI Server performance that your users will actually perform the seeding for you (but then it can be argued why have the cache at all); but usually the DB/network/BI Server performance is such that we want to cache data, purging and re-seeding as needed.
Also keep in mind: caching is the LAST step in a comprehensive OBIEE performance strategy. -
Hello All.
I have several dynamic variables used in a analysises and graphs and then in they used in a dashboard.
I have a schedule task running to refresh the data (cache seeds).
I have recently learned that if I utilize dynamic variable then the cache is purged by the BI server.
And the user offers a solution to "set up a cache seeding .bat file that runs after the dynamic variable has been updated. "
We are using Oracle BI 11.1.1.5.0
Can anyone clarify how to do this?
Perhaps this issue was resolved already by Oracle??
Thank you,
Sonya
Edited by: user8461308 on Mar 12, 2012 8:05 AMHello Sonal,
You can refer below site which can be helpful to understand
http://sites.google.com/site/ashishrkabra/obiee/obieecachemanagement
its by Ashish
If helpful please close the thread and award it to avoid confusion :) -
Cache Seeding in OBI 11g in Clustered Environment on Unix Box
hi All,
i want to do cache seeding for a couple of dashboards in OBI 11g,
Steps taken:
1. Global Cache is ON
2. Global shared path is SET
3 Global cache size = 3GB
i am using agents for cache seeding and are scheduled after the dataload is complete.
It successfully runs early morning...delivers a mail.
But when I am trying to the reports from OBI...its again generating the SQl...without hitting the cache.
It might be due to the Clusterred Env... 2 nodes Env.
Please suggest some technique to achieve this cache seeding.
Thanks in advanceGLOBAL_CACHE_STORAGE_PATH This path must point to a network share. All clustering nodes share the same location.
Check the bellow setting
GLOBAL_CACHE_STORAGE_PATH = "directory name" SIZE;
ex: GLOBAL_CACHE_STORAGE_PATH = "C:\cache" 250 MB;
CLUSTER_AWARE_CACHE_LOGGING -->Turns on logging for the cluster caching feature. Used only for troubleshooting. The default is NO.
Example: CLUSTER_AWARE_CACHE_LOGGING = NO; -
What is cache seeding and cache purging
hi all gurus
i am getting confusion on cache seeding and cache purging
wat is the difference between seeding and purging
please can any one tel me bout it,
i red some thing in ibot for cache seeding wat it does ?
ThanksHi,
Seeding in simpler words means Filling/loading in according to the context.Where as Purging means removing or cleaning of data.
For more information on both these you can go through these links
http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-116.html_
http://obiee101.blogspot.com/2008/07/obiee-cache-management.html
Hope its answers your query.
By,
KK
Maybe you are looking for
-
I am not able to ENLARGE photos on Facebook, this means photos that friends post on News Feed & photos that I post in my FB photo albums. I only get a BLANK, BLACK screen when I click on individual photos. A friend suggested that I upload the New Fir
-
Hi, I'm trying to compile java files at runtime and I want to see the execution output into my eclipse consol or anywhere. I've tried different thing such as Runtime r = Runtime.getRuntime(); String command=""; command =
-
Re: I've suddenly lost connection speed.
My broad speed halved from 40 meg to 19 meg dropping to 5 on complaining on line asked to do all the tests for bt I am a 68 year old man not a bt engineer so phoned India but stopped short of strip testing router B T if you read this befor I put this
-
Terminal Command to disable/enable Safari Sound?
Does anyone know of a command (or even a 3rd party utility) which would allow for sound control/mute for Safari only? I do not like to be disturbed by the sound of animated gifs/popups etc. when I am listening to my iTunes while browsing the internet
-
How to download songs and add to the playlist?
I can't download any songs from the websites