/dL,D8Jl^!?U0Monitor name :MS SQL Server. Cannot create measurement SQLServer|User Connections| on machine 127.0.0.1.51Testing软件测试网:H7nE6}C
51Testing软件测试网0^-M&?
_l ^
cDetails:在计算机上找不到指定的对象。
]Q(e.q[)uwSp-m2H0%e!am@W$vJ!b~l051Testing软件测试网\4orqq_%rY|
51Testing软件测试网ikW lHX'aZ5XO2KHint:
3RDv2s8rn!Do051Testing软件测试网u+@:wbL?Check that there is such a measurement on this machine.
``d1Rn!i(er/L&O L051Testing软件测试网1~g'X9^L3iCheck that you selected the right platform. for the monitored machine in the Add Machine dialog box.51Testing软件测试网.vKs6V#PVx
51Testing软件测试网-z
o-Py]5L!mNote: When you monitor a Win2000 machine from an NT, some counters may not be available.
qEKXa
H051Testing软件测试网.J.NK@m hFTry to delete this measurement and add it again (use the Add Resources dialog box ) (entry point: CFactory::Addmeasurement ). [MsgId: MMSG-47296]51Testing软件测试网 ssL*th`
51Testing软件测试网k\#HO2?;gV F51Testing软件测试网cPiux1pLJ$c;C
6f2_m0@!](qo0监控SQLSERVER时,能增加度量。但是只有系统资源相关的度量有数据,而和sqlserver相关的度量却没有数据,此时你可能会怀疑,是不是数据库的连接配置有问题,但你在开始-程序菜单中,手工打开SQL SERVER软件时,是可以连接并登录的,说明SQL SERVER连接配置是没有问题的。
H~(P2t"F%k!K:P/Q0M#SI,\eE9[i*x0
dd0\BclL%K0(z\:n2]"uR9^MI t051Testing软件测试网,j Cj'Q e*X*]
51Testing软件测试网qK-p)Oc%I&u可能的解决方法:51Testing软件测试网z:H{8HNqx(id
wyT(D7{l"{0改为在System Resource Graphs中通过像添加WindowsResources一样的方式手工添加SQLServer计数器则可以添加成功,添加的对象是SQLServer:General Statistics51Testing软件测试网#L_CI4v!s}B
一般来说,应该收集哪些SQLServer的性能指标?
$M(HF,F-\[1oDt0一般需要监控以下指标:
9m/P9F)V
Kt A00d,Nn&`+OE01)SQLServer资源监控中指标缓存点击率(Cache Hit Ratio),该值越高越好。如果持续低于80%,应考虑增加内存。
VD"D4@lBQ"J+E051Testing软件测试网4AI7bd)~1Uis2)如果Full Scans/sec(全表扫描/秒)计数器显示的值比1或2高,则应分析你的查询以确定是否确实需要全表扫描,以及SQL查询是否可以被优化。
P~d
f6G%|5W0n-F2b1q\/]z6h03)Number of Deadlocks/sec(死锁的数量/秒):死锁对应用程序的可伸缩性非常有害,并且会导致恶劣的用户体验。该计数器的值必须为0。
]*ge8Z"e:a051Testing软件测试网9Lr$lAN4)Lock Requests/sec(锁请求/秒),通过优化查询来减少读取次数,可以减少该计数器的值。
!@6D,E LH#T/s0