View Full Version : Queries on Vbulletin..
How many queries are just too much?
On my site some pages create 17 queries others 8 and one page even makes 37 queries... I was planning on optimizing my website since many of these queries are created because of uncahed templates...
and I was wondering how much queries are the average "ok" number of queries for a page?
any feedback would be appreciated.
Colin F
10-25-2004, 03:55 PM
How many queries are just too much?
On my site some pages create 17 queries others 8 and one page even makes 37 queries... I was planning on optimizing my website since many of these queries are created because of uncahed templates...
and I was wondering how much queries are the average "ok" number of queries for a page?
any feedback would be appreciated.
Generally as little as possible is the way to go. But there's no amount you can say that is perfect, as some pages just need more queries than others. 37 is too much for sure though!
Like you mentioned, a great idea is to precache all the uncached templates, as each of those adds an additional query.
Xenon
10-25-2004, 04:15 PM
As Colin already said, you cannot say a definit value.
normally you say that you should stay below 25-30, but that's not always possible.
also think that sometimes three fast queries can be better than one slow.
thank you for the feedback guys... I will keep that in mind ;)
Xenon
10-25-2004, 05:40 PM
you're welcome :)
AN-net
10-25-2004, 06:04 PM
between 10-20 i find the most optimal going over 20 is starting to over do it....
Thanks AN-net, will keep that in mind ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.