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
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
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
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
plugin-install.php
plugins.php
profile.php
settings.php Network Admin: Replace "Options saved." notice with "Settings saved.". 2016-07-04 22:01:27 +00:00
setup.php
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
theme-install.php
themes.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
update-core.php
update.php
upgrade.php Multisite: Improve performance of the upgrade page on large networks. 2016-08-09 11:39:36 +00:00
user-edit.php
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