We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e77a9b + 954cc59 commit 58a8c4aCopy full SHA for 58a8c4a
mysqltuner.pl
@@ -6710,7 +6710,10 @@ sub mysql_innodb {
6710
}
6711
6712
# InnoDB Used Buffer Pool Size vs CHUNK size
6713
- if ( !defined( $myvar{'innodb_buffer_pool_chunk_size'} )
+ if ( $myvar{'version'} =~ /MariaDB/i and mysql_version_ge(10, 8) and $myvar{'innodb_buffer_pool_chunk_size'} == 0) {
6714
+ infoprint "innodb_buffer_pool_chunk_size is set to 'autosize' (0) in MariaDB >= 10.8. Skipping chunk size checks.";
6715
+ }
6716
+ elsif ( !defined( $myvar{'innodb_buffer_pool_chunk_size'} )
6717
|| $myvar{'innodb_buffer_pool_chunk_size'} == 0
6718
|| !defined( $myvar{'innodb_buffer_pool_size'} )
6719
|| $myvar{'innodb_buffer_pool_size'} == 0
0 commit comments