Adding warning about big table caches
This isn't the ideal fix, but at least the warning is there. Many thanks to @ywarnier for pointing this out to me on GitHub. ;) Fixes #36.
This commit is contained in:
parent
47e3dd2350
commit
18b4b8f982
1 changed files with 1 additions and 0 deletions
|
@ -870,6 +870,7 @@ sub mysql_stats {
|
||||||
push(@adjvars,"table_cache (> ".$myvar{'table_cache'}.")");
|
push(@adjvars,"table_cache (> ".$myvar{'table_cache'}.")");
|
||||||
}
|
}
|
||||||
push(@generalrec,"Increase table_cache gradually to avoid file descriptor limits");
|
push(@generalrec,"Increase table_cache gradually to avoid file descriptor limits");
|
||||||
|
push(@generalrec,"Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C");
|
||||||
} else {
|
} else {
|
||||||
goodprint "Table cache hit rate: $mycalc{'table_cache_hit_rate'}% (".hr_num($mystat{'Open_tables'})." open / ".hr_num($mystat{'Opened_tables'})." opened)\n";
|
goodprint "Table cache hit rate: $mycalc{'table_cache_hit_rate'}% (".hr_num($mystat{'Open_tables'})." open / ".hr_num($mystat{'Opened_tables'})." opened)\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue