Slow SQL queries and Settings page inaccessible
-
I’ve been using PageFrog Plugin and I think it has a lot of potential, but it’s causing me a few problems and if I can sort them it would be an awesome plugin.
So I use New Relic to help me track any slow query loads and quite regularly I get queries like the below which is coming back as 55 seconds. This looks to be called when the feed is requested.
I also for some reason cannot seem to access the settings page where you define what posts are and aren’t for AMP or Instant Articles. The slow query I’m seeing for the admin side is identical to the frontend query. So it seems this query is really poorly performing.
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN wp_postmeta AS mt1 ON (wp_posts.ID = mt1.post_id AND mt1.meta_key = '_pagefrog_fbia_status' ) WHERE 1=1 AND ( ( wp_postmeta.meta_key = '_pagefrog_fbia_status' AND CAST(wp_postmeta.meta_value AS CHAR) = '1' ) OR mt1.post_id IS NULL OR ( wp_postmeta.meta_key = '_pagefrog_fbia_status' AND CAST(wp_postmeta.meta_value AS CHAR) = '' ) ) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order, wp_posts.post_date DESC LIMIT 0, 15
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Slow SQL queries and Settings page inaccessible’ is closed to new replies.