#29685 closed Cleanup/optimization (fixed)
Add a note about Queryset.explain() to the 'Database access optimization' documentation
Reported by: | Tom Forbes | Owned by: | Tom Forbes |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It seems like it would be good to add a sentence or two to the profile first section: https://docs.djangoproject.com/en/2.1/topics/db/optimization/#profile-first?
Change History (8)
comment:1 by , 6 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | New feature → Cleanup/optimization |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
How about giving an example? Let's say, run this explain()
method on oracle , and add it to the documentation.
comment:4 by , 6 years ago
I did not want to duplicate the actual documentation for .explain()
as that already includes an example of the output, just direct people to it. Perhaps it would not be too bad to include it?
comment:5 by , 6 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:6 by , 6 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Looks okay to me. I pushed some light edits.
Note:
See TracTickets
for help on using tickets.
PR: https://github.com/django/django/pull/10310