大表索引优化

master
xuxueli 6 years ago
parent e9d2f059a4
commit 900ae92b61
  1. 3
      doc/db/tables_xxl_job.sql

@ -189,7 +189,8 @@ CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOG` (
`handle_msg` text COMMENT '执行-日志',
`alarm_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '告警状态:0-默认、1-无需告警、2-告警成功、3-告警失败',
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;
CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOGGLUE` (

Loading…
Cancel
Save