Slim stat causing network admin timeout?
-
Hi,
Recently when I’ve been going to my network dashboard (multisite) the whole network freezes – we tracked it down to this query that gets run on the dashboard page (/blog/wp-admin/network/)
———–SELECT tu.ID, tu.user_login, tu.user_email, tum2.meta_value login_count, 0 pageviews, 0 maxdt, 0 mindt
FROM efolioblog.wp_users tu
LEFT JOIN efolioblog.wp_usermeta tum ON (tum.user_id = tu.ID AND tum.meta_key = ‘wp_1_capabilities’)
LEFT JOIN efolioblog.wp_usermeta tum2 ON (tum2.user_id = tu.ID AND tum2.meta_key = ‘slimstat_login_counter’)
LEFT JOIN (wp_1_slim_stats t1 ) ON tu.user_login = t1.user
WHERE t1.dt IS NULL
GROUP BY tu.user_login
ORDER BY tu.user_login desc
LIMIT 0, 50
———Any ideas why this would cause the network to hang? We’re running a large multisite, around 3000 blogs.
Is it possible to stop this running on the network dashboard? Not sure what its doing…Many thanks in advance for any help you could give!
Alex
- The topic ‘Slim stat causing network admin timeout?’ is closed to new replies.