I need to get a log of user access to our SQL Server
so I can track average and peak concurrency usage. Is there a hidden table or something I'm missing that has this information for me? To my knowledge the application I'm looking at does not track this at the application level.
I'm currently working on SQL Server 2000
, but will moving to SQL Server 2005
shortly, so solutions for both are greatly appreciated.
Right-click on the top-level object for a SQL Server connection, and select Activity Monitor.
Connect the SQL server instance via SQL Server Management Studio. Navigate to Security → Right-click “Audits” and select “New audit” → Type in an name for the audit and select the location where the SQL Server audit logs will be stored → Click “OK” → Right-click the newly created audit and select “Enable audit”.
In SQL Server 2005, go to tree view on the left and select Server (name of the actual server) > Management > Activity Monitor. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With