#27269: ORM extremely slow to run annotate/filter query, much faster directly in
dbshell
-------------------------------------+-------------------------------------
Reporter: Jerome Leclanche | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0
Comment:
You can use logging or a print statement to check the query Django is
running, or try to do some profiling to see what's slow. In general, you
should [wiki:TicketClosingReasons/UseSupportChannels use support channels]
to ask questions like this and open a ticket once you've identified that
Django is it fault. Feel free to reopen with more specifics if your
investigation leads to that conclusion. Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/27269#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 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/062.9c86113444113c8e3465b7f8d81e0fe5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.