怎樣查看oracle當(dāng)前的連接數(shù)呢?只需要用下面的SQL語句查詢一下就可以了。 select * from v$session where username is not null select username,count(username) from v$session where username is not null group by username #查看不同用戶的連接數(shù) select count(*) from v$session #連接數(shù) Select count(*) from v$session where status='ACTIVE' #并發(fā)連接數(shù) show parameter processes #最大連接 alter system set processes = value scope = spfile;重啟數(shù)據(jù)庫 #修改連接 /home/oracle9i/app/oracle9i/dbs/init.ora /home/oracle9i/app/oracle9i/dbs/spfilexxx.ora ## open_cursor |
|