ORA-00104: deadlock detected; all public servers blocked waiting for resources

上一篇 / 下一篇  2008-06-19 00:47:56 / 不允许评论 / 个人分类:《Oracle数据库精讲与疑难解析》

Environment(环境)〗

OSsolaris 9

DBoracle10g

简要描述:数据库被配置成共享数据库模式(shared server)。

Symptom(现象)

在使用数据的过程中,报告ORA-00104: deadlock detected; all public servers blocked waiting for resources错误。

Cause(原因)      

这是因为共享服务器进程的数量已经达到MAX_SHARED_SERVERS指定的限制,但是系统还需要更多的共享服务器进程。要解决这个问题,需要提高MAX_SHARED_SERVERS的值。

Action(方法)    

Step01连接到oracle

$ sqlplus

SQL*Plus: Release10.1.0.3.0 - Production on Thu Aug 3 15:24:16 2006

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Enter user-name: sys@wm as SYSDBA

Enter password:

Connected to an idle instance.

SQL>

wm是网络服务名(Net Service Name)

Step02显示MAX_SHARED_SERVERS的当前值。

SQL> show parameter shared

NAME                                TYPE       VALUE

------------------------------------ ----------- -----------------------

……

max_shared_servers                  integer    6

shared_servers                      integer    5

……

Step03alter system…提高MAX_SHARED_SERVERS的值。

SQL> ALTER SYSTEM SET MAX_SHARED_SERVERS=20 scope=both

 2 /

System altered.


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-09-06  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 5650
  • 日志数: 45
  • 文件数: 1
  • 建立时间: 2008-04-10
  • 更新时间: 2008-07-25

RSS订阅

Open Toolbar