How do I retrieve past queries that caused blocking
Posted on 2010-09-15
Today, our main SQL 2008 production server experienced major blocking that eventually resulted in serious timeouts for our application. We have Idera installed to monitor the server, but are not running the query monitor because of the excess load it would put on the server. Idera did track that there were about 120 blocked sessions that occurred at one point this morning. Unfortunately, by the time I ran my queries to view the blocked sessions, it finally cleared up. I am trying to find out what those queries were so we can find out what the root of the problem was.
One thing we do is we have transaction log backups that occur every 10 minutes. Is there any way we can capture what was in that transaction log and output it to a file that we can review? I just want to make sure this situation does not occur again.
Any assistance in this matter is greatly appreciated.