Managing Caches (XMLA)
Applies To: SQL Server 2016 Preview
You can use the ClearCache command in XML for Analysis (XMLA) to clear the cache of a specified dimension or partition. Clearing the cache forces Microsoft SQL Server Analysis Services to rebuild the cache for that object.
The Object property of the ClearCache command can contain an object reference only for one of the following objects. An error occurs if an object reference is for an object other than one of following objects:
Clears the cache for all dimensions and partitions contained in the database.
Clears the cache for the specified dimension.
Clears the cache for all partitions contained in the measure groups for the cube.
- Measure group
Clears the cache for all partitions contained in the measure group.
Clears the cache for the specified partition.