fix: index for alarm

This commit is contained in:
simonzhangsz committed 2024-02-02 16:00:53 +08:00
1 parent 077187c21d
commit f5b88d33bd
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -178,4 +178,6 @@ VALUES (
);
ALTER TABLE `omc_db`.`alarm`
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;
ADD INDEX IF NOT EXISTS `idx_severity_status` (
`alarm_status`, `orig_severity`
) USING BTREE;
+3 -1
View File
@@ -178,4 +178,6 @@ VALUES (
);
ALTER TABLE `omc_db`.`alarm`
ADD INDEX IF NOT EXISTS `idx_alarm_status` (`alarm_status`) USING BTREE;
ADD INDEX IF NOT EXISTS `idx_severity_status` (
`alarm_status`, `orig_severity`
) USING BTREE;