Just for the records, I added your work-around (until Django 1.11) to as comment on the issue tracker.
Am Dienstag, 14. März 2017 10:37:07 UTC+1 schrieb guettli: > > Great, you and the django dev team are fast than light. Every time I spot > a basic missing part, you have already solved it in the next release. > > Am Montag, 13. März 2017 17:00:17 UTC+1 schrieb Tim Graham: >> >> Support for QuerySet.union(), intersection(), and difference() is added >> in Django 1.11. >> >> >> https://github.com/django/django/commit/84c1826ded17b2d74f66717fb745fc36e37949fd >> >> On Monday, March 13, 2017 at 11:54:15 AM UTC-4, guettli wrote: >>> >>> We have performance issues on postgres because some SQL statements have >>> up to six LEFT OUTER joins. >>> >>> >>> Union and intersection would be easier to read for me (human being) and >>> maybe better to optimize for the postgres query planer. >>> >>> It seems that other people have this issue, too: >>> https://code.djangoproject.com/ticket/27260 >>> >>> The above ticket was closed with a comment to ask for help on the >>> support channels. That's why I wrote here. >>> >>> Have other developers seen performance issues because the SQL had a lot >>> of LEFT OUTER joins? >>> >>> Is there a work-around? >>> >>> Regards, >>> Thomas Güttelr >>> >> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a9f5c9d6-013d-426b-b62c-55e3fac10d5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.