#23319: Django uses unnecessary join in concrete inheritance
-------------------------------------+-------------------------------------
     Reporter:  avidi                |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:
    Component:  Database layer       |               Resolution:
  (models, ORM)                      |             Triage Stage:  Accepted
     Severity:  Normal               |      Needs documentation:  0
     Keywords:                       |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by akaariai):

 * type:  Uncategorized => Cleanup/optimization
 * stage:  Unreviewed => Accepted


Comment:

 I guess all of these cases could be optimized. The reasoning is that if
 foreign key constraints are in effect (and Django's ORM assumes that they
 always are), then the joins are non-necessary.

 I expect fixing these require a lot of work for marginal gain. In other
 words this isn't a high priority item to fix.

--
Ticket URL: <https://code.djangoproject.com/ticket/23319#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/063.217a97a7efb997f5878628407f49df4d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to