Skip to content

Commit

Permalink
feat (TransformationDB): add an index on Status and Type for the Tran…
Browse files Browse the repository at this point in the history
…sformations table
  • Loading branch information
chaen committed Dec 4, 2023
1 parent 70538bb commit e4fad0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DIRAC/TransformationSystem/DB/TransformationDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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;

-- -------------------------------------------------------------------------------
Expand Down

0 comments on commit e4fad0e

Please sign in to comment.