Why so many queries ? (18 !) (6 posts)

  1. Roman2K
    Posted 11 years ago #

    Hi all and thank you for wordpress. It works like a charm except one annoying thing :

    I installed no plugins but the pages (I can give the address if requested) takes almost one second to generate !

    And that is due to the 18 queries made for a simple page ! Incredible.

    Why are there sooo many queries ? I'm sure all the stuff that is taken from the database can be taken in 6 queries max.

    I'm really waiting for your help because it cannot continue like this :-(. The CPU of the server will be saturated...

    If there are no solutions, is there a similar WordPress blogger that is fast ?

  2. Denis de Bernardy
    Posted 11 years ago #

    try WP cache

  3. Mark (podz)
    Support Maven
    Posted 11 years ago #

    I'd say 18 queries is fine ...

  4. Firas
    Posted 11 years ago #

    If 18 queries are taking a whole second, that's a sever performance issue. Get a caching plugin as mentioned.

  5. Roman2K
    Posted 11 years ago #

    wp-cache rocks ! Thanks a lot !

    Indeed, the server is a Duron 700 Mhz with 192 Mb SD-Ram :-D.

  6. davidchait
    Posted 11 years ago #

    Note that running WP-Cache basically 'disables' much of the dynamic functionality of any on-the-fly plugins. And the last version I had never did forced-refreshes (I added that to my Staticize Reloaded hacked version, forcing it to refresh every few hours randomly).

    A Duron 700 shouldn't be that bad. I wonder what 'bad' plugins you might be running, and how they are affecting performance. WP-Cache is in many ways a 'bandaid' that covers up other problems and adds new ones. (I use Staticize only for things that don't corely change often, like my RSS feed -- but not for primary pages, where I have a bunch of dynamic code running constantly).

    Just fyi.


Topic Closed

This topic has been closed to new replies.

About this Topic