SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for kpi_c_title
-- ----------------------------
CREATE TABLE IF NOT EXISTS `kpi_c_title`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ne_type` varchar(16) DEFAULT NULL,
  `kpi_id` varchar(16) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `expression` varchar(1024) DEFAULT NULL,
  `unit` varchar(16) DEFAULT NULL,
  `status` enum('Active','Inactive','Deleted') DEFAULT 'Active' COMMENT 'enum:Active/Inactive/Deleted',
  `description` varchar(255) DEFAULT NULL,
  `created_by` varchar(32) DEFAULT NULL,
  `updated_at` datetime DEFAULT current_timestamp(),
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `idx_ne_kpi_id` (`ne_type`,`kpi_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;

REPLACE INTO `kpi_c_title` VALUES (1, 'AMF', 'AMF.C.01', '5G Register Subscriber', '\'AMF.01\'', ' ', 'Deleted', '', 'NULL,', '2024-11-18 07:46:09');
REPLACE INTO `kpi_c_title` VALUES (2, 'AMF', 'AMF.C.02', 'Regstration Success Rate', '\'AMF.03\'/\'AMF.02\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (3, 'AMF', 'AMF.C.03', 'Paging Success Rate', '(\'AMF.15\'+\'AMF.16\')/\'AMF.17\'', '%', 'Active', '', 'NULL,', '2024-11-18 07:53:39');
REPLACE INTO `kpi_c_title` VALUES (4, 'AMF', 'AMF.C.04', 'Service Request Success Rate', '(1-\'AMF.18\')/\'AMF.19\'', '%', 'Active', '', 'NULL,', '2024-11-18 07:53:50');
REPLACE INTO `kpi_c_title` VALUES (5, 'SMF', 'SMF.C.01', 'SA_MeanPduSession', '\'SMF.01\'', '个', 'Active', '', 'NULL,', '2024-11-06 01:31:16');
REPLACE INTO `kpi_c_title` VALUES (6, 'SMF', 'SMF.C.02', 'PDU Session Establishment  Success Rate', '\'SMF.02\'/\'SMF.03\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (7, 'SMF', 'SMF.C.03', 'IMS Session Establishment  Success Rate', '\'SMF.04\'/\'SMF.05\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (8, 'MME', 'MME.C.01', 'Attach Success Rate', '\'MME.A.02\'/\'MME.A.01\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (9, 'SMF', 'SMF.C.04', 'Bear_Success_Rate', '(\'SMF.09\'+\'SMF.11\')/(\'SMF.10\'+\'SMF.12\')', '%', 'Active', '', 'NULL,', '2024-11-05 06:44:53');
REPLACE INTO `kpi_c_title` VALUES (10, 'SMF', 'SMF.C.05', 'IMS_DefaultBear_Success_Rate', '\'SMF.13\'/\'SMF.14\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (11, 'UPF', 'UPF.C.01', 'PFCP Establish Success Rate', '(\'UPF.01\'/\'UPF.02\')*100', '%', 'Active', '', 'NULL,', '2024-11-28 08:10:38');
REPLACE INTO `kpi_c_title` VALUES (12, 'UPF', 'UPF.C.02', 'N6_Throughput-error', '(\'UPF.04\'+\'UPF.03\')*8/5/1000/1000', 'Mbps', 'Deleted', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (13, 'UPF', 'UPF.C.03', 'N3_Throughout-error', '(\'UPF.05\'+\'UPF.06\')*8/5/1000/1000', 'Mbps', 'Deleted', '', 'NULL,', '2024-11-20 09:07:53');
REPLACE INTO `kpi_c_title` VALUES (14, 'UDM', 'UDM.C.01', 'AMF_UECM_Success_Rate', '\'UDM.03\'/\'UDM.02\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (15, 'UDM', 'UDM.C.02', 'SMF_UECM_Success_Rate', '\'UDM.04\'/\'UDM.05\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (16, 'IMS', 'IMS.C.01', 'InitReg_Success_Rate', '\'SCSCF.03\'/\'SCSCF.04\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (17, 'IMS', 'IMS.C.02', 'MO_Success_Rate', '\'SCSCF.05\'/\'SCSCF.06\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (18, 'IMS', 'IMS.C.03', 'MT_Success_Rate', '\'SCSCF.07\'/\'SCSCF.08\'', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (19, 'IMS', 'IMS.C.04', 'Service_Success_Rate', '(\'SCSCF.05\'+\'SCSCF.07\')/(\'SCSCF.06\'+\'SCSCF.08\')', '%', 'Active', '', 'NULL,', '2024-11-02 03:52:03');
REPLACE INTO `kpi_c_title` VALUES (20, 'SMF', 'SMF.C.06', '4G_MeanPduSession', '\'SMF.08\'', '个', 'Active', '', 'NULL,', '2024-11-06 01:28:17');
REPLACE INTO `kpi_c_title` VALUES (21, 'AMF', 'AMF.C.05', '5G reg', '\'AMF.01\'', 'time', 'Active', '', 'admin', '2024-11-26 10:47:41');
REPLACE INTO `kpi_c_title` VALUES (22, 'AMF', 'AMF.C.06', '5G register1', '\'AMF.01\'', 'time', 'Active', '', 'admin', '2024-11-26 10:56:50');
REPLACE INTO `kpi_c_title` VALUES (23, 'UPF', 'UPF.C.04', 'N6_Throughout', '(\'UPF.03\')*8/5/1000/1000', 'Mbps', 'Active', '', 'NULL,', '2024-11-26 09:07:53');
REPLACE INTO `kpi_c_title` VALUES (24, 'UPF', 'UPF.C.05', 'N3_Throughout', '(\'UPF.06\')*8/5/1000/1000', 'Mbps', 'Active', '', 'NULL,', '2024-11-26 09:07:53');
REPLACE INTO `kpi_c_title` VALUES (25, 'UPF', 'UPF.C.06', 'N6_Throughput_111', '(\'UPF.03\')*8/5/1000/1000', 'Mbps', 'Active', '', 'admin', '2024-12-02 11:09:00');
REPLACE INTO `kpi_c_title` VALUES (26, 'AMF', 'AMF.C.07', 'AMFtest', '(\'AMF.01\'+\'AMF.02\')*100', '%', 'Deleted', '', 'supervisor', '2024-12-13 07:45:31');
REPLACE INTO `kpi_c_title` VALUES (27, 'AMF', 'AMF.C.08', 'AMFtest', '(\'AMF.02\'+\'AMF.04\')*100', '%', 'Active', '', 'supervisor', '2024-12-13 07:45:24');
REPLACE INTO `kpi_c_title` VALUES (28, 'AMF', 'AMF.C.09', 'Regstration Success Rate', '(\'AMF.02\'+\'AMF.03\')*100', '%', 'Deleted', '', 'supervisor', '2024-12-13 07:50:32');
REPLACE INTO `kpi_c_title` VALUES (29, 'UDM', 'UDM.C.03', 'SMF_UECM_Success_Rate1', '(\'UDM.04\'+\'UDM.03\')*100', '%', 'Deleted', '', 'supervisor', '2024-12-13 08:02:38');

SET FOREIGN_KEY_CHECKS = 1;
