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数据库服务。

版权声明:本文为Leon5原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/Leon5/archive/2010/12/22/1913692.html