摘要:
SELECT type as 'plan cache store', buckets_count FROM sys.dm_os_memory_cache_hash_tables WHERE type IN ('CACHESTORE_OBJCP', 'CACHESTORE_SQLCP'); SELEC 阅读全文
摘要:
You have to either choose dir-monitoring and file-change-notification with its drawback of using SMB resources or periodic file attribute check with i 阅读全文
摘要:
create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId) drop index StatisticsTagArea_AreaId on StatisticsTagArea create inde 阅读全文
摘要:
select er.session_id, CAST(csql.text AS varchar(255)) AS CallingSQL from master.sys.dm_exec_requests er WITH (NOLOCK) CROSS APPLY fn_get_sql (er.sql_h 阅读全文