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

Optimize redo logging for ROW_FORMAT=COMPRESSED

    XMLWordPrintable

    Details

      Description

      The physical log format introduced in MDEV-12353 would allow us to write much less log for ROW_FORMAT=COMPRESSED pages, even when pages are being recompressed. There are multiple issues, including at least the following:

      • page_zip_compress() is being logged as a full page image. We could emit WRITE and MEMMOVE records in many cases.
      • A single mini-transaction may first write some log to a page and then restart from the scratch, writing an INIT_PAGE for a page_zip_compress(). The preceding records for the page should not have been written in the first place.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: