Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18926

Support ALTER TABLE…ADD COLUMN…ADD INDEX, ALGORITHM=NOCOPY

    XMLWordPrintable

    Details

      Description

      The scope of MDEV-11369 was reduced by introducing an artificial limitation: ADD COLUMN together with any ADD INDEX operation will require the table to be rebuilt. While ALGORITHM=INSTANT cannot support index creation, we could certainly support ALGORITHM=NOCOPY and create the requested indexes without rebuilding the entire table. This should be possible with LOCK=NONE or ALTER ONLINE TABLE as well.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration