【翻译自mos文章】job 不能自己主动运行的解决方法

job 不能自己主动运行的解决方法

參考原文:

Jobs do not execute automatically (Doc ID 309945.1)

适用于:

Oracle Server - Enterprise Edition - Version: 9.2.0.4

This problem can occur on any platform.

症状:

Job 不能自己主动运行。

JOB_QUEUE_PROCESSES 已经设置为大于0的值

你已经检查过 sga 变量kkjsre 的值,该值为0

样例:

SQL> CONN SYS/*********** AS SYSDBA

Connected.

SQL> oradebug setmypid

Statement processed.

SQL> oradebug  dumpvar sga kkjsre

word kkjsre_ [20B7480, 20B7484) = 00000000

原因:

让job 能自己主动执行,sga变量kkjsre必须为1

取消正在shutdown的过程(Canceling a shutdown in progress ) 是 这个变量值为0的一个原因。

解决方式:

1)以sys登陆

2) 运行以下的命令:

SQL> exec  dbms_ijob.set_enabled(true);

3) 验证 kkjsre 是否被设置为 1

SQL> oradebug setmypid

Statement processed.

SQL> oradebug  dumpvar sga kkjsre

word kkjsre_ [20B7480, 20B7484) = 00000001

4) 确认job 開始自己主动执行。

假设没有,重新启动db。并再次检查kkjsre的值,该值应该为1,然后job应该能够自己主动执行了。

时间: 2024-08-01 18:28:52

【翻译自mos文章】job 不能自己主动运行的解决方法的相关文章

【翻译自mos文章】得到正在运行job的 session id

得到正在运行job的 session id 参考原文: How to get the session Id of the Running Job (Doc ID 1604966.1) 适用于: Oracle Database - Enterprise Edition - Version 9.2.0.8 and later Information in this document applies to any platform. 目标: 怎么得到正在运行job的session id --->注意:

【翻译自mos文章】回收 asm磁盘空间的方法

回收 asm磁盘空间的方法 參考原文: How To Reclaim Asm Disk Space? (Doc ID 351866.1) 适用于: Oracle Database - Enterprise Edition - Version 10.2.0.1 and later Information in this document applies to any platform. ***Checked for relevance on 12-Jan-2010*** 目标: 你有一套2节点的r

【翻译自mos文章】当使用原地升级的方法将db升级到11.2.0.4之后,windows注册表丢失autostart属性

来源于: Windows Registry Missing Autostart Attribute after In-Place Upgrade of Oracle Database from 11.2.0.3 to 11.2.0.4 (文档 ID 1963067.1) APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1.0 to 11.2.0.4 [Release 11.2] Information in th

【翻译自mos文章】job 不能自己主动执行--这是另外一个mos文章,本文章有13个解决方法

job 不能自己主动执行--这是另外一个mos文章 參考原文: Jobs Not Executing Automatically (Doc ID 313102.1) 适用于: Oracle Database - Enterprise Edition - Version 9.2.0.3 to 10.2.0.4 [Release 9.2 to 10.2] Information in this document applies to any platform. 症状: job已经非常长时间没有自己主

【翻译自mos文章】运行utlpwdmg.sql之后报ORA-28003, ORA-20001, ORA-20002, ORA-20003, ORA-20004 错误

运行utlpwdmg.sql之后报ORA-28003, ORA-20001, ORA-20002, ORA-20003, ORA-20004 错误. 适用于: Oracle Server - Enterprise Edition - Version 8.1.7.0 and later Information in this document applies to any platform. Checked for relevance on 15-Sep-2012 原因: 运行 utlpwdmg.

【翻译自mos文章】job 不能自动运行--这是另外一个mos文章,本文章有13个解决方法

job 不能自动运行--这是另外一个mos文章 参考原文: Jobs Not Executing Automatically (Doc ID 313102.1) 适用于: Oracle Database - Enterprise Edition - Version 9.2.0.3 to 10.2.0.4 [Release 9.2 to 10.2] Information in this document applies to any platform. 症状: job已经很长时间没有自动运行了.

【翻译自mos文章】在一次失败的 'Shutdown Immediate'之后,数据库job 不能运行。

在一次失败的 'Shutdown Immediate'之后,数据库job 不能运行. 参考原文: Database Jobs Do Not Run After a Failed 'Shutdown Immediate' (Doc ID 434690.1) 适用于: Oracle Server - Enterprise Edition - Version 9.2.0.1 to 10.2.0.1 [Release 9.2 to 10.2] Information in this document a

【翻译自mos文章】SGA_TARGET与SHMMAX的关系

SGA_TARGET与SHMMAX的关系 参考原文: Relationship Between SGA_TARGET and SHMMAX (文档 ID 1527109.1) 适用于: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2] Information in this document applies to any platform. 目的: 解释了参数文件中

【翻译自mos文章】rac数据库中,HC_<SID>.dat文件被其他Oracle_Home下的实例所使用。

rac数据库中,HC_<SID>.dat文件被其他Oracle_Home下的实例所使用. 参考原文: RAC database HC_<SID>.dat is used by instance of different Oracle_Home (Doc ID 1618161.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.0 and later Information in this document ap