#27388: Filter chaining results in unnecessary joins (and degenerate 
performance)
-------------------------------------+-------------------------------------
     Reporter:  Connor Osborn        |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  1.9
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  queryset, join,      |             Triage Stage:
  performance                        |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Connor Osborn):

 That's pretty surprising to me, thanks for linking me to the docs. I'm
 still interested in finding a solution for my application. It looks like
 if I set the `filter_is_sticky` flag it gets reset to false in the next
 filter. So in order to have a chain each one must be add that flag, is
 that right?

--
Ticket URL: <https://code.djangoproject.com/ticket/27388#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.b1c79a9fe90415023d66f41028532b6c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to