How to Monitor SQL Server Network Traffic

假如想象 提交于 2019-12-14 01:35:22

问题


I want to monitor the network traffic used by each transaction with Microsoft SQL Server, for example when a query ran on the SQL what was the size of the request & the response as it passed through the network interface.

Are there any tools which do this, especially free tools?


回答1:


Wireshark, filter capture on port 1433:

host [your sql server's ip] and port 1433



回答2:


Have You tried the SQL Profiler tool in MS SQL Server?

It's can be found under the Tools menu. To start a trace in it, click Create new trace and then select columns you want to monitor, followed by clicking Run.




回答3:


Built in performance monitor can track traffic if you set it up to do so and want to trace when not logged in.

Personally I almost always get by with Sam's suggestion and just watching queries I'm worried about.



来源:https://stackoverflow.com/questions/5840436/how-to-monitor-sql-server-network-traffic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!