Slide 54
Slide 54 text
https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html
InnoDB関連のデフォルト設定の変更点
InnoDB System Variable Name New Default Value (MySQL 8.4) Previous Default Value (MySQL 8.0)
innodb_buffer_pool_in_core_file OFF if MADV_DONTDUMP is supported, otherwise ON ON
innodb_buffer_pool_instances
If innodb_buffer_pool_size <= 1 GiB, then innodb_buffer_pool_instances=1
If innodb_buffer_pool_size > 1 GiB, then this is the minimum value from the
following two calculated hints in the range of 1-64:
•Buffer pool hint: Calculated as 1/2 of (innodb_buffer_pool_size /
innodb_buffer_pool_chunk_size)
•CPU hint: Calculated as 1/4 of the number of available logical processors
8
(or 1 if innodb_buffer_pool_size < 1 GiB)
innodb_change_buffering none all
innodb_dedicated_server
If ON, the value of innodb_flush_method is no longer changed as in MySQL
8.0, but the calculation of innodb_redo_log_capacity is changed from
memory-based to CPU-based. For more information, see Section 17.8.12,
“Enabling Automatic Configuration for a Dedicated MySQL Server”.
OFF
innodb_adaptive_hash_index OFF ON
innodb_doublewrite_files 2 innodb_buffer_pool_instances * 2
innodb_doublewrite_pages 128
innodb_write_io_threads,
which meant a default of 4
innodb_flush_method on Linux O_DIRECT if supported, otherwise fsync fsync
innodb_io_capacity 10000 200
innodb_io_capacity_max 2 * innodb_io_capacity
2 * innodb_io_capacity,
with a minimum default value of 2000
innodb_log_buffer_size 67108864 (64 MiB) 16777216 (16 MiB)
innodb_numa_interleave ON OFF
innodb_page_cleaners innodb_buffer_pool_instances 4
MySQL 8.4
Copyright © 2024, Oracle and/or its affiliates
55