Oracle 视图 ALL_SCHEDULER_CHAIN_STEPS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle 视图 ALL_SCHEDULER_CHAIN_STEPS 是用来查看 Oracle 数据库定义的 Scheduler 链的步骤的。Scheduler 链 是用来组成一系列有组织的任务,它们在某个未来的时刻在特定的时间间隔内自动执行。
ALL_SCHEDULER_CHAIN_STEPS 视图的结构有以下字段:
CHAIN_NAME: Scheduler 链的名字
CHAIN_OWNER: Scheduler 链的拥有者
STEP_ORDER: Scheduler 链中定义的步骤的顺序
PROCESS_NAME:执行链步骤的调度程序
PROCESS_ORDER:执行调度程序的顺序
想要查看所有定义了的 Scheduler 链中第一步实际执行的进程,可以执行下面的 SQL 语句:
SELECT CHAIN_NAME, CHAIN_OWNER, PROCESS_NAME, PROCESS_ORDER
FROM ALL_SCHEDULER_CHAIN_STEPS
WHERE STEP_ORDER = 1;
官方英文解释
ALL_SCHEDULER_CHAIN_STEPS
displays information about the defined steps of the chains accessible to the current user (that is, those chains that the user has ALTER
or EXECUTE
privileges for).
Related Views
-
DBA_SCHEDULER_CHAIN_STEPS
displays information about the defined steps of all chains in the database. -
USER_SCHEDULER_CHAIN_STEPS
displays information about the defined steps of the chains owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the Scheduler chain the step is in |
|
|
|
Name of the Scheduler chain the step is in |
|
|
|
Name of the chain step |
|
|
Owner of the program that runs during the step |
|
|
|
Name of the program that runs during the step |
|
|
|
Owner of the event schedule that this step waits for |
|
|
|
Name of the event schedule that this step waits for |
|
|
|
Owner of the source queue into which the event will be raised |
|
|
|
Name of the source queue into which the event will be raised |
|
|
|
Name of the AQ agent used by the user on the event source queue (for a secure queue) |
|
|
|
Boolean expression used as the subscription rule for an event on the source queue |
|
|
|
Owner of the credential to be used for an external step job |
|
|
|
Name of the credential to be used for an external step job |
|
|
|
Destination host on which a remote step job will run |
|
|
|
Indicates whether the step should be skipped ( |
|
|
|
Indicates whether the step should be paused after running ( |
|
|
|
Indicates whether the step should be paused before running ( |
|
|
|
Indicates whether the step should be restarted on database recovery ( |
|
|
|
Indicates whether the step should be restarted on application failure ( |
|
|
|
Type of the step:
|
|
|
|
Timeout for waiting on an event schedule |
See Also:
-
“DBA_SCHEDULER_CHAIN_STEPS”
-
“USER_SCHEDULER_CHAIN_STEPS”