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

Support ALGORITHM=NOCOPY for CHANGE virtual column expression

    XMLWordPrintable

Details

    Description

      Currently, the ALTER TABLE operation ALTER_STORED_GCOL_EXPR (changing the expression of a generated stored column, or materialized virtual column) is only supported by ALGORITHM=COPY, which does a full rebuild of the table.

      We could support the operation with ALGORITHM=NOCOPY by validating all data and executing UPDATE of the data. Concurrent non-locking MVCC reads would be possible, but concurrent writes to the table could lead to locking conflicts.

      Attachments

        Issue Links

          Activity

            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.