Distribution:+ppas timeouts
Bug #790535 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Steve Kowalik |
Bug Description
4 SELECT COUNT(*) FROM Archive, ValidPersonOrTe
GET: 4 Robots: 0 Local: 4
4 https:/
OOPS-1976AT50, OOPS-1976CF21, OOPS-1976EC31, OOPS-1976O20
Slow query:
23. 91 8927ms SQL-launchpad-
SELECT COUNT(*)
FROM Archive,
ValidPerso
WHERE Archive.purpose = 2
AND Archive.
AND Archive.OWNER = ValidPersonOrTe
AND Archive.private = FALSE
AND Archive.enabled = TRUE
AND (1=1)
Related branches
lp:~stevenk/launchpad/no-count-distribution-ppas
- William Grant: Approve (code)
-
Diff: 330 lines (+9/-201)6 files modifiedlib/lp/registry/browser/distribution.py (+3/-27)
lib/lp/soyuz/doc/archive.txt (+0/-73)
lib/lp/soyuz/interfaces/archive.py (+1/-13)
lib/lp/soyuz/model/archive.py (+1/-27)
lib/lp/soyuz/stories/ppa/xx-ubuntu-ppas.txt (+0/-30)
lib/lp/soyuz/templates/distribution-ppa-list.pt (+4/-31)
tags: | added: ppa |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Cold cache:
-------
Aggregate (cost=100580.
-> Nested Loop Left Join (cost=0.
Filter: (((person.teamowner IS NOT NULL) AND (person.merged IS NULL)) OR ((person.teamowner IS NULL) AND (account.status = 20) AND (emailaddress.
-> Nested Loop Left Join (cost=0.
-> Nested Loop (cost=0.
-> Index Scan using emailaddress_
-> Index Scan using account_pkey on account (cost=0.00..0.67 rows=1 width=8) (actual time=1.906..1.908 rows=1 loops=29889)
Total runtime: 100274.418 ms