oracle 关闭 resource manager,关于resource_manager_plan 设置导致的数据库连接问题

今天下午突然大家的数据库都连不上了,起初以为是断线了,后拉经过从起监听、数据库、甚至服务器,都没有解决。而且,在本地和异地使用as

sysdba就可以登录,所以认为不是数据和监听的问题。

在客户端连接时报出:

sp2-1503

sp2-0152

两个错误,所以刚开始都是围绕这两个问题查找原因。网上所提供的解决方案都没能解决。

最后还是要通过查看日志,

发现resource_manager_plan

被改成'INTERNAL_QUIESCE'了,将其置空后,数据库即可连接。

ALTER SYSTEM SET resource_manager_plan=

'' SCOPE=BOTH;

INTERNAL_QUIESCE:

INTERNAL_QUIESCE -

freezes all sessions out (by setting max number of sessions to

0) except for SYS_GROUP

冻结所有会话除了sys_group组的用户。

RESOURCE_MANAGER_PLAN

specifies the top-level resource plan to use for an instance.

The resource manager will load this top-level plan along with all

its descendants (subplans, directives, and consumer groups). If you

do not specify this parameter, the resource manager is off by

default.

You can change the setting of this parameter using the

ALTER SYSTEM statement to turn on the resource manager

(if it was previously off) or to turn off the resource manager or

change the current plan (if it was previously on). If you specify a

plan that does not exist in the data dictionary, Oracle returns an

error message.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值