Skip to content

Commit e4fad0e

Browse files
committed
feat (TransformationDB): add an index on Status and Type for the Transformations table
1 parent 70538bb commit e4fad0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/DIRAC/TransformationSystem/DB/TransformationDB.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ CREATE TABLE Transformations(
4444
EventsPerTask INTEGER NOT NULL DEFAULT 0,
4545
PRIMARY KEY(TransformationID),
4646
INDEX(TransformationName),
47-
INDEX(TransformationFamily)
47+
INDEX(TransformationFamily),
48+
INDEX(Status),
49+
INDEX(Type)
4850
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
4951

5052
-- -------------------------------------------------------------------------------

0 commit comments

Comments
 (0)