查看某个数据库在缓存中的脏数据
使用系统动态视图sys.dm_os_bufffer_descriptors可以查找某个数据库在缓存中的脏数据:select count(*) from sys.dm_os_buffer_descriptorswhere is_modified=1 and database_id=DB_ID()返回值的单位是数据页。is_mod...
注册时间:2013-07-11