问题
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