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

IMPORT TABLESPACE unnecessarily uses the doublewrite buffer

    XMLWordPrintable

Details

    Description

      The purpose of the InnoDB doublewrite buffer is to make redo-logged write operations crash-safe. If InnoDB is killed in the middle of a page write, the redo log based recovery on subsequent InnoDB startup would detect the corrupted page.

      The initial phase of ALTER TABLE…IMPORT TABLESPACE operation is not redo-logged or crash-safe, and it cannot possibly benefit from the doublewrite buffer. We should skip the doublewrite buffer in this case.

      Note: This will cause page_compressed tables to expand during IMPORT TABLESPACE until MDEV-15527 has been fixed.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.