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

Doublewrite buffer is unnecessarily used for newly (re)initialized pages

    Details

      Description

      Thanks to MDEV-12699, the doublewrite buffer will only be needed in those cases when a page is being updated in the data file. If the page had never been written to the data file since it was initialized, then recovery will be able to reconstruct the page based solely on the contents of the redo log files.

      The doublewrite buffer is only really needed when recovery needs to read the page in order to apply redo log.

      Avoiding unnecessary use of the doublewrite buffer should improve the write performance of InnoDB.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marko Marko Mäkelä
                Reporter:
                marko Marko Mäkelä
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: