Big difference in number of queries depending on team membership

Bug #321576 reported by Martin Albisetti
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned

Bug Description

On the bugs page, the number of queries vary enormously (200-300 queries) depending on which user is viewing it.
Primary suspect: team membership calculation

Revision history for this message
Stuart Bishop (stub) wrote :

What is 'the bugs page'? Please give an example URL.

Changed in malone:
status: New → Incomplete
Revision history for this message
Martin Albisetti (beuno) wrote :

Viewing an actual bug.
Any bug that I look at, it produces more queries for me than Danilo or Bjorn.

Changed in malone:
status: Incomplete → New
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Hi Martin,
is this still an issue for you? Are those timing out for you? If yes, please add an OOPS id.

Curtis added https://blueprints.edge.launchpad.net/launchpad-registry/+spec/efficient-user-sets to deal with this sort of problems. I'm linking this bug report to the blueprint so once that infrastructure is implemented, bug pages could take advantange of it when calculating team membership.

Changed in malone:
status: New → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

We have current oopses in this area, its likely a dup, closing as we *will* fix this as part of fixing performance, but open-and-incomplete isn't useful.

Changed in malone:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.