How many WordPress SQL Queries per page?

I am on a shared hosting which has a limitation at MySQL queries per hour. My shows unable to connect to database because of this.

Can anyone tell me how many queries are per page on a wordpress site with default theme instaled on?

PS: I haven’t any plugin installed.

3 Answers
3

WordPress uses a lot of plugins and is very query heavy but the in spite of that, the front page uses 59 queries to generate itself. I think the default (on a vanilla WordPress install on the default theme) is 27 or something of that nature. The larger the number of queries, the slower the page is going to load and the more load you are going to put on your MySql server. All of the above is true if you do not use inline or regenerative caching mechanisms.

If you want to know more go through this link and you can also calculate the number of queries using this plugin Debug Bar plugin

Leave a Comment