How come `wp_options` table does not have an index on `autoload`?
In the beginning of each page served by WordPress, there is a MySQL call to fetch options: SELECT option_name, option_value FROM wp_options WHERE autoload = ‘yes’; Because there’s no index on autoload column, MySQL has to lookup ALL rows. I also came across the comment of this answer saying there would be no performance gain … Read more