#33973: Performance regression when moving from 3.1 to 3.2
-------------------------------------+-------------------------------------
     Reporter:  Marc Parizeau        |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  performance          |             Triage Stage:
  regression                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Marc Parizeau):

 Replying to [comment:5 Mariusz Felisiak]:
 > Using `EXISTS` to exclude multi-valued relationship was introduced in
 8593e162c9cb63a6c0b06daf045bc1c21eb4d7c1. However this should be is easier
 to optimize for query planers, it's not clear to me why you're facing a
 performance regression. Perhaps the query plan should be regenerated or
 this is an issue in PostgreSQL 14.2. I don't think there is anything that
 we could improve in Django.

 Not sure I understand what you are saying. You are saying that the
 regression I am observing is definitely not caused by the Django generated
 SQL? That the issue must stem from the query planers of postgres? Are you
 sure about that?

 Any suggestion on what I should do moving forward? What postgres version
 do you suggest I use to get the proper query planers for Django 3.2/4?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33973#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070182fa91145a-9cd653e9-0900-47be-8866-519523cf6f36-000000%40eu-central-1.amazonses.com.

Reply via email to