512 MB, 150 concurrent visitors, and a box that swaps before the CPU is busy. Replacing Apache and mod_php with nginx and PHP-FPM, in three stages that each…
long_query_time was an integer in MySQL 5.0, so one second became the conventional slow-query threshold and stayed there out of habit. It has taken a float since 5.1.…
Everything else in a WordPress install is a post, so the first instinct with a BuddyPress group is a WP_Query against some post type. There is not one.…
The rows column in an EXPLAIN is read as a measurement — “this query looked at 8,412 rows”. It is the optimiser’s guess, derived from index statistics, and…
MySQL 5.5 made InnoDB the default engine, which is often read as “we are on 5.5, so we have transactions”. Tables created under 5.1 keep MyISAM through an…