1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$ mysqlfrm --diagnostic xxl_job_log.frm
# WARNING: Cannot generate character set or collation names without the --server option.
# CAUTION: The diagnostic mode is a best-effort parse of the .frm file. As such, it may not identify all of the components of the table correctly. This is especially true for damaged files. It will also not read the default values for the columns and the resulting statement may not be syntactically correct.
# Reading .frm file for xxl_job_log.frm:
# The .frm file is a TABLE.
# CREATE TABLE Statement:
CREATE TABLE `xxl_job_log` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`job_group` int(11) NOT NULL comment '执行器主键ID',
`job_id` int(11) NOT NULL comment '任务,主键ID',
`executor_address` varchar(1020) DEFAULT NULL comment '执行器地址,本次执行的地址',
`executor_handler` varchar(1020) DEFAULT NULL comment '执行器任务handler',
`executor_param` varchar(2048) DEFAULT NULL comment '执行器任务参数',
`executor_sharding_param` varchar(80) DEFAULT NULL comment '执行器任务分片参数,格式如 1/2',
`executor_fail_retry_count` int(11) NOT NULL comment '失败重试次数',
`trigger_time` datetime DEFAULT NULL comment '调度-时间',
`trigger_code` int(11) NOT NULL comment '调度-结果',
`trigger_msg` text DEFAULT NULL comment '调度-日志',
`handle_time` datetime DEFAULT NULL comment '执行-时间',
`handle_code` int(11) NOT NULL comment '执行-状态',
`handle_msg` text DEFAULT NULL comment '执行-日志',
`alarm_status` tinyint(4) NOT NULL comment '告警状态:0-默认、1-无需告警、2-告警成功、3-告警失败',
PRIMARY KEY `PRIMARY` (`id`),
KEY `I_trigger_time` (`trigger_time`),
KEY `I_handle_code` (`handle_code`)
) ENGINE=InnoDB;
#...done.
|