select count(*) from v$process;
elect count(*) from v$session;
select count(*) from v$session where status=
select sid
select value from v$parameter where name =
或者命令
alter system set processes =
(需要重啟數據庫才能實現連接數的修改)
重啟數據庫
SQL>shutdown immediate;
SQL>startup;
查看當前有哪些用戶正在使用數據
SQL>select osuser
SQL>from v$session a
SQL>where a
SQL>order by cpu_time/executions desc;
備注
啟動oracle
su
SQL>sqlplus system/pwd as sysdba //進入sql
SQL>startup //啟動數據庫
SQL>lsnrctl start //啟動監聽
sqlplus
SQL>shutdown immediate; //關閉數據庫
SQL>startup mount;
SQL>alter database open;
From:http://tw.wingwit.com/Article/program/Oracle/201311/18867.html