Home >Database >Mysql Tutorial > SQLSERVER性能计数器的简单剖析

SQLSERVER性能计数器的简单剖析

WBOY
WBOYOriginal
2016-06-07 17:37:121296browse

SQLSERVER性能计数器的简单剖析 今晚看了这篇文章:SQL Server 2012新performance counter:非常实用的Batch Resp Statistics 文章里介绍到SQLSERVER2012新的性能计数器Batch Resp Statistics 其实我有一个问题: 当我的电脑里有多个版本的SQLSERVER或者多个

SQLSERVER性能计数器的简单剖析

今晚看了这篇文章:SQL Server 2012新performance counter:非常实用的Batch Resp Statistics

文章里介绍到SQLSERVER2012新的性能计数器“Batch Resp Statistics”

其实我有一个问题:当我的电脑里有多个版本的SQLSERVER或者多个SQLSERVER实例,,SQLSERVER是怎麽区分不同版本的不同计数器的呢?

 

比如下面SQL脚本,在SQL2012里执行可以看到新的性能计数器Batch Resp Statistics的信息

, 2 "CPU Time:Total(ms)" , 3 "CPU Time:Requests" , 4 "Elapsed Time:Total(ms)" , 5 "Elapsed Time:Requests" , , sys.dm_os_performance_counters ) os_pc PIVOT( ) ( "CPU Time:Total(ms)", 12 "CPU Time:Requests", 13 "Elapsed Time:Total(ms)", 14 "Elapsed Time:Requests" ) )AS Pvt;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn