Home > Database > Mysql Tutorial > body text

求一款sqlserver 2008 性能检测工具

WBOY
Release: 2016-06-07 15:39:44
Original
1412 people have browsed it

SQL Server自带的Profiler 这个肯定是首选, 然后在开启以下几个监控 SET STATISTICSIOON //可以准确的看到SQL读取数据的次数 SETSHOWPLAN_ALL ON //显示[返回有关语句执行情况的详细信息,并估计语句对资源的需求] SETSTATISTICS Time ON //显示语句执行的

SQL Server自带的Profiler 这个肯定是首选,

然后在开启以下几个监控 

SET STATISTICS IO ON  //可以准确的看到SQL读取数据的次数

 

SET SHOWPLAN_ALL  ON  //显示[返回有关语句执行情况的详细信息,并估计语句对资源的需求]

SET STATISTICS Time ON   //显示语句执行的时间 包括CPU 语句的计算 等等 

还有DBCC 的语句可以直接看到所执行的SQL语句的各种信息,这个LZ找Google吧 

 

 

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!