#30122: Add index in object_id column in LogEntry table to make fetch query
faster.
------------------------------------------------+------------------------
Reporter: Shashank Parekh | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
In **''history_view''** function, we use ''object_id'' and
''content_type'' to fetch the logs. Usually, we will have lots of entries
based on ''content_type'' compare with ''object_id''.
It is ideal to index ''object_id'' to make fetch query faster.
I can work on this task.
--
Ticket URL: <https://code.djangoproject.com/ticket/30122>
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/048.bef1d6b5923d066afc3714c4e1b7cf1d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.