Leonard

In theory, there is no difference between theory and practice. But, in practice, there is.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
Oracle XE默认连接数好像是40个,如果process超出这个数字,再次申请连接就会被拒绝。

1,用system用户登录:

sqlplus system/password@xe

2,执行以下命令:

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;

3,重启Oracle XE数据库服务。
posted on 2010-12-22 11:51  Leonard Tse  阅读(1353)  评论(0)    收藏  举报