大表索引优化

pull/8/MERGE
xuxueli 6 years ago
parent e9d2f059a4
commit 900ae92b61

@ -189,7 +189,8 @@ CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOG` (
`handle_msg` text COMMENT '执行-日志', `handle_msg` text COMMENT '执行-日志',
`alarm_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '告警状态0-默认、1-无需告警、2-告警成功、3-告警失败', `alarm_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '告警状态0-默认、1-无需告警、2-告警成功、3-告警失败',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `I_trigger_time` (`trigger_time`) KEY `I_trigger_time` (`trigger_time`),
KEY `I_handle_code` (`handle_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOGGLUE` ( CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOGGLUE` (

Loading…
Cancel
Save