利用typeperf工具收集SQL Server性能数据
2008-11-08 10:08:46 来源:WEB开发网输入以下命令可以获得tempdb这个数据库实例所有的计数器列表:
TYPEPERF -qx "SQLServer:Databases" | FIND "tempdb"
你可以看到类似以下的输出内容:
SQLServer:Databases(tempdb)Data File(s) Size (KB)
SQLServer:Databases(tempdb)Log File(s) Size (KB)
SQLServer:Databases(tempdb)Log File(s) Used Size (KB)
SQLServer:Databases(tempdb)Percent Log Used
SQLServer:Databases(tempdb)Active Transactions
SQLServer:Databases(tempdb)Transactions/sec
SQLServer:Databases(tempdb)Repl. Pending Xacts
SQLServer:Databases(tempdb)Repl. Trans. Rate
SQLServer:Databases(tempdb)Log Cache Reads/sec
SQLServer:Databases(tempdb)Log Cache Hit Ratio
SQLServer:Databases(tempdb)Bulk Copy Rows/sec
SQLServer:Databases(tempdb)Bulk Copy Throughput/sec
SQLServer:Databases(tempdb)Backup/Restore Throughput/sec
SQLServer:Databases(tempdb)DBCC Logical Scan Bytes/sec
SQLServer:Databases(tempdb)Shrink Data Movement Bytes/sec
SQLServer:Databases(tempdb)Log Flushes/sec
SQLServer:Databases(tempdb)Log Bytes Flushed/sec
SQLServer:Databases(tempdb)Log Flush Waits/sec
SQLServer:Databases(tempdb)Log Flush Wait Time
SQLServer:Databases(tempdb)Log Truncations
SQLServer:Databases(tempdb)Log Growths
SQLServer:Databases(tempdb)Log Shrinks
更多精彩
赞助商链接