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

InnoDB persistent statistics fail to update after ALTER TABLE...ALGORITHM=COPY

    XMLWordPrintable

Details

    • Can result in unexpected behaviour
    • ALTER TABLE could fail to update InnoDB persistent statistics.

    Description

      The test case for the following change in MySQL 8.0.37 suggests that MariaDB is affected by the same:
      Bug#35127747 The n_rows value becomes 0 when repeated altering with algorithm=copy within 10 seconds

      That is, for ALTER TABLE...ALGORITHM=COPY the InnoDB statistics will not be updated. This is similar to MDEV-28327, which affected INSERT. Note: I did not test with the MDEV-33087 setting innodb_alter_copy_bulk=ON.

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2d 5.25h
                  2d 5.25h

                  Git Integration

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