• I am new here and looking into using wordpress. Can someone, please, tell me when a page is generated how many database queries does it take? For both a list of blog enteries and s single entery.

    Thanks,
    Matt

Viewing 3 replies - 1 through 3 (of 3 total)
  • The number depends on a lot of things. For instance, if you have a sidebar, what’s in the sidebar? A list of links, archives, latest comments?

    Then you have to find a bunch of things for each post, like the title, the date, the content, (though that’s most probably done with one query for each post) also how many comments, that’s another query for each comment.

    The exact number is impossible to tell without searching through all the functions used, and also it will change with each request, and there will be theme-specific stuff going on. I would estimate it to be somewhere in the region of 20 to 100.

    Thread Starter mfer

    (@mfer)

    Thanks for the info. That actually told me just what I was looking for.

    Excellent, glad to help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘database question’ is closed to new replies.