GaussDB-MY_SCHEDULER_JOBS

46 阅读3分钟

GaussDB-MY_SCHEDULER_JOBS

MY_SCHEDULER_JOBS displays information about all DBE_SCHEDULER scheduled tasks owned by the current user in the database. By default, this view exists in the PG_CATALOG and SYS schemas and all users can access this view.

NameTypeDescription
job_nametextName of a scheduler job.
job_subnamecharacter varying(128)Not supported. Set it to NULL.
job_styletextAction mode of a scheduler job.
job_creatornameCreator of a scheduler job.
client_idcharacter varying(65)Not supported. Set it to NULL.
global_uidcharacter varying(33)Not supported. Set it to NULL.
program_ownercharacter varying(4000)Owner of a program referenced by a scheduler job.
program_nametextName of the program referenced by a scheduler job.
job_typecharacter varying(16)Type of the inline program of a scheduler job.
job_actiontextProgram content of a scheduler job.
number_of_argumentstextNumber of parameters of a scheduler job.
schedule_ownercharacter varying(4000)Not supported. Set it to NULL.
schedule_nametextName of the schedule referenced by a scheduler job.
schedule_typecharacter varying(12)Not supported. Set it to NULL.
start_datetimestamp without time zoneStart time of a scheduler job.
repeat_intervaltextPeriod of a scheduler job.
event_queue_ownercharacter varying(128)Not supported. Set it to NULL.
event_queue_namecharacter varying(128)Not supported. Set it to NULL.
event_queue_agentcharacter varying(523)Not supported. Set it to NULL.
event_conditioncharacter varying(4000)Not supported. Set it to NULL.
event_rulecharacter varying(261)Not supported. Set it to NULL.
file_watcher_ownercharacter varying(261)Not supported. Set it to NULL.
file_watcher_namecharacter varying(261)Not supported. Set it to NULL.
end_datetimestamp without time zoneEnd time of a scheduler job.
job_classtextName of the scheduler job class to which a scheduler job belongs.
enabledbooleanStatus of a scheduler job.
auto_droptextStatus of the automatic deletion function of a scheduler job.
restart_on_recoverycharacter varying(5)Not supported. Set it to NULL.
restart_on_failurecharacter varying(5)Not supported. Set it to NULL.
state"char"Status of a scheduler job.
job_prioritynumericNot supported. Set it to NULL.
run_countnumericNot supported. Set it to NULL.
uptime_run_countnumericNot supported. Set it to NULL.
max_runsnumericNot supported. Set it to NULL.
failure_countsmallintNumber of scheduler job failures.
uptime_failure_countnumericNot supported. Set it to NULL.
max_failuresnumericMaximum number of failures allowed before the status of a scheduler job is marked as broken.
retry_countnumericNot supported. Set it to NULL.
last_start_datetimestamp without time zoneLast time when a scheduler job was started.
last_run_durationinterval day to second(6)Last execution duration of a scheduler job.
next_run_datetimestamp without time zoneNext execution time of a scheduler job.
schedule_limitinterval day to second(0)Not supported. Set it to NULL.
max_run_durationinterval day to second(0)Not supported. Set it to NULL.
logging_levelcharacter varying(11)Not supported. Set it to NULL.
store_outputcharacter varying(5)Specifies whether to store the output information of all scheduler jobs.
stop_on_window_closecharacter varying(5)Not supported. Set it to NULL.
instance_stickinesscharacter varying(5)Not supported. Set it to NULL.
raise_eventscharacter varying(4000)Not supported. Set it to NULL.
systemcharacter varying(5)Not supported. Set it to NULL.
job_weightnumericNot supported. Set it to NULL.
nls_envcharacter varying(4000)Not supported. Set it to NULL.
sourcecharacter varying(128)Not supported. Set it to NULL.
number_of_destinationsnumericNot supported. Set it to NULL.
destination_ownercharacter varying(261)Not supported. Set it to NULL.
destinationtextTarget name of a scheduler job.If the value of destination is CCN, the task is a CCN job. For details, see DBE_SCHEDULER.
credential_ownercharacter varying(128)Not supported. Set it to NULL.
credential_nametextCertificate name of a scheduler job.
instance_idoidOID of the current database.
deferred_dropcharacter varying(5)Not supported. Set it to NULL.
allow_runs_in_restricted_modecharacter varying(5)Not supported. Set it to NULL.
commentstextComments of a scheduler job.
flagsnumericNot supported. Set it to NULL.
restartablecharacter varying(5)Not supported. Set it to NULL.
has_constraintscharacter varying(5)Not supported. Set it to NULL.
connect_credential_ownercharacter varying(128)Not supported. Set it to NULL.
connect_credential_namecharacter varying(128)Not supported. Set it to NULL.
fail_on_script_errorcharacter varying(5)Not supported. Set it to NULL.

更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…