-- ----------------------------
-- Table structure for kpi_c_title
-- ----------------------------
DROP TABLE IF EXISTS "kpi_c_title";
CREATE TABLE "kpi_c_title" (
  "id" integer NOT NULL,
  "ne_type" text(16),
  "kpi_id" text(16),
  "title" text(255),
  "expression" text(1024),
  "unit" text(16),
  "description" text(255),
  "status" text(16),
  "created_by" text(32),
  "updated_at" integer(20),
  PRIMARY KEY ("id")
);

-- ----------------------------
-- Indexes structure for table kpi_c_title
-- ----------------------------
CREATE UNIQUE INDEX "idx_ne_kpi_id"
ON "kpi_c_title" (
  "ne_type" ASC,
  "kpi_id" ASC
);

-- ----------------------------
-- Records of kpi_c_title
-- ----------------------------
INSERT INTO "kpi_c_title" VALUES (1, 'AMF', 'AMF.C.01', 'Regstration Success Rate', '(''AMF.03''/''AMF.02'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (2, 'AMF', 'AMF.C.02', 'Paging Success Rate', '((''AMF.15''+''AMF.16'')/''AMF.17'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (3, 'AMF', 'AMF.C.03', 'Service Request Success Rate', '(1-''AMF.18''/''AMF.19'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (4, 'AMF', 'AMF.C.04', '5G Register Subscriber', '''AMF.01''', ' ', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (5, 'SMF', 'SMF.C.01', 'SA_MeanPduSession', '''SMF.01''', ' ', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (6, 'SMF', 'SMF.C.02', 'PDU Session Establishment  Success Rate', '(''SMF.02''/''SMF.03'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (7, 'SMF', 'SMF.C.03', 'IMS Session Establishment  Success Rate', '(''SMF.04''/''SMF.05'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (8, 'MME', 'MME.C.01', 'Attach Success Rate	', '(''MME.A.05''/''MME.A.04'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (9, 'UPF', 'UPF.C.01', 'PFCP Establish Success Rate	', '(''UPF.01''/''UPF.02'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (10, 'UPF', 'UPF.C.02', 'N6_Uplink_Throughout', '(''UPF.03'')*8/5/1000/1000', 'Mbps', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (11, 'UPF', 'UPF.C.03', 'N3_Uplink_Throughout', '(''UPF.06'')*8/5/1000/1000', 'Mbps', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (12, 'UDM', 'UDM.C.01', 'AMF_UECM_Success_Rate	', '(''UDM.03''/''UDM.02'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (13, 'UDM', 'UDM.C.02', 'SMF_UECM_Success_Rate	', '(''UDM.04''/''UDM.05'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (14, 'IMS', 'IMS.C.01', 'InitReg_Success_Rate', '(''SCSCF.03''/''SCSCF.04'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (15, 'IMS', 'IMS.C.02', 'MO_Success_Rate', '(''SCSCF.05''/''SCSCF.06'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (16, 'IMS', 'IMS.C.03', 'MT_Success_Rate', '(''SCSCF.07''/''SCSCF.08'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (17, 'IMS', 'IMS.C.04', 'Service_Success_Rate	', '((''SCSCF.05''+''SCSCF.07'')/(''SCSCF.06''+''SCSCF.08''))*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (18, 'SMF', 'SMF.C.06', 'IMS_DefaultBear_Success_Rate	', '(''SMF.13''/''SMF.14'')*100', '%', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (19, 'SMF', 'SMF.C.07', 'Bear_Success_Rate_new', '((''SMF.09''+''SMF.11'')/(''SMF.10''+''SMF.12'')	)*100', '%', '', '2', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (22, 'UPF', 'UPF.C.06', 'N3_Downlink_Throughout', '(''UPF.05'')*8/5/1000/1000', 'Mbps', '', '1', 'admin', 1739362260083);
INSERT INTO "kpi_c_title" VALUES (23, 'UPF', 'UPF.C.07', 'N6_Downlink_Throughout', '(''UPF.04'')*8/5/1000/1000', 'Mbps', '', '1', 'admin', 1739362260083);
