Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 23236f1

Browse files
committed
an innodb_checksum_algorithm is now required
1 parent d008ec2 commit 23236f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ sudo zfs create \
155155

156156
## MariaDB settings
157157

158-
* ZFS has very efficient checksumming that's integral to its operation. So, we turn off InnoDB's checksums, which would be redundant: `innodb_checksum_algorithm=none`.[^1]
159-
160158
* Because ZFS writes are atomic and we've aligned page/record sizes, we disable the doublewrite buffer in order to reduce overhead: `innodb_doublewrite=0`.[^1][^2][^10][^14][^15]
161159

162160
* We store tables in individual files, for much easier backup, recovery, or relocation: `innodb_file_per_table=ON`.[^13]
@@ -169,6 +167,8 @@ sudo zfs create \
169167

170168
* We increase target & max IOPS above the defaults. We still use conservative values to avoid excessive SSD wear,[^24] but the defaults were tuned for spinning disks: `innodb_io_capacity=1000`, `innodb_io_capacity_max=2500`.[^23]
171169

170+
* ~~ZFS has very efficient checksumming that's integral to its operation. We turned off InnoDB's checksums, which would be redundant: `innodb_checksum_algorithm=none`.[^1]~~ [Checksums are required as of MariaDB 10.6](https://mariadb.com/kb/en/innodb-system-variables/#innodb_checksum_algorithm).
171+
172172
## Operations
173173

174174
* We'll run regular scrubs (integrity checks) of zpools.[^3][^11][^19]

0 commit comments

Comments
 (0)