To help optimize your VPS, do take a look at MySQL Tuner

MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability.  The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.

----- Download/Installation -----

You can download the entire repository by using 'git clone' followed by the cloning URL above.  The simplest and shortest method is:

    wget mysqltuner.pl
    ./mysqltuner.pl
   
Of course, you can add the execute bit (chmod +x mysqltuner.pl) so you can execute it without calling perl directly.

----- End -----
Was this answer helpful? 251 Users Found This Useful (548 Votes)