发版前提醒-----------

友情提醒:

1、发生产包or 测试包前请检查新包配置文件信息正确性,
2、数据库连接池默认连接数配置注意更改,生产应用中页面请求较多,默认配置不能满足生产需求,将有可能出现页面响应时间过长

3、【持续更新中】


https://www.cnblogs.com/aspirant/p/6747238.html
mysql show variables like '%max_connections%
Oracle
select count(*) from v$process --当前的数据库连接数
select value from v$parameter where name = 'processes'; --数据库允许的最大连接数
show parameter processes; --数据库允许的最大连接数
alter system set processes = value scope = spfile; --修改最大连接数
shutdown immediate;startup;--重启数据库
SELECT osuser, a.username,cpu_time/executions/1000000||'s', b.sql_text,machine
from v$session a, v$sqlarea b
where a.sql_address =b.address order by cpu_time/executions desc; --查看当前有哪些用户正在使用数据库

select count(*) from v$session --当前的session连接数

select count(*) from v$session where status='ACTIVE'; --并发连接数

逆风的方向更适合飞翔,不怕千万人阻挡,只怕自己投降!
原文地址:https://www.cnblogs.com/jackzz/p/9936643.html