MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.
Downloading MySQLTuner:
wget http://mysqltuner.com/mysqltuner.pl
chmod +x mysqltuner.pl
Using MySQLTuner Script for Lampp systems:
Just replace mysql & mysqladmin commands with respect lampp commands
vi mysqltuner.pl
Press Keys:- <ESC> and <:>
Enter:- 1,$s/\`mysql/\`\/opt\/lampp\/bin\/mysql/g
Running mysqltuner and obtaining the performance analysis:
Shell> ./mysqltuner.pl
Following is the Sample Output from mysqltuner script::
>> MySQLTuner 1.0.0 – Major Hayden
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with ‘–help’ for additional options and output filtering
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password:
——– General Statistics ——————————–
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.0.27-log
[!!] Switch to 64-bit OS – MySQL cannot currently use all of your RAM
Run OPTIMIZE TABLE to defragment tables for better performance
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
table_cache (> 64)
Using MySQLTuner – MySQL Optimization Tool
MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.
Downloading MySQLTuner:
wget http://mysqltuner.com/mysqltuner.pl
chmod +x mysqltuner.pl
Using MySQLTuner Script for Lampp systems:
Just replace mysql & mysqladmin commands with respect lampp commands
vi mysqltuner.pl
Press Keys:- <ESC> and <:>
Enter:- 1,$s/\`mysql/\`\/opt\/lampp\/bin\/mysql/g
Running mysqltuner and obtaining the performance analysis:
Shell> ./mysqltuner.pl
Following is the Sample Output from mysqltuner script::
>> MySQLTuner 1.0.0 – Major Hayden
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with ‘–help’ for additional options and output filtering
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password:
——– General Statistics ——————————–
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.0.27-log
[!!] Switch to 64-bit OS – MySQL cannot currently use all of your RAM
It’s a perl script you can directly download. To run you ofcourse will need to install perl. I have not tried Vista but I don’t see any problem for that.
Can mysqltuner run on windows vista?
tell me how to place the script on mycomputer?
Thanks
Regard,
sugeng
It’s a perl script you can directly download. To run you ofcourse will need to install perl. I have not tried Vista but I don’t see any problem for that.