Welcome to EMC Consulting Blogs Sign in | Join | Help

SSIS Junkie

SSAS: Clearing the Analysis Services cache

A long time ago I posted a blog entry explaining how to do an effective restart of SQL Server. I have no idea whether its proved useful to anyone else but it has been invaluable to me because I'm forever needing to know how to do this and I can never remember the syntax.

Well for the very same reason I'm posting up here the XMLA command for clearing the Analysis Services cache as well. Here it is:

<ClearCache xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
  <
Object>
    <
DatabaseID>Adventure Works DW</DatabaseID>
  </
Object>
</
ClearCache>

My thanks to the newly anointed MVP Darren Gosbell who told me how to do this!

-Jamie

 

Published 07 July 2006 14:44 by jamie.thomson

Comments

 

DGosbell said:

Glad to be of assistance :)
July 10, 2006 13:01
 

Jorg Klein's Microsoft Business Intelligence Blog [Macaw] said:

Often I see developers on different forums asking how they can clear the SSAS cache. You can achieve this by restarting SSAS, which is done quite often. Restarting is not necessary though, it’s possible to clear the cache of an SSAS database with an XMLA

February 13, 2009 15:47
New Comments to this post are disabled

This Blog

Syndication

Powered by Community Server (Personal Edition), by Telligent Systems