发现10.2.0.1在处理shared_servers的时候有点问题。
SHARED_SERVERS: Specifies the initial number of shared servers to start and the
minimum number of shared servers to keep. This is the only required parameter
for using shared servers.
The MAX_SHARED_SERVERS parameter specifies the maximum number of shared servers that can be automatically created by PMON.
当shared_servers的实际需求比参数设置的大时,比如我的DB中shared_servers=20,
但实际需求的在25个左右,这样就会出现类似下面的情况
select status,count(*) from v$shared_server group by status order by status
QUIT 2
WAIT(COMMON) 9
WAIT(RECEIVE) 11
其中QUIT按理说应该是DB试图将偶尔超出20个shared_server停止,但是QUIT这个状态却一直保持,无法退出。并且alert.log中时不时就会报告出现found dead shared server.
所以如果你的日志中频繁出现found dead shared server可能和这个有关。
SHARED_SERVERS: Specifies the initial number of shared servers to start and the
minimum number of shared servers to keep. This is the only required parameter
for using shared servers.
The MAX_SHARED_SERVERS parameter specifies the maximum number of shared servers that can be automatically created by PMON.
当shared_servers的实际需求比参数设置的大时,比如我的DB中shared_servers=20,
但实际需求的在25个左右,这样就会出现类似下面的情况
select status,count(*) from v$shared_server group by status order by status
QUIT 2
WAIT(COMMON) 9
WAIT(RECEIVE) 11
其中QUIT按理说应该是DB试图将偶尔超出20个shared_server停止,但是QUIT这个状态却一直保持,无法退出。并且alert.log中时不时就会报告出现found dead shared server.
所以如果你的日志中频繁出现found dead shared server可能和这个有关。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10341434/viewspace-617060/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10341434/viewspace-617060/