16 lines
892 B
SQL
16 lines
892 B
SQL
-- ----------------------------
|
|
-- Table structure for kpi_c_report_mocngw
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `kpi_c_report_mocngw`;
|
|
CREATE TABLE `kpi_c_report_mocngw` (
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
|
`ne_id` bigint DEFAULT '0' COMMENT '网元ID',
|
|
`created_time` bigint DEFAULT '0' COMMENT '创建时间',
|
|
`record_time` bigint DEFAULT '0' COMMENT '记录时间',
|
|
`index` int NOT NULL COMMENT 'Index of the report',
|
|
`granularity` int DEFAULT '60' COMMENT 'Time granualarity: 5/10/.../60/300 (second)',
|
|
`kpi_values` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT 'KPI values JSON String',
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
KEY `idx_kpic_mocngw_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元ID_记录时间'
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='KPI_自定义指标数据_MOCNGW';
|