From 5ae487fc15a53c3b3a2adff2b735c340aeab93ca Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Mon, 4 Dec 2023 13:35:37 +0100 Subject: [PATCH] sweep: #7336 New indices on TransformationDB.Transformations --- src/DIRAC/TransformationSystem/DB/TransformationDB.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DIRAC/TransformationSystem/DB/TransformationDB.sql b/src/DIRAC/TransformationSystem/DB/TransformationDB.sql index 830b6a64cc4..675476a3830 100755 --- a/src/DIRAC/TransformationSystem/DB/TransformationDB.sql +++ b/src/DIRAC/TransformationSystem/DB/TransformationDB.sql @@ -45,7 +45,9 @@ CREATE TABLE Transformations( EventsPerTask INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(TransformationID), INDEX(TransformationName), - INDEX(TransformationFamily) + INDEX(TransformationFamily), + INDEX(Status), + INDEX(Type) ) ENGINE = InnoDB DEFAULT CHARSET = utf8; -- -------------------------------------------------------------------------------