Index BuildSteps on propagatedFrom
This significantly speeds up deleting Builds, since it removes the need for a sequential scan on BuildSteps.
This commit is contained in:
1
src/sql/upgrade-36.sql
Normal file
1
src/sql/upgrade-36.sql
Normal file
@ -0,0 +1 @@
|
||||
create index IndexBuildStepsOnPropagatedFrom on BuildSteps(propagatedFrom) where propagatedFrom is not null;
|
Reference in New Issue
Block a user