Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 How to determine the traffic of a database

Author  Topic 

fireblade80
Starting Member

2 Posts

Posted - 2008-10-12 : 10:29:47
Hello everybody!

I am concerned how to determine the amount of traffic (in bytes) that a particular database on a SQL Server is generating in a period of time (say, a day). I would prefer a solution featuring only SQL Server 2005 functionality, rather than listening to ports for traffic.

Thank you for reading my post!

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-10-12 : 15:19:24
You can choose your database as Filter in SQL profiler and trace whatever you are looking for
Go to Top of Page

fireblade80
Starting Member

2 Posts

Posted - 2008-10-12 : 17:57:03
Thanks sodeep, but how can I do this programatically (from C#.NET), since I need the information to implement a sort of dynamic load splitting between multiple database servers?
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-10-13 : 04:02:21
See @@PACK_SENT



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -