From 87f3fbaab150d773f57b0bd31b2ec113476da9d0 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 30 Sep 2009 12:17:55 +0000 Subject: [PATCH] extra indexes --- src/sql/hydra.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sql/hydra.sql b/src/sql/hydra.sql index 8183770e..f3f385e8 100644 --- a/src/sql/hydra.sql +++ b/src/sql/hydra.sql @@ -409,3 +409,6 @@ create index IndexBuildInputsByDependency on BuildInputs(dependency); create index IndexBuildsByTimestamp on Builds(timestamp); create index IndexBuildsByJobAndSystem on Builds(project, jobset, job, system); create index IndexBuildResultInfo on BuildResultInfo(id); -- primary key index, not created automatically by PostgreSQL + +create index indexbuild on buildproducts(build) +create index indexbuildtype on buildproducts(build, type)