• Resolved Matt Pramschufer

    (@mattpramschufer)


    So recently our admin was very very slow, after some debugging, we noticed that our admin pages were generating about 50,000 queries on each page load. Come to find out WP User Avatar decides to loop through every member and grab user meta.

    SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (5219) ORDER BY umeta_id ASC

    So multiply that by as many users as you have and it will cripple the admin.

    https://ww.wp.xz.cn/plugins/wp-user-avatar/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Looping through all users on admin!’ is closed to new replies.