fix: 更新gold_kpi索引

This commit is contained in:
TsMask committed 2024-02-04 16:11:29 +08:00
1 parent bf524f808c
commit 150c4005f0
1 file changed
+1 -1
+1 -1
View File
@@ -157,7 +157,7 @@ ADD INDEX IF NOT EXISTS `idx_timestamp` (`timestamp`) USING BTREE;
ALTER TABLE `omc_db`.`gold_kpi`
DROP INDEX IF EXISTS `idx_st_nt_id`,
ADD INDEX IF NOT EXISTS `idx_nt_id` (`ne_type`, `rm_uid`) USING BTREE;
ADD INDEX IF NOT EXISTS `idx_rtds_id`(`rm_uid` ASC, `ne_type` ASC, `date` ASC, `start_time` ASC) USING BTREE
ALTER TABLE `omc_db`.`gold_kpi`
ADD INDEX IF NOT EXISTS `idx_date` (`date`) USING BTREE;