fix: 更新gold_kpi索引

This commit is contained in:
TsMask
2024-02-04 16:11:29 +08:00
parent bf524f808c
commit 150c4005f0

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;