[wp-trac] [WordPress Trac] #11914: "Users" admin list slow to generate on large sites

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 19 23:08:11 UTC 2010


#11914: "Users" admin list slow to generate on large sites
--------------------------+-------------------------------------------------
 Reporter:  rowanbeentje  |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  high          |   Milestone:  3.0                    
Component:  Optimization  |     Version:  2.9.1                  
 Severity:  critical      |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by ryan):

 Does the call to user_row() in admin-ajax.php need to change to
 accommodate the new arg?

 cache_users() doesn't cache user meta. I think meta is expected to be
 cached as in _fill_user().

 cache_users() could be called update_user_caches() to fit in with
 update_post_caches() and other.

 Maybe the existing get_usernumposts() func could be called
 count_users_posts() to bring it in line with other count funcs and call
 get_users_numposts() something like count_all_users_posts().

 And maybe give count_blog_users_by_role_inmem() and
 count_blog_users_by_role_intime() less unwieldy names. count_users() with
 some args?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11914#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list