SQL Server - Activity Monitor - Open Transaction

A client is running a database server with the following OS and database:
Windows Server 2003 with Service Pack 2 (SP2), Enterprise Edition 32-bit  
Microsoft SQL Server 2005 - (Intel X86) Standard Edition

We recently had an issue with two open transactions identified in SQL Server Activity Monitor that severly affected database perfomance. We rarely see open transction across multiple client sites (months apart / hundreds of sites) which leads me to believe there is no issue with the application but rather something fluky happening in SQL Server at that time.  

We have some time sensitive operations about to start and was hoping that there is a way to be notified if an open transaction exists for more than x minutes. The other option is to dedicate a resource to manually watch the activity monitor for mulitple days which is not ideal.

Any advice would be appreciated!
JFranks22Asked:
Who is Participating?
 
DmitriyCommented:
Check this out:

http://msdn.microsoft.com/en-us/library/ms366331.aspx

You could create some sort of a batch to run the commands and send an alert to you if the transaction is running long.
0
 
JFranks22Author Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.