[MDEV-18493] Remove page_size_t Created: 2019-02-06  Updated: 2022-09-14  Resolved: 2019-02-07

Status: Closed
Project: MariaDB Server
Component/s: mariabackup, Storage Engine - InnoDB
Fix Version/s: 10.4.3

Type: Task Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: performance

Issue Links:
Problem/Incident
causes MDEV-18589 Assertion `fil_space_t::physical_size... Closed
causes MDEV-26983 Server crash in buf_is_zeroes or asse... Closed

 Description   

MySQL 5.7 introduced the class page_size_t and increased the size of buffer pool page descriptors by introducing this object to them.

Maybe the intention of this exercise was to prepare for a future where the buffer pool could accommodate multiple page sizes. But that future never arrived, not even in MySQL 8.0. It is much easier to manage a pool of a single page size, and typically all storage devices of an InnoDB instance benefit from using the same page size.

Let us remove page_size_t from MariaDB Server. This will make it easier to remove support for ROW_FORMAT=COMPRESSED (or make it a compile-time option) in the future, just by removing various occurrences of zip_size.


Generated at Thu Feb 08 08:44:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.