ORA-25507错误 没有使资源管理器…
2017-05-02 10:44
447 查看
在执行alter system quiesce
restricted将数据库置于静默模式时,报ORA-25507错误。
SQL> alter system quiesce
restricted;
alter system quiesce restricted
*
ERROR at line 1:
ORA-25507: resource manager has not been continuously on
<<Database Administrator's
Guide>>上有这样一段话:You
must have the Database Resource Manager feature activated, and it
must have been activated since instance startup (all
instances in an Oracle Real Application Clusters environment) to
successfully issue the
facilities of the Database Resource Manager that non-DBA sessions
are prevented from becoming active. Also, while this statement is
in effect, any attempt to change the current resource plan will be
queued until after the system is unquiesced.
SQL> Select Plan From
Dba_Rsrc_Plans;
PLAN
------------------------------
SYSTEM_PLAN
INTERNAL_QUIESCE
INTERNAL_PLAN
SQL> alter system set
resource_manager_plan='SYSTEM_PLAN' scope=spfile
;
System altered.
SQL> startup force --需要重启数据库
ORACLE instance started.
Total System Global Area 122754448 bytes
Fixed Size 451984 bytes
Variable Size 88080384 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> alter system quiesce restricted;
System altered.
SQL> select active_state from
v$instacne;
select active_state from v$instacne
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select active_state from
v$instance;
ACTIVE_ST
---------
QUIESCED
SQL> alter system
unquiesce;
System altered.
SQL> select active_state from
v$instance;
ACTIVE_ST
---------
NORMAL
restricted将数据库置于静默模式时,报ORA-25507错误。
SQL> alter system quiesce
restricted;
alter system quiesce restricted
*
ERROR at line 1:
ORA-25507: resource manager has not been continuously on
<<Database Administrator's
Guide>>上有这样一段话:You
must have the Database Resource Manager feature activated, and it
must have been activated since instance startup (all
instances in an Oracle Real Application Clusters environment) to
successfully issue the
ALTER SYSTEM QUIESCE RESTRICTEDstatement. It is through the
facilities of the Database Resource Manager that non-DBA sessions
are prevented from becoming active. Also, while this statement is
in effect, any attempt to change the current resource plan will be
queued until after the system is unquiesced.
SQL> Select Plan From
Dba_Rsrc_Plans;
PLAN
------------------------------
SYSTEM_PLAN
INTERNAL_QUIESCE
INTERNAL_PLAN
SQL> alter system set
resource_manager_plan='SYSTEM_PLAN' scope=spfile
;
System altered.
SQL> startup force --需要重启数据库
ORACLE instance started.
Total System Global Area 122754448 bytes
Fixed Size 451984 bytes
Variable Size 88080384 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> alter system quiesce restricted;
System altered.
SQL> select active_state from
v$instacne;
select active_state from v$instacne
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select active_state from
v$instance;
ACTIVE_ST
---------
QUIESCED
SQL> alter system
unquiesce;
System altered.
SQL> select active_state from
v$instance;
ACTIVE_ST
---------
NORMAL
相关文章推荐
- opencv2.4.1&nbsp;没有&nbsp;Featu…
- import dump with error ORA-600[K…
- 没有缺点便是致命的缺点,&nbsp;:-P
- ORA-12154: TNS: 无法解…
- 右下角没有QQ图标&nbsp;解决方法
- 没有不可能&nbsp;手把手教你汉化苹果iPhone
- ORA-01555:&nbsp;snapshot&nbsp;too&nbsp;old
- 2013-05-15 美文《没有过不去…
- VC6&nbsp;下&nbsp;“没有找到mspdb60.dll“&nbsp;的…
- ORA-00922:missing&nbsp;or&nbsp;i…
- ORA-00119 Invalid specification …
- ORA-00600: internal er…
- Troubleshooting ORA-1555&nb…
- 调整eclipse 资源管理器的字体
- ORA-28056:Writing&nbsp;audit&amp;nb…
- orainstroot.sh 脚本
- ORA-1652: Unable To&nb…
- 自己DIY&nbsp;word2010脚注和尾注没有的…
- oracle 错误总结-ora-01033
- oracle&nbsp;tnsnames.ora配置