• Hi Guys,

    I’m making my first website using wordpress.

    I think it’s an amazing CMS with a lot of resources but….. I found a very big problem that nobody seems to talk about.

    WordPress makes a lot of queries everytime it loads a page.

    For example. I installed buddypress.
    So when I go on my home page it does at least 20 queries for it but in the homepage there isn’t anything about buddypress it’s only a post loop.

    Why it does too much queries if it is not necessary.

    Since I’m a programmer I use to make website using less queries that I can. Overload MySQL server could be a big problem.

    Searching online the only solution seems to be caching the queries using W3C total cache … but it’s not a solution… because every X minutes the cache has to be refreshed.

    Any solution?

Viewing 1 replies (of 1 total)
  • Well, it seems that these queries are the default queries of WordPress. I’m looking for a good solution, too. W3TC works well, but … you wrote it. I think there is no need to use 20 queries for simple pages. I googled a little bit and there are tips like setting “return true” in is_blog_installed() in functions.php of wp-includes. But after an upgrade you’ll have to change these lines again. Would be cool if many people could post their boost tips and we make a collection. I think there are some hidden unnecessary queries. yoast wrote 2009 that he had “only” 16 queries – 7 of his plugin and 9 from wp itself … https://yoast.com/wordpress-performance-optimization/

    any ideas?!

Viewing 1 replies (of 1 total)
  • The topic ‘MySQL Queries, Too Many.. Why?’ is closed to new replies.