Oracle诊断案例-Job任务停止执行


昨天接到研发人员报告,数据库定时任务未正常执行,导致某些操作失败。

开始介入处理该事故.
系统环境:
SunOS DB 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-4
Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production

1.首先介入检查数据库任务

> > $ sqlplus "/ as sysdba" >
> SQL*Plus: Release 9.2.0.3.0 - Production on Wed Nov 17 20:23:53 2004 >
> Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. >
>
> Connected to: > Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production > With the Partitioning, OLAP and Oracle Data Mining options > JServer Release 9.2.0.3.0 - Production >
> SQL> select job,last_date,last_sec,next_date,next_sec,broken,failures from dba_jobs; >
> JOB LAST_DATE LAST_SEC NEXT_DATE NEXT_SEC B FAILURES INTERVAL > ---------- --------- ---------------- --------- ---------------- - ---------- ---------------------------- > 31 16-NOV-04 01:00:02 17-NOV-04 01:00:00 N 0 trunc(sysdate+1)+1/24 > 27 16-NOV-04 00:00:04 17-NOV-04 00:00:00 N 0 TRUNC(SYSDATE) + 1 > 35 16-NOV-04 01:00:02 17-NOV-04 01:00:00 N 0 trunc(sysdate+1)+1/24 > 29 16-NOV-04 00:00:04 17-NOV-04 00:00:00 N 0 TRUNC(SYSDATE) + 1 > 30 01-NOV-04 06:00:01 01-DEC-04 06:00:00 N 0 trunc(add_months(sysdate,1),'MM')+6/24 > 65 16-NOV-04 04:00:03 17-NOV-04 04:00:00 N 0 trunc(sysdate+1)+4/24 > 46 16-NOV-04 02:14:27 17-NOV-04 02:14:27 N 0 sysdate+1 > 66 16-NOV-04 03:00:02 17-NOV-04 18:14:49 N 0 trunc(sysdate+1)+3/24 >
> 8 rows selected.


Published At
Categories with 数据库类
comments powered by Disqus