当前位置: 首页 > 工具软件 > jobs > 使用案例 >

ALL_SCHEDULER_JOBS

宰父浩漫
2023-12-01

ALL_SCHEDULER_JOBS

ALL_SCHEDULER_JOBS displays information about the Scheduler jobs accessible to the current user.

Related Views

  • DBA_SCHEDULER_JOBS displays information about all Scheduler jobs in the database.

  • USER_SCHEDULER_JOBS displays information about the Scheduler jobs owned by the current user. This view does not display the OWNER column.

ColumnDatatypeNULLDescription
OWNERVARCHAR2(30)NOT NULLOwner of the Scheduler job
JOB_NAMEVARCHAR2(30)NOT NULLName of the Scheduler job
JOB_SUBNAMEVARCHAR2(30) Subname of the scheduler job (for a job running a chain step)
JOB_CREATORVARCHAR2(30) Original creator of the job
CLIENT_IDVARCHAR2(64) Client identifier of the user creating the job
GLOBAL_UIDVARCHAR2(32) Global user identifier of the user creating the job
PROGRAM_OWNERVARCHAR2(4000) Owner of the program associated with the job
PROGRAM_NAMEVARCHAR2(4000) Name of the program associated with the job
JOB_TYPEVARCHAR2(16) Inline job action type:
  • PLSQL_BLOCK

  • STORED_PROCEDURE

  • EXECUTABLE

  • CHAIN

JOB_ACTIONVARCHAR2(4000) Inline job action
NUMBER_OF_ARGUMENTSNUMBER Inline number of job arguments
SCHEDULE_OWNERVARCHAR2(4000) Owner of the job's schedule (can be a window or a window group)
SCHEDULE_NAMEVARCHAR2(4000) Name of the job's schedule (can be a window or a window group)
SCHEDULE_TYPEVARCHAR2(12) The type of schedule. Possible values are as follows:
  • IMMEDIATE - start date and repeat interval are null

  • ONCE - repeat interval is null

  • PLSQL - PL/SQL expression used as schedule

  • CALENDAR - Oracle calendaring expression used as schedule

  • EVENT - event schedule

  • NAMED - a named schedule

  • WINDOW - window used as schedule

  • WINDOW_GROUP - window group used as schedule

START_DATETIMESTAMP(6) WITH TIME ZONE Original scheduled start date of the job (for an inline schedule)
REPEAT_INTERVALVARCHAR2(4000) Inline schedule PL/SQL expression or calendar string
EVENT_QUEUE_OWNERVARCHAR2(30) Owner of the source queue into which the event will be raised
EVENT_QUEUE_NAMEVARCHAR2(30) Name of the source queue into which the event will be raised
EVENT_QUEUE_AGENTVARCHAR2(30) Name of the AQ agent used by the user on the event source queue (if it is a secure queue)
EVENT_CONDITIONVARCHAR2(4000) Boolean expression used as the subscription rule for the event on the source queue
EVENT_RULEVARCHAR2(65) Name of the rule used by the coordinator to trigger the event-based job
END_DATETIMESTAMP(6) WITH TIME ZONE Date after which the job will no longer run (for an inline schedule)
JOB_CLASSVARCHAR2(30) Name of the job class associated with the job
ENABLEDVARCHAR2(5) Indicates whether the job is enabled (TRUE) or not (FALSE)
AUTO_DROPVARCHAR2(5) Indicates whether the job will be dropped when it has completed (TRUE) or not (FALSE)
RESTARTABLEVARCHAR2(5) Indicates whether the job can be restarted (TRUE) or not (FALSE)
STATEVARCHAR2(15) Current state of the job:
  • DISABLED

  • RETRY SCHEDULED

  • SCHEDULED

  • RUNNING

  • COMPLETED

  • BROKEN

  • FAILED

  • REMOTE

  • SUCCEEDED

  • CHAIN_STALLED

JOB_PRIORITYNUMBER Priority of the job relative to other jobs in the same class
RUN_COUNTNUMBER Number of times the job has run
MAX_RUNSNUMBER Maximum number of times the job is scheduled to run
FAILURE_COUNTNUMBER Number of times the job has failed to run
MAX_FAILURESNUMBER Number of times the job will be allowed to fail before being marked broken
RETRY_COUNTNUMBER Number of times the job has retried, if it is retrying
LAST_START_DATETIMESTAMP(6) WITH TIME ZONE Last date on which the job started running
LAST_RUN_DURATIONINTERVAL DAY(9) TO SECOND(6) Amount of time the job took to complete during the last run
NEXT_RUN_DATETIMESTAMP(6) WITH TIME ZONE Next date on which the job is scheduled to run
SCHEDULE_LIMITINTERVAL DAY(3) TO SECOND(0) Time after which a job which has not run yet will be rescheduled
MAX_RUN_DURATIONINTERVAL DAY(3) TO SECOND(0) Maximum amount of time for which the job will be allowed to run
LOGGING_LEVELVARCHAR2(4) Amount of logging that will be done pertaining to the job:
  • OFF

  • RUNS

  • FULL

STOP_ON_WINDOW_CLOSEVARCHAR2(5) Indicates whether the job will stop if a window associated with the job closes (TRUE) or not (FALSE)
INSTANCE_STICKINESSVARCHAR2(5) Indicates whether the job is sticky (TRUE) or not (FALSE)
RAISE_EVENTSVARCHAR2(4000) List of job events to raise for this job. Possible values are:
  • JOB_STARTED

  • JOB_SUCCEEDED

  • JOB_FAILED

  • JOB_BROKEN

  • JOB_COMPLETED

  • JOB_STOPPED

  • JOB_SCH_LIM_REACHED

  • JOB_DISABLED

  • JOB_CHAIN_STALLED

  • JOB_OVER_MAX_DUR

SYSTEMVARCHAR2(5) Indicates whether the job is a system job (TRUE) or not (FALSE)
JOB_WEIGHTNUMBER Weight of the job
NLS_ENVVARCHAR2(4000) NLS environment of the job
SOURCEVARCHAR2(128) Source global database identifier
DESTINATIONVARCHAR2(128) Destination global database identifier
COMMENTSVARCHAR2(240) Comments on the job
FLAGSNUMBER This column is for internal use.
 类似资料:

相关阅读

相关文章

相关问答