ref: v3变更,,根据网元上报动态建表kpi/cdr/ue

This commit is contained in:
TsMask
2025-09-16 19:40:00 +08:00
parent f8bc5b662e
commit 69738ae7f4
36 changed files with 259 additions and 478 deletions

View File

@@ -1,13 +0,0 @@
-- ----------------------------
-- Table structure for cdr_event_ims
-- ----------------------------
DROP TABLE IF EXISTS `cdr_event_ims`;
CREATE TABLE `cdr_event_ims` (
`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 '记录时间',
`cdr_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_cdr_ims_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_记录时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='CDR事件_IMS';

View File

@@ -1,13 +0,0 @@
-- ----------------------------
-- Table structure for cdr_event_sgwc
-- ----------------------------
DROP TABLE IF EXISTS `cdr_event_sgwc`;
CREATE TABLE `cdr_event_sgwc` (
`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 '记录时间',
`cdr_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_cdr_sgwc_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_记录时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='CDR事件_SGWC';

View File

@@ -1,13 +0,0 @@
-- ----------------------------
-- Table structure for cdr_event_smf
-- ----------------------------
DROP TABLE IF EXISTS `cdr_event_smf`;
CREATE TABLE `cdr_event_smf` (
`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 '记录时间',
`cdr_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_cdr_smf_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_记录时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='CDR事件_SMF';

View File

@@ -1,13 +0,0 @@
-- ----------------------------
-- Table structure for cdr_event_smsc
-- ----------------------------
DROP TABLE IF EXISTS `cdr_event_smsc`;
CREATE TABLE `cdr_event_smsc` (
`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 '记录时间',
`cdr_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_cdr_smsc_ne_at` (`ne_id` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_记录时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='CDR事件_SMSC';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,15 +0,0 @@
-- ----------------------------
-- 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';

View File

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

View File

@@ -1,15 +0,0 @@
-- ----------------------------
-- 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_自定义指标数据记录基础表';

View File

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

View File

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

View File

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

View File

@@ -1,15 +0,0 @@
-- ----------------------------
-- Table structure for kpi_c_report_upf
-- ----------------------------
DROP TABLE IF EXISTS `kpi_c_report_upf`;
CREATE TABLE `kpi_c_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_kpic_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';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,15 +0,0 @@
-- ----------------------------
-- Table structure for kpi_report_mocngw
-- ----------------------------
DROP TABLE IF EXISTS `kpi_report_mocngw`;
CREATE TABLE `kpi_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_kpi_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';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,15 +0,0 @@
-- ----------------------------
-- 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';

View File

@@ -1,16 +0,0 @@
--
-- Table structure for table `ue_event_amf`
--
DROP TABLE IF EXISTS `ue_event_amf`;
CREATE TABLE `ue_event_amf` (
`id` int NOT NULL AUTO_INCREMENT,
`ne_id` bigint DEFAULT '0' COMMENT '网元ID',
`record_time` bigint DEFAULT '0' COMMENT '记录时间',
`created_time` bigint DEFAULT '0' COMMENT '记录创建存储毫秒',
`event_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '事件类型',
`event_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_ue_ne_type_at` (`ne_id` DESC,`event_type` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_类型_时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='UE事件_AMF终端接入';
-- Dump completed on 2025-09-11 15:26:56

View File

@@ -1,16 +0,0 @@
--
-- Table structure for table `ue_event_mme`
--
DROP TABLE IF EXISTS `ue_event_mme`;
CREATE TABLE `ue_event_mme` (
`id` int NOT NULL AUTO_INCREMENT,
`ne_id` bigint DEFAULT '0' COMMENT '网元ID',
`record_time` bigint DEFAULT '0' COMMENT '记录时间',
`created_time` bigint DEFAULT '0' COMMENT '记录创建存储毫秒',
`event_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '事件类型',
`event_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_ue_ne_type_at` (`ne_id` DESC,`event_type` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_类型_时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='UE事件_MME终端接入';
-- Dump completed on 2025-09-11 15:26:56