SQLSERVERHow to check current pool size

Posted sekihin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQLSERVERHow to check current pool size相关的知识,希望对你有一定的参考价值。

SELECT  des.program_name
      , des.login_name
      , des.host_name
      , COUNT(des.session_id) [Connections]
FROM    sys.dm_exec_sessions des
INNER JOIN sys.dm_exec_connections DEC
        ON des.session_id = DEC.session_id
WHERE   des.is_user_process = 1
        AND des.status != running
GROUP BY des.program_name
      , des.login_name
      , des.host_name
HAVING  COUNT(des.session_id) > 2
ORDER BY COUNT(des.session_id) DESC

 

以上是关于SQLSERVERHow to check current pool size的主要内容,如果未能解决你的问题,请参考以下文章

LeetCode 114. Flatten Binary Tree to Linked List 动态演示

vbscript VBA:move_to_checked

[NPM] npm check to update the dependencies

14 - How to check replication status

ora-00600 to check

When one check column is selected how to make the user not to select other check columns in EXTJS gr