DBA_JOBS

本文详细介绍了DBA_JOBS视图,该视图用于描述数据库中的所有作业,包括作业标识符、登录用户、权限用户等关键字段,以及与之相关的USER_JOBS视图,适用于数据库管理员和高级用户。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DBA_JOBS

DBA_JOBS describes all jobs in the database.

Related View

USER_JOBS describes the jobs owned by the current user.

ColumnDatatypeNULLDescription
JOBNUMBERNOT NULLIdentifier of job. Neither import/export nor repeated executions change this value.
LOG_USERVARCHAR2(30)NOT NULLLogin user when the job was submitted
PRIV_USERVARCHAR2(30)NOT NULLUser whose default privileges apply to this job
SCHEMA_USERVARCHAR2(30)NOT NULLDefault schema used to parse the job

For example, if the SCHEMA_USER is SCOTT and you submit the procedure HIRE_EMP as a job, the Oracle Database looks for SCOTT.HIRE_EMP

LAST_DATEDATE Date on which this job last successfully executed
LAST_SECVARCHAR2(8) Same as LAST_DATE. This is when the last successful execution started.
THIS_DATEDATE Date that this job started executing (usually null if not executing)
THIS_SECVARCHAR2(8) Same as THIS_DATE. This is when the last successful execution started.
NEXT_DATEDATENOT NULLDate that this job will next be executed
NEXT_SECVARCHAR2(8) Same as NEXT_DATE. This is when the last successful execution started.
TOTAL_TIMENUMBER Total wall clock time spent by the system on this job (in seconds) since the first time this job executed. This value is cumulative.
BROKENVARCHAR2(1) Y: no attempt is made to run this job

N: an attempt is made to run this job

INTERVALVARCHAR2(200)NOT NULLA date function, evaluated at the start of execution, becomes next NEXT_DATE
FAILURESNUMBER Number of times the job has started and failed since its last success
WHATVARCHAR2(4000) Body of the anonymous PL/SQL block that the job executes
NLS_ENVVARCHAR2(4000) Session parameters describing the NLS environment of the job
MISC_ENVRAW(32) Other session parameters that apply to this job
INSTANCENUMBER ID of the instance that can execute or is executing the job. The default is 0.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值