-- ----------------------------
-- Table structure for kpi_c_report
-- ----------------------------
DROP TABLE IF EXISTS `kpi_c_report`;
CREATE TABLE `kpi_c_report` (
  `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_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元ID_记录时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='KPI_自定义指标数据记录基础表';
