launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #15083
[Merge] lp:~wgrant/launchpad/flatten-bfj-0.5-lfa-indices into lp:launchpad
William Grant has proposed merging lp:~wgrant/launchpad/flatten-bfj-0.5-lfa-indices into lp:launchpad with lp:~wgrant/launchpad/flatten-bfj-0-db as a prerequisite.
Commit message:
Add indices on the new LFA/BFJ FK references, otherwise deletions will be dreadfully slow.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/flatten-bfj-0.5-lfa-indices/+merge/146330
Add indices on the new LFA/BFJ FK references, otherwise deletions will be dreadfully slow.
--
https://code.launchpad.net/~wgrant/launchpad/flatten-bfj-0.5-lfa-indices/+merge/146330
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/flatten-bfj-0.5-lfa-indices into lp:launchpad.
=== added file 'database/schema/patch-2209-41-1.sql'
--- database/schema/patch-2209-41-1.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-41-1.sql 2013-02-04 00:29:25 +0000
@@ -0,0 +1,23 @@
+-- Copyright 2013 Canonical Ltd. This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+CREATE INDEX binarypackagebuild__log__idx
+ ON binarypackagebuild (log);
+CREATE INDEX binarypackagebuild__upload_log__idx
+ ON binarypackagebuild (upload_log);
+CREATE INDEX binarypackagebuild__build_farm_job__idx
+ ON binarypackagebuild (build_farm_job);
+
+CREATE INDEX sourcepackagerecipebuild__log__idx
+ ON sourcepackagerecipebuild (log);
+CREATE INDEX sourcepackagerecipebuild__upload_log__idx
+ ON sourcepackagerecipebuild (upload_log);
+CREATE INDEX sourcepackagerecipebuild__build_farm_job__idx
+ ON sourcepackagerecipebuild (build_farm_job);
+
+CREATE INDEX translationtemplatesbuild__log__idx
+ ON translationtemplatesbuild (log);
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 41, 1);