create table sj_retry_task_log_message ( id bigint unsigned auto_increment comment '主键' primary key, namespace_id varchar(64) default '764d604ec6fc45f68cd92514c40e9e1a' not null comment '命名空间id', group_name varchar(64) not null comment '组名称', retry_id bigint not null comment '重试信息Id', retry_task_id bigint not null comment '重试任务Id', message longtext not null comment '异常信息', log_num int default 1 not null comment '日志数量', real_time bigint default 0 not null comment '上报时间', create_dt datetime default CURRENT_TIMESTAMP not null comment '创建时间' ) comment '任务调度日志信息记录表'; create index idx_create_dt on sj_retry_task_log_message (create_dt); create index idx_namespace_id_group_name_retry_task_id on sj_retry_task_log_message (namespace_id, group_name, retry_task_id);