High Performance MySQL

WordPress

Last updated:

Wp_options table autoload micro-optimization

The autoload feature loads and caches all autoloaded options, if available, or all options. The default option is to autoload, and over time when the wp_options table grows, this degrades performance. Today I noticed a slow MySQL query coming from a WordPress database (WordPress wp_options table). This made me investigate and to optimize the WordPress wp_options table “autoload” feature.

High Performance MySQL

Useful

Last updated:

Check, repair and optimize MySQL tables with mysqlcheck

MySQL's mysqlcheck is a command line table maintenance program: it checks, repairs, optimizes, or analyzes tables. Very handy for automated performance optimizations of MySQL databases and tables.

WordPress logo

WordPress

Last updated:

Clean-up spam comments and meta data

Delete WordPress spam comments and meta data in your database, easily with phpMyAdmin or mysql cli. Keep your WordPress database lean & mean!

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Codebase

Last updated:

Optimize all MySQL tables with MySQLi multi_query

PHP MySQLi extension supports multiple queries which are concatenated by a semicolon. We can use this to optimize all MySQL tables in one single multi_query statement.

WordPress

Last updated:

Block WordPress comment spammers manually

The less spammers hit your WordPress blog, the better your blog performs, is one of my opinions. A second is, the less unnecessary plugins you use on your WordPress blog, the better. So, a little while ago I decided to remove plugins like Stop Spammer Registration Plugin and do its work myself.

WordPress

Last updated:

WordPress CMS admin password reset

Lost or forgotten your WordPress admin password? Reset it with a MySQL query, through functions.php over FTP, or with the lost password feature.

Web applications

Last updated:

MySQL query caching using PHP/Zend_Cache

By using the Cache.php class of the Zend Framework, you can relatively easily cache MySQL query results to disk for faster consecutive results.