I've got an app server that's pulling 100's of gigbytes per hour from one of my DB servers. I'd like to find out the session(s) and the query(ies) that are responsible. I've confirmed the issue by consistently observing a high wait time for async_network_io waits over several 30 second periods of time. How do I find out the session/query that's responsible? Is there a DMV that shows the # of bytes returned to the client by session or by query? If so I have not yet found it. dm_exec_connections shows num_writes but not num_bytes_written. If I look at the top connections by num_writes I always see an idle session.
Chuck