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

Allow ALGORITHM=INPLACE for ADD COLUMN…PERSISTENT AS

Details

    Description

      Adding a stored generated column is only implemented by the inefficient ALGORITHM=COPY. InnoDB should allow it with ALGORITHM=INPLACE, possibly even with ALGORITHM=NOCOPY (instantly add the column, then update the rows with the computed values). This might even be possible with LOCK=NONE.

      MDEV-16329 would allow any ALTER TABLE with ALGORITHM=COPY and LOCK=NONE. The added value of an InnoDB-specific implementation would be that the table does not have to be copied.

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.