pt_variable_advisor | |
Functions | |
main | |
get_variables | Get SHOW VARIABLES from MySQL or a file. |
print_advice | Print information about rules that matched. |
_d |
sub get_variables
Get SHOW VARIABLES from MySQL or a file.
%args | Arguments |
source | ”mysql” or a file name |
dbh | dbh if source==”mysql” |
TextResultSetParser | TextResultSetParser object if source==file |
Hashref of SHOW /40003 GLOBAL/ VARIABLES values.
sub print_advice
Print information about rules that matched.
%args | Arguments |
advice | Arrayref of rule IDs, returned by Advisor::run_rules() |
Advisor | Advisor object |
OptionParser | OptionParser object |
sub main
Get SHOW VARIABLES from MySQL or a file.
sub get_variables
Print information about rules that matched.
sub print_advice
sub _d
Run all rules from all advisors loaded ealier.
sub run_rules