IT精英俱樂部

          方便自己查閱,僅此而已!

          統(tǒng)計(jì)

          留言簿(4)

          閱讀排行榜

          評論排行榜

          解決Oracle XE允許連接的用戶數(shù)不足問題



          在數(shù)據(jù)庫服務(wù)器上運(yùn)行 sqlplus system/password@xe (其中 system 是數(shù)據(jù)庫用戶無需改變;password 是數(shù)據(jù)庫密碼應(yīng)指定為實(shí)際密碼;xe 是數(shù)據(jù)庫實(shí)例名稱) ,然后執(zhí)行:

          alter system set session_cached_cursors=200 scope=spfile;
          alter system set session_max_open_files=200 scope=spfile;
          alter system set sessions=20 scope=spfile;
          alter system set license_max_sessions=200 scope=spfile;
          alter system set license_sessions_warning=200 scope=spfile;
          alter system set processes=200 scope=spfile;

          執(zhí)行后,重啟 Oracle XE 數(shù)據(jù)庫實(shí)例即可。要重啟 Oracle XE 數(shù)據(jù)庫實(shí)例:

          1. 如安裝于 Windows 上,先運(yùn)行 net stop oracleservicexe,再運(yùn)行 net start oracleservicexe 即可。也可通過“服務(wù)”管理控制臺重啟 OracleServiceXE 服務(wù)。
          2. 如安裝于 Linux 上,先運(yùn)行 /etc/init.d/oracle-xe start,再運(yùn)行 /etc/init.d/oracle-xe stop 即可。

          此時(shí),可以支持 179 個(gè)額外的連接會話。

          posted on 2009-11-27 19:54 suplayer 閱讀(426) 評論(0)  編輯  收藏 所屬分類: Database

          主站蜘蛛池模板: 屏边| 寿光市| 六盘水市| 武宁县| 荥阳市| 内乡县| 嘉义县| 松滋市| 梁平县| 元氏县| 五寨县| 奉贤区| 阜宁县| 阳原县| 通州区| 白城市| 长寿区| 封丘县| 隆昌县| 丹江口市| 尉氏县| 龙江县| 台南市| 泾阳县| 忻城县| 建湖县| 甘孜县| 南岸区| 扎鲁特旗| 宾川县| 广丰县| 教育| 麻江县| 辉南县| 泾川县| 门头沟区| 江西省| 宜城市| 兴业县| 喀喇| 石屏县|