Merge lp:~cjwatson/launchpad/db-optimise-publish-a2 into lp:launchpad/db-devel
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12750 |
Proposed branch: | lp:~cjwatson/launchpad/db-optimise-publish-a2 |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
18 lines (+14/-0) 1 file modified
database/schema/patch-2209-53-8.sql (+14/-0) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/db-optimise-publish-a2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | db | Approve | |
Stuart Bishop | db | Pending | |
Review via email: mp+226798@code.launchpad.net |
Commit message
Add xPPH(archive, status) WHERE scheduleddeleti
Description of the change
Index queries used by step A2 of the publisher. This drops the number of pages it needs to read by a factor of several hundred (at least for the new optimised versions of those queries), and generally seems like a good thing.
Should be applicable live.
To post a comment you must log in.