Monitor sessions and threads
You can monitor the number of active sessions and threads and the amount of resources that they are using. Monitoring sessions and threads is important for sessions that perform queries as well as sessions that perform inserts, updates, and deletes.
Some of the information that you can monitor for sessions and threads allows you to determine if an application is using a disproportionate amount of the resources.
Note: Session threads for a stored procedure with a PDQ priority
setting and a GROUP BY clause are not released until a session is
completed.