Data4Strategy

——合抱之木,生于毫末;九层之台,起于累土

XMLA清空Cube缓存

调优时,有时需要清空缓存来对比。使用xmla命令clearcache来完成。
清空整个库的缓存:
<ClearCache xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Object>
        <DatabaseID>Adventure Works DW</DatabaseID>
    </Object>
</ClearCache>

清空单个cube的缓存:
<ClearCache xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Object>
        <DatabaseID>Adventure Works DW</DatabaseID>
        <CubeID>Adventure Works DW</CubeID>
    </Object>
</ClearCache>
不支持清除单个分区的缓存





posted @ 2013-01-23 12:21  John.Xiong  阅读(325)  评论(0编辑  收藏  举报