Skip to content

Commit a8fc0c2

Browse files
committed
Update mysqltuner.pl
Adding more information about flow control current value
1 parent b0cfbd8 commit a8fc0c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mysqltuner.pl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env perl
2-
# mysqltuner.pl - Version 1.7.22
2+
# mysqltuner.pl - Version 1.7.23
33
# High Performance MySQL Tuning Script
44
# Copyright (C) 2006-2020 Major Hayden - major@mhtx.net
55
#
@@ -56,7 +56,7 @@ package main;
5656
#use Env;
5757

5858
# Set up a few variables for use in the script
59-
my $tunerversion = "1.7.22";
59+
my $tunerversion = "1.7.23";
6060
my ( @adjvars, @generalrec );
6161

6262
# Set defaults
@@ -5369,15 +5369,15 @@ sub mariadb_galera {
53695369

53705370
if ( get_wsrep_option('gcs.fc_limit') != $myvar{'wsrep_slave_threads'} * 5 )
53715371
{
5372-
badprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads";
5373-
push @adjvars, "gcs.fc_limit= wsrep_slave_threads * 5";
5372+
badprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads (=".($myvar{'wsrep_slave_threads'} * 5). ")";
5373+
push @adjvars, "gcs.fc_limit= wsrep_slave_threads * 5 (=".($myvar{'wsrep_slave_threads'} * 5). ")";
53745374
}
53755375
else {
5376-
goodprint "gcs.fc_limit is equal to 5 * wsrep_slave_threads";
5376+
goodprint "gcs.fc_limit is equal to 5 * wsrep_slave_threads ( =".get_wsrep_option('gcs.fc_limit') .")";
53775377
}
53785378

53795379
if ( get_wsrep_option('gcs.fc_factor') != 0.8 ) {
5380-
badprint "gcs.fc_factor should be equal to 0.8";
5380+
badprint "gcs.fc_factor should be equal to 0.8 (=".get_wsrep_option('gcs.fc_factor').")";
53815381
push @adjvars, "gcs.fc_factor=0.8";
53825382
}
53835383
else {
@@ -6480,7 +6480,7 @@ sub which {
64806480
64816481
=head1 NAME
64826482
6483-
MySQLTuner 1.7.22 - MySQL High Performance Tuning Script
6483+
MySQLTuner 1.7.23 - MySQL High Performance Tuning Script
64846484
64856485
=head1 IMPORTANT USAGE GUIDELINES
64866486

0 commit comments

Comments
 (0)