WordPress/wp-admin/network
Gary Pendergast 210e23a63d Multisite: Improve performance of the upgrade page on large networks.
The query to select the next 5 blogs to upgrade was ordered by `registered`, which isn't indexed. This causes the query to table scan, which will be slow on networks with many blogs.

The query only needs to be ordered by something that won't change, so ordering by `blog_id` is a good replacement. `blog_id` is indexed, and it's the only column being returned, so MySQL is able to optimize for a fast index read.

Props fliespl.
Fixes #37612.


Built from https://develop.svn.wordpress.org/trunk@38229


git-svn-id: http://core.svn.wordpress.org/trunk@38170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 11:39:36 +00:00
..
about.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
admin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
credits.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
edit.php Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/network/*. 2014-11-30 11:21:22 +00:00
freedoms.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
index.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
menu.php Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
plugin-editor.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
plugin-install.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
plugins.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
settings.php Network Admin: Replace "Options saved." notice with "Settings saved.". 2016-07-04 22:01:27 +00:00
setup.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
site-info.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
site-new.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
site-settings.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
site-themes.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
site-users.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
sites.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
theme-editor.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
theme-install.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
themes.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
update-core.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
update.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
upgrade.php Multisite: Improve performance of the upgrade page on large networks. 2016-08-09 11:39:36 +00:00
user-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
user-new.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
users.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00