【翻译自mos文章】在10g中,当发生ORA-00020时,sqlplus登陆会报“connected to an idle instance”
2017-08-20 08:42
423 查看
在10g中。当发生ORA-00020时,sqlplus登陆会报“connected to an idle instance”
来源于:
Sqlplus Logon Reports 'connected to an idle instance' when ORA-20 happens in 10g (文档 ID 1370000.1)
说的比較经典, 不做翻译,直接转帖:
Information in this document applies to any platform.
Trying to start up the database reports:
The issue can be reproduced with the following steps:
1. Using a 10g database, build sufficient processes until an ORA-20 occurs
2. Then execute
NOTE:
Connecting from the OS command prompt using
$ sqlplus / as sysdba
the SYSDBA would get the "Connected" message
Bug 2935090 - SQLPLUS REPORTS CONNECT TO IDLE INSTANCE WHEN INSTANCE REACHES MAX PROCESSES.
The reason we don't display error ORA-20 is because you are login as
sysdba. Being DBA user you must be able to login regardless of the status of
the database, so that you can take the necessary action to rectify the
problem.
As when login as normal user, you are getting the appropriate error but does
not tell you the process limit. This is because the message is from rdbms
layer so we have no control of that. In any case, the cause and Action for
this message state very clear that what you need to do.
.
00020, 00000, "maximum number of processes (%s) exceeded"
// *Cause: All process state objects are in use.
// *Action: Increase the value of the PROCESSES initialization parameter.
The behavior has been changeg in Oracle 11g where it reports an 'ORA-20' instead of 'Connected to an idle instance.'
来源于:
Sqlplus Logon Reports 'connected to an idle instance' when ORA-20 happens in 10g (文档 ID 1370000.1)
说的比較经典, 不做翻译,直接转帖:
APPLIES TO:
Oracle Server - Enterprise Edition - Version: 10.1.0.4 to 10.2.0.5 - Release: 10.1 to 10.2Information in this document applies to any platform.
SYMPTOMS
When the maximum number of processes is reached, and a next normal logon reports an ORA-20, a subsequent local connect as sysdba reports:SQL> connect / as sysdba Connected to an idle instance.
Trying to start up the database reports:
ORA-01081: cannot start already-running ORACLE - shut it down first
The issue can be reproduced with the following steps:
1. Using a 10g database, build sufficient processes until an ORA-20 occurs
2. Then execute
SQL> connect / as sysdba
NOTE:
Connecting from the OS command prompt using
$ sqlplus / as sysdba
the SYSDBA would get the "Connected" message
CAUSE
This is expected behavior in Oracle 10g, and is explained in unpublishedBug 2935090 - SQLPLUS REPORTS CONNECT TO IDLE INSTANCE WHEN INSTANCE REACHES MAX PROCESSES.
The reason we don't display error ORA-20 is because you are login as
sysdba. Being DBA user you must be able to login regardless of the status of
the database, so that you can take the necessary action to rectify the
problem.
As when login as normal user, you are getting the appropriate error but does
not tell you the process limit. This is because the message is from rdbms
layer so we have no control of that. In any case, the cause and Action for
this message state very clear that what you need to do.
.
00020, 00000, "maximum number of processes (%s) exceeded"
// *Cause: All process state objects are in use.
// *Action: Increase the value of the PROCESSES initialization parameter.
SOLUTION
Ignore this 'Connected to an idle instance.' message and handle it just as a normal ORA-20 error.The behavior has been changeg in Oracle 11g where it reports an 'ORA-20' instead of 'Connected to an idle instance.'
相关文章推荐
- 【翻译自mos文章】在10g中,当发生ORA-00020时,sqlplus登陆会报“connected to an idle instance”
- Connected to an idle instance/ ORA-01034/ ORA-27101
- 关于sqlplus中出现"Connected to an idle instance"问题的处理
- Connected to an idle instance. ORA-01034: ORACLE not available
- "ORA-01012: not logged on"以及"Connected to an idle instance."解决思路
- Oracle 10g RAC sqlplus / as sysdba Connected to an idle instance
- 【翻译自mos文章】Oracle Cluster failed to start with ASM instance getting ORA-00443 ---改动/etc/resolv.conf所致
- Oracle环境变量引发“Connected to an idle instance.”错误
- 【翻译自mos文章】rman 备份时报:ORA-02396: exceeded maximum idle time
- 翻译mos文章11gR2 RAC Service Not Failing Over To Other Node When Instance Is Shut Down (文档 ID 1324574.1)
- Connected to an idle instance问题的小小仇恨
- 【翻译自mos文章】rman 备份时报:ORA-02396: exceeded maximum idle time
- Connected to an idle instance-RAC 10.2.0.4.1
- Connected to an idle instance
- RAC database open,但是sqlplus进去,提示Connected to an idle instance
- 连接一个运行的实例显示:"Connected to an Idle Instance"
- Connected to an idle instance 解决
- 【翻译自mos文章】Windows平台下的 Oraagent Memory Leak
- 【翻译自mos文章】ORA-19815, Flashback Logs-Space management
- 【翻译自mos文章】在11gR2/12c 的GI中,ORA_CRS_HOME 环境变量必须被unset