Skip to content

Commit

Permalink
Adding genralrec about redo log when this parameters are bad sized
Browse files Browse the repository at this point in the history
innodb_log_file_size bad calculation? #560
  • Loading branch information
jmrenouard committed Jun 22, 2023
1 parent 6cd1c41 commit 7b73cf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6121,6 +6121,7 @@ sub mysql_innodb {
)
. ") if possible, so InnoDB Redo log Capacity equals 25% of buffer pool size."
);
push ( @generalrec, "Be careful, increasing innodb_redo_log_capacity means higher crash recovery mean time");
} else {
badprint "Ratio InnoDB log file size / InnoDB Buffer pool size ("
. $mycalc{'innodb_log_size_pct'} . "%): "
Expand All @@ -6137,6 +6138,7 @@ sub mysql_innodb {
)
. ") if possible, so InnoDB total log file size equals 25% of buffer pool size."
);
push ( @generalrec, "Be careful, increasing innodb_log_file_size / innodb_log_files_in_group means higher crash recovery mean time");
}
if ( mysql_version_le( 5, 6, 2 ) ) {
push( @generalrec,
Expand Down

0 comments on commit 7b73cf5

Please sign in to comment.