Merge lp:~stevenk/launchpad/denorm-bspph-indices into lp:launchpad/db-devel

Proposed by Steve Kowalik on 2011-09-13
Status: Merged
Approved by: Stuart Bishop on 2011-09-13
Approved revision: no longer in the source branch.
Merged at revision: 10974
Proposed branch: lp:~stevenk/launchpad/denorm-bspph-indices
Merge into: lp:launchpad/db-devel
Diff against target: 13 lines (+9/-0)
1 file modified
database/schema/patch-2208-87-2.sql (+9/-0)
To merge this branch: bzr merge lp:~stevenk/launchpad/denorm-bspph-indices
Reviewer Review Type Date Requested Status
Stuart Bishop db 2011-09-13 Approve on 2011-09-13
Robert Collins 2011-09-13 Pending
Launchpad code reviewers 2011-09-13 Pending
Review via email: mp+75149@code.launchpad.net

Commit message

[r=stub][no-qa] Add indicies for the denormalisation columns of SPPH and BPPH.

Description of the change

Add indicies for the denormalisation columns of SPPH and BPPH.

To post a comment you must log in.
Stuart Bishop (stub) :
review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2208-87-2.sql'
2--- database/schema/patch-2208-87-2.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2208-87-2.sql 2011-09-13 10:30:24 +0000
4@@ -0,0 +1,9 @@
5+-- Copyright 2011 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+SET client_min_messages=ERROR;
8+
9+CREATE INDEX binarypackagepublishinghistory__binarypackagename__idx ON BinaryPackagePublishingHistory(binarypackagename);
10+CREATE INDEX sourcepackagepublishinghistory__sourcepackagename__idx ON SourcePackagePublishingHistory(sourcepackagename);
11+
12+INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 87, 2);
13+

Subscribers

People subscribed via source and target branches

to status/vote changes: