select username,count(username) from v$session where username is not null group by username;--查询各个用户占用连接数情况 select count(*) AS JAVACOUNT from v$session where username='PCMS' and SCHEMANAME='JDBC Thin Client';--查询PCMS用户下,jdbc占用的连接数
select username,count(username) from v$session where username is not null group by username;--查询各个用户占用连接数情况 select count(*) AS JAVACOUNT from v$session where username='PCMS' and SCHEMANAME='JDBC Thin Client';--查询PCMS用户下,jdbc占用的连接数
转载于:https://www.cnblogs.com/penghq/p/10058108.html