Approaching Database Server Performance Issue 3

Published on by LakshmiSaahul,Dhana Royal

Approaching Database Server Performance Issue

In the last post, we have discussed the script to list the sessions which are waiting for resource or currently running. In this post let us see how to list the blocking sessions with required information.

This script will list the blocked and blocking statement information and will be helpful to troubleshoot. Below script will help us to identify the sessions which have an open transaction but not active . That is, a sessions with an open transaction but not running any statement in the last 30 seconds.

Advertising
To be informed of the latest articles, subscribe:
Comment on this post