Slow queries
-
I’m getting very slow queries when I use my tag gallery. I used Query Monitor to show me what’s going on, as to why it’s taking so long to load the tag page and this is what it’s showing me:
SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_posts AS p2 ON (p2.ID = p2.ID) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (713) ) AND (wp_posts.post_mime_type LIKE 'image/%') AND wp_posts.post_type = 'attachment' AND (((wp_posts.post_status = 'inherit') OR (wp_posts.post_status = 'inherit' AND (p2.post_status = 'inherit')))) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order ASC, wp_posts.ID ASC LIMIT 0, 30
Caller: WP_Query->get_posts()+
Component: Plugin: media-library-assistant
Affected Rows: 30
Time: 26.9940I have no clue what it all means, but hoping someone else had the same problem and found a solution or someone can tell me why it’s doing it and how to fix it. Appreciate it.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Slow queries’ is closed to new replies.