Skip to content

Commit

Permalink
Merge pull request #3197 from wangxi761/master
Browse files Browse the repository at this point in the history
添加索引,提高删除任务的速度
  • Loading branch information
xuxueli authored Jan 11, 2025
2 parents 3757e88 + 4185e62 commit 3fa357b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/db/tables_xxl_job.sql
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ CREATE TABLE `xxl_job_log` (
`alarm_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '告警状态:0-默认、1-无需告警、2-告警成功、3-告警失败',
PRIMARY KEY (`id`),
KEY `I_trigger_time` (`trigger_time`),
KEY `I_handle_code` (`handle_code`)
KEY `I_handle_code` (`handle_code`),
KEY `I_job_id` (`job_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `xxl_job_log_report` (
Expand Down

0 comments on commit 3fa357b

Please sign in to comment.