查询数据库连接数

oracle 是 select * from v$session

postgresql 是 select * from pg_stat_activity

mysql 是 show full processlist

原文地址:https://www.cnblogs.com/xiongjinpeng/p/2523765.html