#28661: Auto-truncate indexes on MySQL when max index size is reached
-------------------------------------+-------------------------------------
Reporter: Claude | Owner: nobody
Paroz |
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
We have been hit several times in Django by this MySQL limitation when
wanting to extend the length of some indexed char fields. One example is
#19515.
I suggest to automatically limit indexes when the size of the indexed
field is too long to be completely indexed by MySQL. This auto-truncation
would be limited to single-indexed fields, because I don't see trivial
automatic rules when more than one field is indexed (proportional
shortening, maybe?).
--
Ticket URL: <https://code.djangoproject.com/ticket/28661>
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/050.15d4851231c5eb99ea2ec99401e9b30f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.