New version blocks my site due to very long SQL queries
-
After upgrading from 5.12 to the current version 6.1.2 my server is completely blocked due to very long SQL-queries like this:
Query_time: 106.579846 Lock_time: 0.000063 Rows_sent: 0 Rows_examined: 16983037
SET timestamp=1577816793;
SELECT p.ID FROM wp_posts p,wp_terms t, wp_term_taxonomy tt, wp_term_relationships tr WHERE p.post_type IN (‘post’) AND
p.ID IN (
select p.ID from wp_posts p where
p.id = tr.object_id AND
t.term_id = tt.term_id AND
tr.term_taxonomy_id = tt.term_taxonomy_id AND
( tt.taxonomy = ‘post_tag’ and tt.term_id = t.term_id and t.term_id in (826))
)
AND p.post_status = (‘publish’) AND p.ID <> 27685 GROUP BY p.ID ORDER BY post_modified desc LIMIT 0, 8;Time: 191231 19:26:33
I can not use the plugin anymore and must look for an alternative. I was happy with it before and do not want to loos the statistics.
- The topic ‘New version blocks my site due to very long SQL queries’ is closed to new replies.