DBA_JOBS_RUNNING
lists all jobs that are currently running in the instance.
Column | Datatype | NULL | Description |
|
| | Identifier of process that is executing the job. See "V$LOCK". |
|
| | Identifier of job. This job is currently executing. |
|
| | Number of times this job started and failed since its last success. |
|
| | Date that this job last successfully executed. |
|
| | Same as |
|
| | Date that this job started executing. |
|
| | Same as |
|
| | Indicates which instance can execute or is executing the job; the default is |
Note:
1. Lists all jobs that are currently running in the local database.
select
djr.sid ,
djr.job ,
dj.log_user ,
dj.priv_user ,
dj.what ,
to_char(djr.last_date,'MM/DD') ,
substr(djr.last_sec,1,5) ,
to_char(djr.this_date,'MM/DD') ,
substr(djr.this_sec,1,5) ,
djr.failures
from
dba_jobs dj,
dba_jobs_running djr
where
djr.job = dj.job;
No comments:
Post a Comment