随笔 - 229  文章 - 2  评论 - 511  阅读 - 84万
03 2011 档案
统计Wait_Queue
摘要:functionfunhelp(){$helpText=@"NAME:Collect_dm_os_wait_stats.ps1ThisscriptCollectWaitandQueueinformationfromDMVsys.dm_os_wait_statsThisisahardcodescript,youdon'tneedtospecifyanyparameter.Pleasemodify'computerList'ifyouwanttoaddmorecomputers..MakesureyouhaveaDisk_databaseinthehostwher 阅读全文
posted @ 2011-03-28 16:35 stswordman 阅读(397) 评论(0) 推荐(0) 编辑
各个数据库的io比例
摘要:select case df.database_id when DB_ID('distribution') then 'distDB' when DB_ID('tempdb') then 'tempdb' --add other needed database else 'otherDBs' end as dbName, case df.type when 0 then 'datafile' when 1 then 'logfile' else 'otherfile' 阅读全文
posted @ 2011-03-27 23:00 stswordman 阅读(526) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示