#35000: Skip redundant defaults to allow INSTANT longtext (among others) column
addition in MySQL
-------------------------------------+-------------------------------------
               Reporter:  Tobias     |          Owner:  nobody
  Krönke                             |
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:             |        Version:  4.2
  Migrations                         |       Keywords:  mysql, migrations,
               Severity:  Normal     |  performance
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 MySQL 8+ is capable of adding new columns instantly just by editing the
 meta information. It automatically chooses the fasted algorithm for ALTER
 TABLE statements (https://dev.mysql.com/doc/refman/8.0/en/alter-
 table.html), so I was wondering if the migration SQL code generated by
 django actually makes use of this.

 PR is here: https://github.com/django/django/pull/17539
 Original comment with workaround:
 https://code.djangoproject.com/ticket/27676#comment:8

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35000>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c1b9bc4c5-30689530-0096-473c-b931-2cff649a9c7d-000000%40eu-central-1.amazonses.com.

Reply via email to