TemporaryStorageManager:CollectionResource:#temporary_blobs timeouts
Bug #731736 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
15 SELECT TemporaryBlobSt
GET: 15 Robots: 0 Local: 0
15 https:/
OOPS-1893B334, OOPS-1893C884, OOPS-1893D920, OOPS-1893E10, OOPS-1893F898
Related branches
lp:~lifeless/launchpad/bug-731736
- Robert Collins (community): Approve
- William Grant (community): Approve (code*)
-
Diff: 75 lines (+9/-28)3 files modifiedlib/canonical/launchpad/database/temporaryblobstorage.py (+1/-7)
lib/canonical/launchpad/interfaces/temporaryblobstorage.py (+1/-5)
lib/canonical/launchpad/pagetests/webservice/xx-temporary-blob-storage.txt (+7/-16)
tags: | removed: dba |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
launchpad_ qastaging= > explain analyze SELECT TemporaryBlobSt orage.date_ created,
TemporaryBlobSt orage.file_ alias,
TemporaryBlobSt orage.id,
TemporaryBlobSt orage.uuid lobStorage orage.file_ alias = LibraryFileAlias.id s.expires > '2011-03-08 04:28:14. 106317+ 00:00' orage.date_ created LIMIT 76 OFFSET 0;
QUERY PLAN ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- 21..10724. 40 rows=76 width=53) (actual time=18095. 300..18095. 300 rows=0 loops=1) 21..10743. 39 rows=7672 width=53) (actual time=18095. 298..18095. 298 rows=0 loops=1) orage.date_ created 39..10446. 18 rows=7672 width=53) (actual time=18095. 264..18095. 264 rows=0 loops=1) as.id = temporaryblobst orage.file_ alias) s__expires_ _idx on libraryfilealias (cost=0.00..9668.58 rows=7672 width=4) (actual time=59. 632..17987. 381 rows=7550 loops=1)
Index Cond: (expires > '2011-03-08 04:28:14. 106317' ::timestamp without time zone) 73..375. 73 rows=17573 width=53) (actual time=88.785..88.785 rows=17573 loops=1)
-> Seq Scan on temporaryblobst orage (cost=0.00..375.73 rows=17573 width=53) (actual time=6.401..72.630 rows=17573 loops=1)
FROM LibraryFileAlias,
TemporaryB
WHERE TemporaryBlobSt
AND LibraryFileAlia
ORDER BY TemporaryBlobSt
-------
Limit (cost=10724.
-> Sort (cost=10724.
Sort Key: temporaryblobst
Sort Method: quicksort Memory: 25kB
-> Hash Join (cost=595.
Hash Cond: (libraryfileali
-> Index Scan using libraryfilealia
-> Hash (cost=375.
Total runtime: 18095.552 ms
(11 rows)