优化SQL慢查询

优化SQL慢查询
2.5.0
masix 2 years ago committed by GitHub
parent 761de38a0b
commit e2060d3469
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 `idx_jobid_jobgroup` (`job_id`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `xxl_job_log_report` (

Loading…
Cancel
Save