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

IMPORT TABLESPACE unnecessarily uses the doublewrite buffer

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

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.2.14 [ 22911 ]
            Fix Version/s 10.3.6 [ 23003 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 85947 ] MariaDB v4 [ 153931 ]

            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.