我在清除BI服务器上的Mondrian模式缓存时遇到了问题。我去Tools->Refresh->Mondrian cache。但是clear_mondrian_schema_cache.xaction似乎并没有清除缓存。
当源数据发生变化时,我需要更新结果,但每次发出查询时,我似乎都会得到缓存的结果。
有人能帮助我在API中启用周期性的模式缓存刷新吗?
发布于 2014-09-02 09:12:55
我使用以下bash脚本。它工作得很好,没有任何API faff :)。这相当于在控制台中单击tools > refresh > mondrian cache。
变量schema是您在模式工作台应用程序中看到的模式的名称。
#!bin/bash
#
# script to clean pentaho cache
user=XXX
pass=XXX
host=localhost
schema=Reporting%20schemas
wget --no-check-certificate http://${host}:2310/pentaho/content/analyzer/ajax/clearCache?catalog=${schema}\&userid=${user}\&password=${pass}对五旬节支助的信贷
https://stackoverflow.com/questions/21480221
复制相似问题