Speed up the /jobset overview pages a lot
This commit is contained in:
parent
3b550a8086
commit
8d0ea54fa9
|
@ -525,12 +525,14 @@ create index IndexBuildStepsOnOutpathBuild on BuildSteps (outpath, build);
|
||||||
create index IndexBuildsOnFinished on Builds(finished);
|
create index IndexBuildsOnFinished on Builds(finished);
|
||||||
create index IndexBuildsOnIsCurrent on Builds(isCurrent);
|
create index IndexBuildsOnIsCurrent on Builds(isCurrent);
|
||||||
create index IndexBuildsOnJobsetIsCurrent on Builds(project, jobset, isCurrent);
|
create index IndexBuildsOnJobsetIsCurrent on Builds(project, jobset, isCurrent);
|
||||||
|
create index IndexBuildsOnJobIsCurrent on Builds(project, jobset, job, isCurrent);
|
||||||
--create index IndexBuildsOnJob on Builds(project, jobset, job);
|
--create index IndexBuildsOnJob on Builds(project, jobset, job);
|
||||||
--create index IndexBuildsOnJobAndIsCurrent on Builds(project, jobset, job, isCurrent);
|
--create index IndexBuildsOnJobAndIsCurrent on Builds(project, jobset, job, isCurrent);
|
||||||
create index IndexBuildsOnJobAndSystem on Builds(project, jobset, job, system);
|
create index IndexBuildsOnJobAndSystem on Builds(project, jobset, job, system);
|
||||||
create index IndexBuildsOnJobset on Builds(project, jobset);
|
create index IndexBuildsOnJobset on Builds(project, jobset);
|
||||||
create index IndexBuildsOnProject on Builds(project);
|
create index IndexBuildsOnProject on Builds(project);
|
||||||
create index IndexBuildsOnTimestamp on Builds(timestamp);
|
create index IndexBuildsOnTimestamp on Builds(timestamp);
|
||||||
|
create index IndexBuildsOnJobsetFinishedTimestamp on Builds(project, jobset, finished, timestamp);
|
||||||
create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC);
|
create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC);
|
||||||
create index IndexBuildsOnDrvPath on Builds(drvPath);
|
create index IndexBuildsOnDrvPath on Builds(drvPath);
|
||||||
create index IndexCachedHgInputsOnHash on CachedHgInputs(uri, branch, sha256hash);
|
create index IndexCachedHgInputsOnHash on CachedHgInputs(uri, branch, sha256hash);
|
||||||
|
|
Loading…
Reference in a new issue