设置数据库Session最大连接数

来源:互联网 发布:合肥网络推广 编辑:程序博客网 时间:2024/06/11 05:41

 

 

--查询哪些应用占用session以及多少
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';

--设置最大连接数

alter system set processes = 5000 scope = spfile;

原创粉丝点击