#22125: Unnecessary creation of index for ManyToManyField
-------------------------------------+-------------------------------------
Reporter: tbhtan3@… | Owner: bwreilly
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db-indexes | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by László Károlyi):
Replying to [comment:24 Tim Graham]:
You might want to reconsider having the extraneously-seeming indexes
removed on the ManyToMany relationships. I just did a
[https://dev.to/karolyi/django-why-you-might-want-to-set-up-extra-db-
level-indexes-for-your-manytomany-relationships-1ecg case study] where it
turned out that MariaDB uses them.
--
Ticket URL: <https://code.djangoproject.com/ticket/22125#comment:25>
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/075.c13a13810af5f104454d461c7cf59b75%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.