Performance problem

This topic contains 4 replies, has 2 voices, and was last updated by  Ian Barnes 7 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #360290

    Ian Barnes
    Lifetime Member
    Post count: 91

    Hi,

    I had a big performance issue where a single query wiped out my whole CPU whilst Google bots were indexing my site. The query was

    SELECT t.term_id FROM

    wps_terms

    AS t INNER JOIN

    wps_term_taxonomy

    AS tt ON t.term_id = tt.term_id LEFT JOIN

    wps_term_relationships

    as tr ON tr.term_taxonomy_id = tt.term_taxonomy_id LEFT JOIN

    wps_posts

    as p ON p.ID = tr.object_id INNER JOIN

    wps_geodir_gd_place_detail

    as pd ON pd.post_id = p.ID WHERE tt.taxonomy = ‘gd_placecategory’ AND p.post_status = ‘publish’ AND pd.post_locations LIKE ‘[worcester],[worcestershire],[united-kingdom]’ GROUP BY t.term_id ORDER BY COUNT(t.term_id) DESC

    I have no upgraded yet but have you seen this before or anything you recommend?

    Thanks,
    Ian

    #360361

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ian,

    That looks like the query to create the site map of your site, it should only run every now and then. Did you run out of CPU or RAM?

    Stiofan

    #360452

    Ian Barnes
    Lifetime Member
    Post count: 91

    Hi Stiofan,

    It was the CPU that had problems with mysql taking most of it. I have now just done a bit of re-config and upgraded geodirectory, Mysql from 5.5 to 5.6 and added some more RAM.

    What controls the creation of the site map?

    Ian

    #360457

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Do you have yoast SEO installed? I think that takes over if it is.

    Stiofan

    #360547

    Ian Barnes
    Lifetime Member
    Post count: 91

    Hi, Yes we do have Yoast.

    Ian

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket