qrtz_triggers


Description

{“what”:“Scheduler trigger records that define when and how jobs are fired.”,“why”:“Without it, the scheduler cannot track or execute scheduled jobs.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:11.096404804+00:00”}

Columns

Column Type Size Nulls Auto Default Children Parents Comments
sched_name varchar 120 null
qrtz_blob_triggers.sched_name fk_qrtz_blob_triggers_triggers R
qrtz_cron_triggers.sched_name fk_qrtz_cron_triggers_triggers R
qrtz_simple_triggers.sched_name fk_qrtz_simple_triggers_triggers R
qrtz_simprop_triggers.sched_name fk_qrtz_simprop_triggers_triggers R
qrtz_job_details.sched_name fk_qrtz_triggers_job_details R

{“what”:“Scheduler instance name; part of composite primary key.”,“why”:“Distinguishes triggers across multiple scheduler instances in shared tables.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:11.221095939+00:00”}

trigger_name varchar 200 null
qrtz_blob_triggers.trigger_name fk_qrtz_blob_triggers_triggers R
qrtz_cron_triggers.trigger_name fk_qrtz_cron_triggers_triggers R
qrtz_simple_triggers.trigger_name fk_qrtz_simple_triggers_triggers R
qrtz_simprop_triggers.trigger_name fk_qrtz_simprop_triggers_triggers R

{“what”:“Unique trigger name within its group and scheduler.”,“why”:“Identifies a specific trigger for update, pause, or removal.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:11.260941419+00:00”}

trigger_group varchar 200 null
qrtz_blob_triggers.trigger_group fk_qrtz_blob_triggers_triggers R
qrtz_cron_triggers.trigger_group fk_qrtz_cron_triggers_triggers R
qrtz_simple_triggers.trigger_group fk_qrtz_simple_triggers_triggers R
qrtz_simprop_triggers.trigger_group fk_qrtz_simprop_triggers_triggers R

{“what”:“Group name for organizing triggers; part of composite key.”,“why”:“Allows grouping triggers for bulk operations like pausing all in a group.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:11.685639601+00:00”}

job_name varchar 200 null
qrtz_job_details.job_name fk_qrtz_triggers_job_details R

{“what”:“Name of the job this trigger fires.”,“why”:“Links trigger to its job definition; without it, firing would have no target.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:12.141874912+00:00”}

job_group varchar 200 null
qrtz_job_details.job_group fk_qrtz_triggers_job_details R

{“what”:“Group name of the associated job.”,“why”:“Together with job_name uniquely identifies the job to execute.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:13.109646869+00:00”}

description varchar 250 √ null

{“what”:“Free-text description of the trigger’s purpose.”,“why”:“Provides human-readable context for maintenance and debugging.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:13.540936567+00:00”}

next_fire_time int8 19 √ null

{“what”:“Epoch milliseconds of the next scheduled fire time.”,“why”:“Determines when the scheduler should wake up; missing it breaks scheduling.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.256584549+00:00”}

prev_fire_time int8 19 √ null

{“what”:“Epoch milliseconds of the last fire time.”,“why”:“Used to compute misfire and for audit; without it, recovery after restart is ambiguous.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.585959063+00:00”}

priority int4 10 √ null

{“what”:“Priority for firing when multiple triggers are due; higher wins.”,“why”:“Resolves ordering conflicts when several triggers fire at the same time.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.647535605+00:00”}

trigger_state varchar 16 null

{“what”:“Current state: WAITING, PAUSED, ACQUIRED, etc.”,“why”:“Determines whether the trigger is eligible for firing; without it, scheduler cannot decide.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.736573634+00:00”}

trigger_type varchar 8 null

{“what”:“Type of trigger: SIMPLE, CRON, etc.”,“why”:“Defines how next fire time is computed; wrong type breaks scheduling logic.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.759056058+00:00”}

start_time int8 19 null

{“what”:“Epoch milliseconds when the trigger becomes active.”,“why”:“Prevents firing before the start; without it, early fires are possible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.781507908+00:00”}

end_time int8 19 √ null

{“what”:“Epoch milliseconds after which the trigger stops firing.”,“why”:“Limits trigger lifetime; without it, trigger would fire indefinitely.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.836405759+00:00”}

calendar_name varchar 200 √ null

{“what”:“Name of a calendar that excludes certain times.”,“why”:“Applies holiday exclusions; without it, trigger would fire on excluded days.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:14.896001467+00:00”}

misfire_instr int2 5 √ null

{“what”:“Instruction code for handling missed fires (e.g., 1=ignore).”,“why”:“Defines behavior when a fire time is missed; without it, misfire policy is unknown.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:15.016598762+00:00”}

job_data bytea 2147483647 √ null

{“what”:“Serialized job data map (binary) passed to the job.”,“why”:“Carries job-specific parameters; without it, job loses its configuration.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:11:15.061434054+00:00”}

Indexes

Constraint Name Type Sort Column(s)
pk_qrtz_triggers Primary key Asc/Asc/Asc sched_name + trigger_name + trigger_group
idx_qrtz_t_c Performance Asc/Asc sched_name + calendar_name
idx_qrtz_t_g Performance Asc/Asc sched_name + trigger_group
idx_qrtz_t_j Performance Asc/Asc/Asc sched_name + job_name + job_group
idx_qrtz_t_jg Performance Asc/Asc sched_name + job_group
idx_qrtz_t_n_g_state Performance Asc/Asc/Asc sched_name + trigger_group + trigger_state
idx_qrtz_t_n_state Performance Asc/Asc/Asc/Asc sched_name + trigger_name + trigger_group + trigger_state
idx_qrtz_t_next_fire_time Performance Asc/Asc sched_name + next_fire_time
idx_qrtz_t_nft_misfire Performance Asc/Asc/Asc sched_name + misfire_instr + next_fire_time
idx_qrtz_t_nft_st Performance Asc/Asc/Asc sched_name + trigger_state + next_fire_time
idx_qrtz_t_nft_st_misfire Performance Asc/Asc/Asc/Asc sched_name + misfire_instr + next_fire_time + trigger_state
idx_qrtz_t_nft_st_misfire_grp Performance Asc/Asc/Asc/Asc/Asc sched_name + misfire_instr + next_fire_time + trigger_group + trigger_state
idx_qrtz_t_state Performance Asc/Asc sched_name + trigger_state

Relationships