`

oracle查看连接数

阅读更多

--当前连接数
select count(*) from v$session unoin
--并发连接数
select count(*) 并发连接数 from v$session where status='ACTIVE' 
--查看不同用户的连接数
select username,count(username) from V$SESSION where username is not null group by username
--查询最大连接数(需具有sysdba权限)
show parameter processes;
--更改系统连接数
alter system set processes=1000 scope=spfile;

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics