ORACLE会话数、连接数配置
生活随笔
收集整理的這篇文章主要介紹了
ORACLE会话数、连接数配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
ORACLE的會話數和連接數參數配置
以sysdba身份登錄
sqlplus sys/xxxx as sysdba;
查看最大連接數:
show parameter processes;
show parameter sessions;
查看當前最大連接數:
select count(*) from v$process;
select count(*) from v$session;
修改最大連接數:
alter system set processes=1500 scope=spfile;
alter system set sessions=2000 scope=spfile;
創建pfile
create pfile from spfile;
重啟數據庫:
shutdown immediate;
startup;
以sysdba身份登錄
sqlplus sys/xxxx as sysdba;
查看最大連接數:
show parameter processes;
show parameter sessions;
查看當前最大連接數:
select count(*) from v$process;
select count(*) from v$session;
修改最大連接數:
alter system set processes=1500 scope=spfile;
alter system set sessions=2000 scope=spfile;
創建pfile
create pfile from spfile;
重啟數據庫:
shutdown immediate;
startup;
總結
以上是生活随笔為你收集整理的ORACLE会话数、连接数配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux中默认的JDK版本设置
- 下一篇: 确认并移动鼠标位置