While having a plugin that handles your stats (and displays them in your admin interface) is nice, they can actually inflate the database almost as quickly as unchecked spam. This means you should be cautious of using them, and pay special attention to your database if you do so.
Optimally, you'd use something that doesn't depend on your server environment like Google Analytics. But if you prefer a server side solution, Piwik is available as a One-Click Install and works rather nicely.
Checking your plugins
Firstly, it's extremely important to make sure your plugins are compatible with the version of WordPress you're using.
This is something you can verify at WordPress' Plugin Directory.
If you are experiencing site slowness, and you want to see if it's resource-usage related (and not something on DreamHost`s end), simply disable all your plugins, and switch to the default theme.
If your WordPress installation is suddenly running faster, then it’s recommended to go through your plugins and enable them one-by-one, to see if any of them is using more resources than the others.
For a more scientific approach, you can see how many queries and how much CPU time a page took to load.
To determine the number the queries and how much CPU is being used:
- Log into the server via FTP. You can find more info about how to use FTP here:
- Find your "footer.php" file which is found on the webserver.
- Navigate to your /wp-content/themes directory.
- In this directory, open the folder for the theme you’re using. For example, if you’re using ‘twentyfourteen’ you’d find the footer.php file at /wp-content/themes/twentyfourteen/footer.php.
- In the file, add the following content at the very bottom:
<?php echo get_num_queries(); ?>
queries in <?php timer_stop(1); ?> seconds
By reloading this page each time you activate a plugin, you can check which one increases your queries and CPU time considerably.
On the bottom of your WordPress site you’ll see:
# queries in # seconds
You will need to have any caching plugins disabled for this to work.
The Jetpack plugin is a bit special. You might try disabling individual modules in the plugin to improve performance. For each module, click "Learn More" and then "Deactivate".
The P3 Plugin Profiler plugin is a great tool to see what plugins may be slowing your site down. It gives you a simple graphical output to quickly see which plugins are using the most resources.