fix: added index on timestamp field for reindex (#19101)

This commit is contained in:
Teddy 2024-12-16 20:57:42 +01:00 committed by GitHub
parent 254fce4138
commit bd68d959f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- add timestamp index for test case result reindex performance
ALTER TABLE data_quality_data_time_series ADD INDEX `idx_timestamp_desc` (timestamp DESC);

View File

@ -0,0 +1,2 @@
-- add timestamp index for test case result reindex performance
CREATE INDEX idx_timestamp_desc ON data_quality_data_time_series (timestamp DESC);