Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: how to remove objects cached in data cache?

$
0
0

SImply unbind the objects from their named cache.  Then, bind the objects again back to their named cache.  The "re-bind" step doesn't have to be done if we are talking about "default data cache".

 

For objects bound to named cache other than "default data cache":

 

exec sp_unbindcache <dbname>,<tablename>,<indexname>

 

exec sp_bindcache <cachename>,<dbname>,<tablename>,<indexname>

 

Now data will be read from disk on first retreival.

 

For "default data cache" objects:

 

exec sp_unbindcache <dbname>,<tablename>,<indexname>



Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>