fix: 更新gold_kpi索引

This commit is contained in:
TsMask
2024-02-04 16:19:00 +08:00
parent e7dd9405f5
commit 230aa693b6

View File

@@ -244,7 +244,7 @@ CREATE TABLE `gold_kpi` (
`error` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`timestamp` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_st_nt_id`(`start_time`, `ne_type`, `rm_uid`) USING BTREE,
INDEX `idx_rtds_id`(`rm_uid` ASC, `ne_type` ASC, `date` ASC, `start_time` ASC) USING BTREE,
INDEX `idx_starttime`(`start_time`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7123113 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;