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

Docs say ALTER TABLE...PAGE_COMPRESSED=1 is INSTANT, but no longer accurate

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    Description

      The manual page for INSTANT alters says that ALTER TABLE ... PAGE_COMPRESSED=1 can be performed instantly. But it seems this is no longer accurate since the 2026 Q2 releases, due to the fix in MDEV-38079.

      MariaDB [foo]> CREATE TABLE t (id int primary key);
      Query OK, 0 rows affected (0.002 sec)
       
      MariaDB [foo]> ALTER TABLE t page_compressed=1, algorithm=instant;
      ERROR 1846 (0A000): ALGORITHM=INSTANT is not supported. Reason: Changing table options requires the table to be rebuilt. Try ALGORITHM=INPLACE
      

      Attachments

        Issue Links

          Activity

            People

              maxmether Max Mether
              evanelias Evan Elias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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