|
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.
|