如何查看oracle当前连接数,会话数
2016-01-13 · 做真实的自己 用良心做教育
千锋教育
千锋教育专注HTML5大前端、JavaEE、Python、人工智能、UI&UE、云计算、全栈软件测试、大数据、物联网+嵌入式、Unity游戏开发、网络安全、互联网营销、Go语言等培训教育。
向TA提问
关注
展开全部
查看session:
select * from v$session where username is not null
select username,count(username) from v$session where username is not null group by username
当前连接数:
select count(*) from v$process
查看连接数参数的设置情况
select value from v$parameter where name = 'processes'
Select count(*) from v$session where status='ACTIVE' #并发连接数
select * from v$session where username is not null
select username,count(username) from v$session where username is not null group by username
当前连接数:
select count(*) from v$process
查看连接数参数的设置情况
select value from v$parameter where name = 'processes'
Select count(*) from v$session where status='ACTIVE' #并发连接数
展开全部
http://blog.csdn.net/miwucc/article/details/4563918
当前会话数:
select * from v$session where username is not null;
select username,count(username) from v$session where username is not null group by username;
当前连接数:
select count(*) from v$process;
Select count(*) from v$session where status='ACTIVE'; #并发连接数
查看连接数参数的设置情况
select value from v$parameter where name = 'processes';
当前会话数:
select * from v$session where username is not null;
select username,count(username) from v$session where username is not null group by username;
当前连接数:
select count(*) from v$process;
Select count(*) from v$session where status='ACTIVE'; #并发连接数
查看连接数参数的设置情况
select value from v$parameter where name = 'processes';
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
select * from V$session
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询