How to monitor a hung database instance in MS SQL Server / Oracle