oracle的DBA_JOBS表,ORACLE DBA_JOBS 视图

Oracle的DBA_JOBS视图提供了数据库中所有作业的详细信息,包括作业ID、提交用户、默认权限用户、执行时间、间隔、失败次数、PL/SQL块正文以及NLS环境等。该视图对于监控和管理数据库作业执行情况至关重要。

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

DBA_JOBS

All jobs in the database

Columns

___________________________

JOB

Identifier of job. Neither import/export nor repeated executions change it.

LOG_USER

USER who was logged in when the job was submitted

PRIV_USER

USER whose default privileges apply to this job

SCHEMA_USER

select * from bar means select * from schema_user.bar

LAST_DATE

Date that this job last successfully executed

LAST_SEC

Same as LAST_DATE. This is when the last successful execution started.

THIS_DATE

Date that this job started executing (usually null if not executing)

THIS_SEC

Same as THIS_DATE. This is when the last successful execution started.

NEXT_DATE

Date that this job will next be executed

NEXT_SEC

Same as NEXT_DATE. The job becomes due for execution at this time.

TOTAL_TIME

Total wallclock time spent by the system on this job,in seconds

BROKEN

If Y,no attempt is being made to run this job. See dbms_jobq.broken(job).

INTERVAL

A date function

FAILURES

How many times has this job started and failed since its last success?

WHAT

Body of the anonymous PL/SQL block that this job executes

NLS_ENV

alter session parameters describing the NLS environment of the job

MISC_ENV

a versioned raw maintained by the kernel

INSTANCE

Instance number restricted to run the job

http://ss64.com/orad/DBA_JOBS.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值