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
Similar Messages
-
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> -
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
SrixThe 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 )
-
Essbase server heap settings/Cache?
Hi There,
I am on AIX and I am using Essbase 11.1.2.2 and I need to know if there is any settings/parameter which I can update in terms of RAM or Cache settings for Essbase so that I can get enhanced performance and response from my Essbase server.Try increasing the Java Heap size . Its a process in which you need to create registers . Check for any documentation .
-
Hello,
I am coming up with the spreadhseet retreival error very frequently and get Essbase Error 1130203. I went through the Error interpretation and found that Data Cache might be causing it. Here are the details of cache settings on my
databases currently. Can somebody please help me understand if they are right or need some changes:
DataBase A:
Data File Cache setting (KB) 32768
Data cache setting (KB) 100000
Block Size: (B) 143880
Number of existing blocks: 7266
Page file size: 40034304
DataBase B:
Data File Cache setting (KB) 32768
Data cache setting (KB) 300000
Block Size: (B) 91560
Number of existing blocks: 1912190
Page file size:2147475456--1
Page file size: 500703056
DataBase C:
Data File Cache setting (KB) 300000
Data cache setting (KB) 37500
Block Size: (B) 23160
Number of existing blocks: 26999863
Page File Size: 21 page file =21 * 2= 42 GB
If this might not be the issue then please let me know what might be causing it?
Thanks!
Edited by: user4958421 on Dec 15, 2009 10:43 AMHi,
1. For error no 1130203, here are the possible problems and solutions, straight from document.
Try any of the following suggestions to fix the problem. Once you fix the problem, check to see if the database is corrupt.
1. Check the physical memory on the server computer. In a Windows environment, 64 MB is the suggested minimum for one database. In a UNIX environment, 128 MB is the suggested minimum for one database. If the error keeps occuring, add more memory to the server computer.
2. If you are on a UNIX computer, check the user limit profile.
3. Check the block size of the database. If necessary, reduce the block size.
4. Check the data cache and data file cache setting. If necessary, decrease the data cache and data file cache sizes.
5. Make sure that the Analytic Services computer has enough resources. Consult the Analytic Services Installation Guide for a list of system requirements. If a resource-intensive application, such as a relational database, is running on the same computer, the resource-intensive application may be using the resources that Analytic Services needs
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/ -
Hello,
I am coming up with the spreadhseet retreival error very frequently and get Essbase Error 1130203. I went through the Error interpretation and found that Data Cache might be causing it. Here are the details of cache settings on my
databases currently. Can somebody please help me understand if they are right or need some changes:
DataBase A:
Data File Cache setting (KB) 32768
Data cache setting (KB) 100000
Block Size: (B) 143880
Number of existing blocks: 7266
Page file size: 40034304
DataBase B:
Data File Cache setting (KB) 32768
Data cache setting (KB) 300000
Block Size: (B) 91560
Number of existing blocks: 1912190
Page file size:2147475456--1
Page file size: 500703056
DataBase C:
Data File Cache setting (KB) 300000
Data cache setting (KB) 37500
Block Size: (B) 23160
Number of existing blocks: 26999863
Page File Size: 21 page file =21 * 2= 42 GB
If this might not be the issue then please let me know what might be causing it?
Thanks!You have posted the same question on the essbase forum > Data Cache Settings
You are more likely to get more responses on the essbase forum to this question.
From the docs
Error - 1130203
Essbase is unable to allocate memory.
Possible solutions
Try any of these suggestions to fix the problem. After you fix the problem, determine whether the database is corrupt (see Checking for Database Corruption).
Check the physical memory on the server computer. In a Windows environment, 64 MB is the suggested minimum for one database. In a UNIX environment, 128 MB is the suggested minimum for one database. If the error keeps occurring, add more memory to the server computer.
If you are on a UNIX computer, check the user limit profile (see Checking the User Limit Profile).
Check the block size of the database. If necessary, reduce the block size.
Check the data cache and data file cache setting. If necessary, decrease the data cache and data file cache sizes.
Ensure that the Essbase computer has enough resources. Consult the Oracle Hyperion Enterprise Performance Management System Installation Start Here for system requirements. If a resource-intensive application, such as a relational database, is running on the same computer, the resource-intensive application may be using the resources that Essbase needs.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hello,
we're trying to tune the BW cache for WebI queries, we'd like to change the default cache settings for a number of queries, including ones used for BO universes.
I'd like to know if this changes will be picked and used by WebI or if it is not sensitive to such changes (Cache Mode and Persistence Mode).
Thanks in advance for your help.Hello Pablo,
I haven't tried yet but the OLAP cache should be used by WebI when it accesses the queries. You can ensure it does in transaction RSRCACHE by looking at the last access of a cached query. Could also look at the BI stats (if you have installed them and turned then on of course).
Regarding the cache settings, I would personally recommend using the persistent cache (across App Servers if you have more than one app server) into a Cluster table (or Transparent table if the data set is quite large). Can find more details here: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm
You could also look into MDX cache instead of OLAP cache, but I haven't played with it yet so I'm not sure it would help with WebI. Anyone else did?
Hope it helps... -
Dear Friends,
Is there any option for configuring EP Server Caching.
Thanks.
JackThe portal has a caching service that supports content caching for a page/iView on the portal server. In addition, it can implement content caching on the client machine using the browsers caching capabilities. Configure caching properties for pages/iViews at design time. Depending on your configuration, the portal can cache content as follows:
On the portals server
The generated content or output of an iView can be stored in the servers cache using the portal caching capabilities. Doing so saves time and the resources required to regenerate the content when the iView is called on subsequent requests.
On the clients browser cache
Using the portal caching capabilities on the client minimizes network traffic and displays content faster, as the content is taken from the browsers cache. The browser uses an HTTP conditional request to check whether content in its cache is still valid. If the content in the cache has expired, it is discarded and replaced with content retrieved from the server.
You can activate the following cache settings for pages/iViews:
CacheLevel
CacheValidityPeriod
AllowClientSideCaching etc
lot more...
see following link for more details
http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
Regards,
Piyush
ps: please reward points if this looks useful to you. -
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. -
Cache settings in BI7. Data still not displayed correctly in RSRT
Good day
Please assist? I did scan SDN for a similar problem and did check the CACHE settings in RSRT etc.
My problem is: If I check the data in the DSO, then the updated information that was loaded yesterday is displayed. When I run the query, it does not display the last loaded information. I have run the query in RSRT and the updated information does not display either. I have changed the cache properties of this query to different settings already, and running the query from RSRT, with no success.
I also checked the query itself (design) It is not restricted to anything. User selects 0CALMONTH as variable only. I have logged out and in again after each Cache setting, no success of displaying the updated DSO information.
Can anyone please tell me why the query does not pick up the latest information from the DSO?
Thanks in advance.
CjHi Cj,
Is the last request marked as Ready for Reporting? This needs to be the case before the latest data comes up in the query.
Hope this helps!
Regards,
Saurabh -
LR 5.5 - Camera RAW Cache settings reset non-stop
Lightroom doesn’t remember the folder path in Camera RAW Cache Settings section in File Handling tab in Preferences window. I want to set my own folder Camera Raw Cache and its maximum size but every time Lightroom sets default path (C:/Users/Name/AppData/Local/Adobe/CameraRaw/Cache/) and also maximum size as 1GB. When I set all the parameters Camera RAW Cache and click OK or switch between the tabs in Lightroom preferences window or restart Lightroom and I return to the File Handling tab all the data is reset to default. The same happens when I want to change the parameters Camera RAW Cache from Adobe Bridge and Photoshop.
Second question:
When I use DNG file format with Embed Fast Load Data option in the folder Camera RAW Cache the “DAT” files doesn’t appear. Is it connected with the use of Embed Fast Load Data option? When I use the original NEF files from my Nikon “DAT” files appear.
[Win 7 64-bit, LR 5.5, Web&Design CS6]I have no trouble placing my Camera Raw cache where I want to put it. Perhaps deleting your Preferences file would help with that problem.
Yes, if you embed fast-load data in your DNGs, LR will use that instead of the CR Cache.
Hal -
PS CS6 / Bridge / ACR 8.5 - Camera RAW Cache settings reset non-stop
Adobe Bridge/Photoshop doesn’t remember the folder path in Camera RAW Cache Settings in Camera RAW Preferences window. Every time when I want to set my own folder Camera Raw Cache and its maximum size, I click OK and return to Camera RAW Preferences, I see default path (C:/Users/Name/AppData/Local/Adobe/CameraRaw/Cache/) and maximum size as 1GB.
[Win 7 64-bit, LR 5.5, Web&Design CS6]Problem is solved!
I delete folder "C:\Users\USERNAME\AppData\Roaming\Adobe\CameraRaw\". Then I start Lightroom and I pick my own folder in Camera Raw Cache Settings, set 20GB size and click OK. Now everything works fine. Bridge and PS also fine. -
Properly and accurately calculating application cache settings
Hello everyone.
We are running Hyperion Planning 11.1.2.1 and one of the dataforms we have set up is quite heavy (it includes several DynamicCalc members with considerable ammount of scripting) and it fails to load from time to time, just saying "Cannot open dataform X. Check logs" and such.
I have tried to increase cache sizing in the databases of the Essbase application (right clic on each database > edit > properties > caches), as well as buffer sizes and commit blocks.
Little by little I have managed to improve performance by modifying the above mentioned caches (it crashes less often), but still I guess it's nuts to infinitely increase caches to make sure it works.
So, my question is: Is there a way to calculate the accurate cache settings for a given application?
My current settings are:
Buffer size: 200 KB
Short buffer size: 200 KB
Index cache setting: 30720 KB
Data file cache setting: 61440 KB
Data cache setting: 51200 KB
Commit blocks: 30000
Do you think these are accurate?
Thanks a lot,
G.S.FeliuYou haven't really provided enough information to be honest, for example are you running a 64bit system?
But that is rhetorical, as usual the first port of call is the DBAG. I don't see why a link should be posted, you must have access to it already if you're administering a production system. That will point out things like that the Data file cache setting is only relevant if Direct I/O is being used and that the index size should be at least as big as the file if memory allows.
Commit blocks....is interesting, personally I have set it to 0 in some projects and seen some improvement but as usual testing is the key.
However their is a performance tuning guide out there that you may find very useful:
https://blogs.oracle.com/pa/entry/epm_11_1_2_epm1
that focuses on the infrastructure a bit more. Bit complicated though and I would thoroughly recommend recording a set of benchmarks before applying any of those changes, and applying said changes one by one or you'll never know what is good and what is not so good.
Learn from the pain others have already endured ;-)
Good Luck
Steve -
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. -
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 RegardsHi,
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
-
To DD-WRT or not to, that is the question!
I just bought the WRT610N (on sale for $145 =)) and I see that version 2 of this router is now supported for DD-WRT My set up is downloading torrents from my Windows Home Server and I stream video to my Popcorn Hour from that machine as well. I then
-
Deploy Oracle 10.1.2.0.0
Hi All... I'm using Jdeveloper 10G version 10.1.2.0.0 and want to deploy to the weblogic server. Can it be done?
-
Motion 5 clicking sound with audio
Anyone else notice that Motion 5 creates a clicking sound with your audio if you raise the volume, yet isn't redlining in the meter? That's what's happening to me. I have an AIF voiceover and I raised the volume by 3 and even though the audio meter i
-
Essbase Administration Console error "failed to create client directory to write error file"
I am getting the following error while trying to load data using EAS v11.1.2.3 "failed to create client directory to write error file" Any known root cause for this.
-
Hi!: I saw this doc: http://help.sap.com/saphelp_nw04s/helpdata/en/df/da8b412bb5b35fe10000000a1550b0/frameset.htm and I was wondering if something like Multipane is available for WebDynpro java. Thanks a lot! Rocio.