程序員備忘

          java技術(shù)
          posts - 8, comments - 0, trackbacks - 0, articles - 0

          怎樣查看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


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 连江县| 济宁市| 铜川市| 静安区| 宜兰市| 安溪县| 新安县| 隆子县| 桃园市| 社会| 乌鲁木齐市| 当雄县| 乐至县| 岑溪市| 十堰市| 交城县| 镇巴县| 景泰县| 邯郸市| 萨嘎县| 冕宁县| 定远县| 武山县| 修水县| 凤山市| 宜丰县| 应用必备| 宜昌市| 尉犁县| 大关县| 宁城县| 浏阳市| 简阳市| 海原县| 交城县| 鄂尔多斯市| 高州市| 灵川县| 来凤县| 梧州市| 炎陵县|