Oracle 视图 ALL_SCHEDULER_RUNNING_JOBS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_SCHEDULER_RUNNING_JOBS是SCHEDULER中现在正在运行的作业视图,其中包含有关这些作业的详细信息,例如:
*JOB_NAME:当前正在运行的作业名称
*SCHEMA_USER:运行这个作业的数据库用户的姓名
*INITIAL_START_DATE:作业的初始开始时间
*END_DATE:作业的结束时间
*ELAPSED_TIME:作业实际运行的时间
*SLAVE_PID:在运行时启动的子进程的进程ID
这个视图可以用来查询给定作业当前正在运行的信息,也可以用来了解特定作业在指定时间段内正在正在运行的详细情况,这有助于我们更好地管理作业和解决作业中出现的问题。
使用这个视图可以通过执行一个查询来检索信息:
SELECT * FROM all_scheduler_running_jobs
WHERE job_name=’JOB1′ AND schema_user=’SCOTT’;
这个查询会返回与指定作业和用户的所有当前正在运行的信息。
官方英文解释
ALL_SCHEDULER_RUNNING_JOBS
displays information about the running Scheduler jobs accessible to the current user.
Related Views
-
DBA_SCHEDULER_RUNNING_JOBS
displays information about all running Scheduler jobs in the database. -
USER_SCHEDULER_RUNNING_JOBS
displays information about the running Scheduler jobs owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the running Scheduler job |
|
|
|
Name of the running Scheduler job |
|
|
|
Subname of the running Scheduler job (for a job running a chain step) |
|
|
|
Job style:
|
|
|
|
Indicates whether the detached attribute is set for the job ( |
|
|
|
Identifier of the session running the Scheduler job |
|
|
|
Process number of the slave process running the Scheduler job |
|
|
|
Process number of the operating system slave process running the scheduler job |
|
|
|
Database instance number of the slave process running the Scheduler job |
|
|
|
Resource consumer group of the session in which the Scheduler job is running |
|
|
|
Elapsed time since the Scheduler job was started |
|
|
|
CPU time consumed by the running Scheduler job, if available |
|
|
|
Owner of the destination object (if used), else NULL |
|
|
|
Destination that this job is running on |
|
|
|
Owner of the login credential used for this running job, if any |
|
|
|
Name of the login credential used for this running job, if any |
|
|
|
Log ID used for this running job. This column maps to the |
See Also:
-
“DBA_SCHEDULER_RUNNING_JOBS”
-
“USER_SCHEDULER_RUNNING_JOBS”