#16902: select_related() results in a poor perfomance -------------------------------------+------------------------------------- Reporter: | Owner: nobody ivan_virabyan | Status: new Type: | Component: Database layer Cleanup/optimization | (models, ORM) Milestone: | Severity: Normal Version: SVN | Keywords: select_related, Resolution: | get_cached_row, perfomance Triage Stage: Accepted | Has patch: 1 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by carljm):
* needs_better_patch: => 0 * stage: Unreviewed => Accepted * needs_tests: => 0 * needs_docs: => 0 Comment: Accepting because I can duplicate the timing results and inspection of query.py confirms that there's a lot of work repeated unnecessarily for every result row. Don't have time at the moment to test or review the patch. Thanks for the report! -- Ticket URL: <https://code.djangoproject.com/ticket/16902#comment:1> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.