The meaning of the table and its fields in Quartz

 

1|0qrtz_job_details 

qrtz_job_details stores the detailed information of each configured jobDetail

Table field meaning
sched_name Schedule name
job_name The name of the job in the cluster
job_group The name of the group of the job in the cluster
description Detailed description information
job_class_name The fully qualified name of a notejob implementation class in the cluster.Quartz finds the job class according to this path to the classpath
is_durable Whether to persist, set this attribute to 1, Quartz will persist the job to the database
is_nonconcurrent Whether to execute concurrently
is_update_data Whether to update data
requests_recovery Whether to accept the recovery execution, the default is false, if RequestsRecovery is set to true, the job will be re-executed
job_data A blob field to store the persistent job object

 

 

2|0qrtz_triggers 

qrtz_triggers saves the basic information of the trigger

Table field meaning
sched_name Schedule name
trigger_name Trigger name
trigger_group The name of the group to which the trigger belongs
job_name Foreign key of job_name of qrtz_job_details table
job_group Foreign key of qrtz_job_details table job_group
description Detailed description information
prev_fire_time Last trigger time (ms)
next_fire_time The next trigger time, the default is -1, which means it will not be triggered automatically
priority priority
trigger_state The current trigger state, set to ACQUIRED, if set to WAITING, the job will not be triggered (WAITING: waiting for PAUSED: suspended ACQUIRED: normal execution BLOCKED: blocking ERROR: error)
trigger_type The type of trigger, using cron expression
start_time Starting time
end_time End Time
calendar_name Calendar name, foreign key to the calendar_name field of the qrtz_calendars table
misfire_instr Measures or strategies to compensate execution
job_data A blob field to store the persistent job object

 

 

3|0qrtz_cron_triggers 

qrtz_cron_triggers stores the cron expression table of triggers.

Table field meaning
sched_name Schedule name
trigger_name The foreign key of the trigger_name of the qrtz_triggers table
trigger_group Foreign key of the trigger_group of the qrtz_triggers table
cron_expression cron expression
time_zone_id Time zone

 

 

4|0qrtz_scheduler_state 

qrtz_scheduler_state stores the note instance information in the cluster. Quartz will periodically read the information in this table to determine the current state of each instance in the cluster.

 

Table field meaning
sched_name Schedule name
instance_name The name of the org.quartz.scheduler.instanceId configuration in the previous configuration file will be written into this field
last_checkin_time Last check time
checkin_interval Check interval

 

 

5|0qrtz_blob_triggers Trigger

qrtz_blob_triggers Trigger as Blob type storage (used when Quartz users use JDBC to create their own custom Trigger type, JobStore does not know how to store the instance)

 

Table field meaning
sched_name Schedule name
trigger_name The foreign key of the trigger_name of the qrtz_triggers table
trigger_group Foreign key of the trigger_group of the qrtz_triggers table
blob_data A blob field to store persistent Trigger objects

 

 

6|0qrtz_calendars 

qrtz_calendars 以 Blob 类型存储存放日历信息, quartz可配置一个日历来指定一个时间范围。

表字段 含义
sched_name 调度名称
calendar_name 日历名称
calendar 一个blob字段,存放持久化calendar对象

 

 

7|0qrtz_fired_triggers 

qrtz_fired_triggers 存储与已触发的 Trigger 相关的状态信息,以及相联 Job 的执行信息。

表字段 含义
sched_name 调度名称
entry_id 调度器实例id
trigger_name qrtz_triggers表trigger_name的外键
trigger_group qrtz_triggers表trigger_group的外键
instance_name 调度器实例名
fired_time 触发的时间
sched_time 定时器制定的时间
priority 优先级
state 状态
job_name 集群中job的名字
job_group 集群中job的所属组的名字
is_nonconcurrent 是否并发
requests_recovery 是否接受恢复执行,默认为false,设置了RequestsRecovery为true,则会被重新执行

 

 

8|0qrtz_locks

qrtz_locks 存储程序的悲观锁的信息(假如使用了悲观锁)。

表字段 含义
sched_name 调度名称
lock_name 悲观锁名称

 

 

9|0qrtz_paused_trigger_grps 

qrtz_paused_trigger_grps 存储已暂停的 Trigger 组的信息。

表字段 含义
sched_name 调度名称
trigger_group qrtz_triggers表trigger_group的外键

 

 

10|0qrtz_simple_triggers

qrtz_simple_triggers 存储简单的 Trigger,包括重复次数,间隔,以及已触发的次数。

表字段 含义
sched_name 调度名称
trigger_name qrtz_triggers表trigger_ name的外键
trigger_group qrtz_triggers表trigger_group的外键
repeat_count 重复的次数统计
repeat_interval 重复的间隔时间
times_triggered 已经触发的次数

 

 

11|0qrtz_simprop_triggers 

qrtz_simprop_triggers 存储CalendarIntervalTrigger和DailyTimeIntervalTrigger

表字段 含义
SCHED_NAME 调度名称
TRIGGER_NAME qrtz_triggers表trigger_ name的外键
TRIGGER_GROUP qrtz_triggers表trigger_group的外键
STR_PROP_1 String类型的trigger的第一个参数
STR_PROP_2 String类型的trigger的第二个参数
STR_PROP_3 String类型的trigger的第三个参数
INT_PROP_1 int类型的trigger的第一个参数
INT_PROP_2 int类型的trigger的第二个参数
LONG_PROP_1 long类型的trigger的第一个参数
LONG_PROP_2 long类型的trigger的第二个参数
DEC_PROP_1 decimal类型的trigger的第一个参数
DEC_PROP_2 decimal类型的trigger的第二个参数
BOOL_PROP_1 Boolean类型的trigger的第一个参数
BOOL_PROP_2 Boolean类型的trigger的第二个参数

Guess you like

Origin blog.csdn.net/Tom_sensen/article/details/111642238