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

ROW_FORMAT=COMPRESSED unnecessarily requires NOCOPY for INSTANT operation

    XMLWordPrintable

    Details

      Description

      create table t1(c varchar(9)) engine=innodb row_format=compressed;
      insert into t1 values (repeat('a', 9));
      alter table t1 modify c varchar(10), algorithm=nocopy;
      

      In this ALTER TABLE only data dictionary and cache are updated. So, in fact it's an INSTANT operation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevg Eugene Kosov
              Reporter:
              kevg Eugene Kosov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: