add skip-name-resolve recommandation
This commit is contained in:
parent
2a8cf5fea6
commit
b0848e5cc5
1 changed files with 8 additions and 0 deletions
|
@ -2501,6 +2501,14 @@ sub mysql_stats {
|
||||||
"Aborted connections: $mycalc{'pct_connections_aborted'}% ($mystat{'Aborted_connects'}/$mystat{'Connections'})";
|
"Aborted connections: $mycalc{'pct_connections_aborted'}% ($mystat{'Aborted_connects'}/$mystat{'Connections'})";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# name resolution
|
||||||
|
if ($result{'Variables'}{'skip_name_resolve'} eq 'OFF') {
|
||||||
|
badprint
|
||||||
|
"name resolution is active : a reverse name resolution is made for each new connection and can reduce performance";
|
||||||
|
push( @generalrec,
|
||||||
|
"Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1" );
|
||||||
|
}
|
||||||
|
|
||||||
# Query cache
|
# Query cache
|
||||||
if ( !mysql_version_ge(4) ) {
|
if ( !mysql_version_ge(4) ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue