【翻译自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 applies to any platform.

***Checked for relevance on 25-Jul-2012***

症状:

在发出了一个‘shutdown immediate‘ 之后,如果在一个小时之后还没有执行,oracle server 自动取消这个操作。

一条消息会出现在alert日志中:

SHUTDOWN: Active sessions prevent database close operation

不幸的是, 关闭所有 作为shutdown process 一部分的job queue slave进程 有额外的影响,

这个影响就是--任何在dba_jobs里边的job都无法运行。

这回影响很大范围的功能,比如统计信息收集,复制传播,物化视图刷新等等

原因:

这是期望的行为。一旦‘shutdown‘ 命令被发出,shutdown 必须被执行。

shutdown 过程不能回退。这是因为instance 在shutdown conceled后 不会live。

解决方案:

请执行下面的步骤:

1. 若在DBA_JOBS_RUNNING中的job有相关的操作系统进程 依然存在,这些进程应该从os级别被kill掉

2.发出 shutdown immediate

3.监控database 的alert log.如果新的‘Shutdown: waiting for active calls to complete‘ 消息出现,执行下面的:

shutdown abort

startup restrict

shutdown immediate

startup

推荐在abort database 之前,要有一个好的备份可用。

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

时间: 2024-08-24 14:09:57

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

【翻译自mos文章】怎么找到OGG Director Server使用的数据库和用户名?

APPLIES TO: Management Pack for Oracle GoldenGate - Version: 1.0.0.0 - Release: 1.0 Information in this document applies to any platform. Activity Console SOLUTION Question The Director Server is installed, but how do I know which database and user i

【翻译自mos文章】怎么找到OGG Director Server使用的数据库和username?

APPLIES TO: Management Pack for Oracle GoldenGate - Version: 1.0.0.0 - Release: 1.0 Information in this document applies to any platform. Activity Console SOLUTION Question The Director Server is installed, but how do I know which database and user i

【翻译自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文章】使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法

使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法 参考原文: How to Copy asm files between remote ASM instances using ASMCMD command (Doc ID 785580.1) 适用于: Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.2 [Release 11.1 to 11.2] Information in thi

【翻译自mos文章】修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法

修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Manager for Oracle Database - Version 10.1.0.4 to 11.2.0.3 [Release 10.1 to 11.2] In

【翻译自mos文章】使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案。

使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案. 参考原文: ORA-01555 Using Automatic Undo Management - Causes and Solutions (Doc ID 269814.1) 适用于: Oracle Database - Enterprise Edition - Version 9.0.1.0 and later Information in this document

【翻译自mos文章】改变数据库用户sysman(该用户是DB Control Repository 的schema)密码的方法

改变数据库用户sysman(该用户是DB Control Repository 的schema)密码的方法 参考原文: How To Change the Password of the Database User Sysman (DB Control Repository Schema) (Doc ID 259379.1) 适用于: Enterprise Manager for Oracle Database - Version 10.1.0.2 to 11.2.0.3 [Release 10

【翻译自mos文章】oracle密码管理策略

oracle密码管理策略 参考原文: Oracle Password Management Policy (Doc ID 114930.1) 细节: 密码管理通过使用profile来建立. 当密码过期后,如果user有能力独立地从 end-user application(前台业务软件)修改密码的话,通常的推荐是只指派给这些schemas 一个profile,该profile有  password aging an expiration features . 通常这意味着application(

【翻译自mos文章】找到'cursor: pin S wait on X' 等待事件的阻塞者session(即:持有者session)

找到'cursor: pin S wait on X' 等待事件的阻塞者session(即:持有者session) 来源于: How to Determine the Blocking Session for Event: 'cursor: pin S wait on X' (Doc ID 786507.1) 适用于: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2