Script is failing on MySQL 5.6.10(AWS Aurora) #435
This commit is contained in:
parent
f18a3ef33f
commit
d1f39e9a00
1 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
# mysqltuner.pl - Version 1.7.17
|
# mysqltuner.pl - Version 1.7.18
|
||||||
# High Performance MySQL Tuning Script
|
# High Performance MySQL Tuning Script
|
||||||
# Copyright (C) 2006-2018 Major Hayden - major@mhtx.net
|
# Copyright (C) 2006-2018 Major Hayden - major@mhtx.net
|
||||||
#
|
#
|
||||||
|
@ -56,7 +56,7 @@ $Data::Dumper::Pair = " : ";
|
||||||
#use Env;
|
#use Env;
|
||||||
|
|
||||||
# Set up a few variables for use in the script
|
# Set up a few variables for use in the script
|
||||||
my $tunerversion = "1.7.17";
|
my $tunerversion = "1.7.18";
|
||||||
my ( @adjvars, @generalrec );
|
my ( @adjvars, @generalrec );
|
||||||
|
|
||||||
# Set defaults
|
# Set defaults
|
||||||
|
@ -2704,7 +2704,10 @@ sub calculations {
|
||||||
$myvar{'innodb_log_files_in_group'} * 100 /
|
$myvar{'innodb_log_files_in_group'} * 100 /
|
||||||
$myvar{'innodb_buffer_pool_size'} );
|
$myvar{'innodb_buffer_pool_size'} );
|
||||||
}
|
}
|
||||||
|
if( !defined $myvar{'innodb_buffer_pool_size'}) {
|
||||||
|
$mycalc{'innodb_log_size_pct'} = 0;
|
||||||
|
$myvar{'innodb_buffer_pool_size'} = 0;
|
||||||
|
}
|
||||||
# InnoDB Buffer pool read cache efficiency
|
# InnoDB Buffer pool read cache efficiency
|
||||||
(
|
(
|
||||||
$mystat{'Innodb_buffer_pool_read_requests'},
|
$mystat{'Innodb_buffer_pool_read_requests'},
|
||||||
|
@ -6377,7 +6380,7 @@ __END__
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
MySQLTuner 1.7.17 - MySQL High Performance Tuning Script
|
MySQLTuner 1.7.18 - MySQL High Performance Tuning Script
|
||||||
|
|
||||||
=head1 IMPORTANT USAGE GUIDELINES
|
=head1 IMPORTANT USAGE GUIDELINES
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue