WordPress.org

Ready to get started?Download WordPress

Forums

tag pages slow after 3.1.1 upgrade (5 posts)

  1. softclick
    Member
    Posted 3 years ago #

    We have a blog with:

    34.000 Posts
    10.000 Tags

    and our tag pages are very slow after upgrading to 3.1.1.

    On smaller blogs and on tag pages with only a few postings it does not seem to be a problem. But we have some tags with 400-500 posts and that tag pages produce slow queries now.

    We have isolated the problem a little bit. It is caused by the changes in "/wp-includes/query.php".

    If we use the old query.php (3.1) it is lightning fast. If we switch to the new one (3.1.1) it takes 10-20 secs.

    With regards from Germany,

    Sebastian

  2. Alkpone
    Member
    Posted 3 years ago #

    Hi All,

    I've got the same problem with my blog : 59000 Post and 73000 tags and the query running access both wp_taxonomy_relationship and wp_posts and they stand in "Send Data" state.

    Running the query manually do the same (hanging for a while).

    Here is the part of the query which is VERY slow on my box :

    SELECT SQL_CALC_FOUND_ROWS wp1_posts.* FROM wp1_posts WHERE 1=1 AND ( wp1_posts.ID IN (select object_id from wp1_term_relationships where term_taxonomy_id in (754,281) GROUP BY object_id HAVING COUNT(object_id) = 2 ));

    I have done the same (replace query.php by the old one and everything going back to normal).

    Thanks for the tips by the way, it saves my a lot of time for researching the root cause.

    Regards,

    Alban

  3. softclick
    Member
    Posted 3 years ago #

    Yes, that is the query, that slows it down.

  4. softclick
    Member
    Posted 3 years ago #

    @Alkpone

    The problem with my blog was a plugin-issue. "sidebar photoblog" caused the problem.

    It was not enough to switch it off (what I did). I had to delete it.

    Regards from Germany,

    Sebastian

  5. scribu
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic