Merge pull request #3197 from wangxi761/master

添加索引,提高删除任务的速度
2.5.0
许雪里 8 months ago committed by GitHub
commit 3fa357b365
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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` (

Loading…
Cancel
Save