vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Queries on Vbulletin.. (https://vborg.vbsupport.ru/showthread.php?t=70969)

Polo 10-25-2004 03:04 PM

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

Quote:

Originally Posted by Polo
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.

Polo 10-25-2004 05:34 PM

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....

Polo 10-25-2004 06:05 PM

Thanks AN-net, will keep that in mind ;)


All times are GMT. The time now is 10:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01165 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete