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