fix: 更新gold_kpi索引少分号

This commit is contained in:
TsMask
2024-02-04 17:36:35 +08:00
parent 230aa693b6
commit 0b15760ae9

View File

@@ -157,7 +157,7 @@ ADD INDEX IF NOT EXISTS `idx_timestamp` (`timestamp`) USING BTREE;
ALTER TABLE `omc_db`.`gold_kpi` ALTER TABLE `omc_db`.`gold_kpi`
DROP INDEX IF EXISTS `idx_st_nt_id`, DROP INDEX IF EXISTS `idx_st_nt_id`,
ADD INDEX IF NOT EXISTS `idx_rtds_id`(`rm_uid` ASC, `ne_type` ASC, `date` ASC, `start_time` ASC) 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` ALTER TABLE `omc_db`.`gold_kpi`
ADD INDEX IF NOT EXISTS `idx_date` (`date`) USING BTREE; ADD INDEX IF NOT EXISTS `idx_date` (`date`) USING BTREE;