bugsummary_rollup_journal is slow
Bug #810104 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Stuart Bishop |
Bug Description
The bugsummary_inc and _dec stored procedures are slow, making the rollup process slow.
Rework the UPDATEs to not use IS DISTINCT FROM and see if we can make use of the indexes instead of full table scans.
Related branches
lp:~stub/launchpad/bugsummary
- Stuart Bishop (community): Approve (db)
-
Diff: 176 lines (+160/-1)2 files modifieddatabase/schema/patch-2208-76-4.sql (+159/-0)
database/schema/security.cfg (+1/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Stuart Bishop (stub) |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We think this may be exacerbating timeouts due to row locks.