Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
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
- is blocked by
-
MDEV-16291 Allow ALGORITHM=NOCOPY for most ALTER TABLE in InnoDB
- Open
- relates to
-
MDEV-14341 Allow LOCK=NONE in table-rebuilding ALTER when indexed virtual columns exist
- Open
-
MDEV-17468 Avoid table rebuild on operations on generated columns
- Stalled