Groups | Blog | Home
all groups > sql server programming > july 2006 >

sql server programming : Cache


איל שפירא
7/18/2006 10:39:01 PM

Hi ,
How can I get a list of all tables that has page \ pages in the cache right
now (snapshot of the cache for tables not proc ? )

Thanks,
Eyal
Omnibuzz
7/18/2006 11:09:02 PM
you can query syscacheobjects, something like this..

select * from master..syscacheobjects where objtype = 'usrtab'

For more info on data cache.. check this link

http://www.sql-server-performance.com/rd_data_cache.asp


Hope this helps.
--
-Omnibuzz (The SQL GC)

http://omnibuzz-sql.blogspot.com/

איל שפירא
7/20/2006 8:06:01 AM


Hi - syscacheobjects does not contain tables .

AddThis Social Bookmark Button