Changing icCube result cache configuration -
i'm trying increase cache value 16 mb 64 mb log shows 16 mb. i've tried different values 2 mb 512 mb. wrong configuration file? there size limit?
<resultcacheconfiguration> <mode>memory</mode> <size>64</size> <gvi>true</gvi> <xmla>false</xmla> <cachingpolicy> <classname>crazydev.iccube.olap.eval.cache.result.cache.olapresultcacheimmediatepolicy</classname> <!-- <classname>crazydev.iccube.olap.eval.cache.result.cache.olapresultcachebufferedpolicy</classname> --> <param> <name>bufferedrequestcount</name> <value>1024</value> </param> </cachingpolicy> </resultcacheconfiguration>
the log dump:
[ main] [ info] (14:18:02.358) iccube.loadreadingqueuesize : 32 [ main] [ info] (14:18:02.358) iccube.loadreadingrowbatch : 1000 [ main] [ info] (14:18:02.359) iccube.loadreadingthreadcount : 2 (actual:2) [ main] [ info] (14:18:02.359) iccube.localeidentifier : systemdefault (2048) [ main] [ info] (14:18:02.359) iccube.maxbuffersizeforcachingiterator : 65536 [ main] [ info] (14:18:02.359) iccube.maxtablepartitioncount : 1024 [ main] [ info] (14:18:02.359) iccube.maxunresolvedrowscount : 65535 [ main] [ info] (14:18:02.360) iccube.mdxevalfastnonemptyaxis : true [ main] [ info] (14:18:02.360) iccube.mdxevallambdaprocessingmode : set_calc | parallel_axis [ main] [ info] (14:18:02.360) iccube.mdxevalmeasurevector : true [ main] [ info] (14:18:02.360) iccube.mdxevalunknownmembererror : true [ main] [ info] (14:18:02.361) iccube.olapenginesimultaneousrequestcount : -1 (actual:4) [ main] [ info] (14:18:02.361) iccube.requestcacheactive : true [ main] [ info] (14:18:02.361) iccube.requestcacheassertconsistency : false [ main] [ info] (14:18:02.361) iccube.requestcachemaxsize : 500000 [ main] [ info] (14:18:02.361) iccube.requestcachemode : [ main] [ info] (14:18:02.361) iccube.resultcachemode : memory [ main] [ info] (14:18:02.362) iccube.resultcachepolicy : crazydev.iccube.olap.eval.cache.result.cache.olapresultcachebufferedpolicy [ main] [ info] (14:18:02.362) iccube.resultcachesize : 16 [ main] [ info] (14:18:02.362) iccube.selectcellmaxcount : -1 [ main] [ info] (14:18:02.362) iccube.tostrmaxsize : 4096 [ main] [ info] (14:18:02.362) iccube.visualmode : non_visual_total [ main] [ info] (14:18:02.363) iccube.visualtotalsintermediatemembers : true [ docs-on-startup] [ info] (14:18:07.564) max mem : 16.0mb [ docs-on-startup] [ info] (14:18:07.565) max mem per cache : 4096kb [ docs-on-startup] [ info] (14:18:07.565) min mem per cache : 128kb
your resultcacheconfiguration correct; can check actual cache configuration using monitoring/runtime application (see picture attached).
the log file old way of configuring cache in iccube.xml , you've no such property in iccube.xml file you're seeing default values.
Comments
Post a Comment