发布网友 发布时间:2022-04-22 02:03
共1个回答
热心网友 时间:2022-05-01 20:55
#查看当前不为空的连接
select * from v$session where username is not null;
#查看不同用户的连接数
select username,count(username) from v$session where username is not null group by username ;
#查看某一用户status是active的session
select * from v$session where username is not null and username='CWUK_HELEN' and status='ACTIVE';