vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Query count. (https://vborg.vbsupport.ru/showthread.php?t=64637)

K33nny 05-02-2004 06:26 AM

Query count.
 
I was wondering what I should do about the query count on my forums. I've noticed lately after a few modification's that the count on showthread (going to newest post) is at 40. Here are some average's from different pages:

index.php: 31 queries
forumdisplay.php: 32 queries
showthread.php: 33 queries
showthread.php - latest post: 40 queries
usercp.php: 24 queries

Should I be concerned about the query count being above 30? What could I possibly do to lower the count?

forum.ewplanet.com

K33nny 05-02-2004 08:17 AM

Access Masks are off by the way.

Tony G 05-02-2004 12:13 PM

Stop installing hacks?

That's the really obvious reason why your queries are increasing. What hacks have you installed?

K33nny 05-02-2004 07:45 PM

Not alot honestly. As you can tell my forums are quite basic. :(

Xenon 05-02-2004 09:04 PM

31 queries for a vb2 index page is really not basic...
iirc basic was 15 queries.

as for showthread, 33 queries can be ok, it depends if these are fast ones or not, i'd suggest to remove some though...

Maybe you have just some hacks which are not well coded.
sometimes you can combine a few queries (take a look at my forumhome optimization for vb2, or a quite similar hack by filburt.)

there are some optimization hacks for vb2 which i suggest to install, or the much better way:
upgrade to vb3 :)

K33nny 05-03-2004 12:22 AM

I don't really like vB3, well I like it but it's got too much and I personally don't feel like disabling 75 things that I don't need or want. I'll just have to go back through everything I've installed and maybe remove stuff I don't really need. But honestly, I don't think I have THAT much installed.

I'll have to see though.

Zachery 05-03-2004 01:58 AM

Quote:

Originally Posted by K33nny
I don't really like vB3, well I like it but it's got too much and I personally don't feel like disabling 75 things that I don't need or want. I'll just have to go back through everything I've installed and maybe remove stuff I don't really need. But honestly, I don't think I have THAT much installed.

I'll have to see though.

What 75 things do you not like about vBulletin 3?

K33nny 05-03-2004 02:34 AM

Read my post, I said that I didn't need them or want them. vBulletin2 gets the job done for what I want in a set of forums.

I got some of the pages to go down in query count, still going to work on a few other things.

Xenon 05-03-2004 04:39 PM

Well i also don't like some things in vb3, but the advantages really outweight the disadvantages.

Especially the efficient way of caching and queries...

Zachery 05-03-2004 05:13 PM

Quote:

Originally Posted by K33nny
Read my post, I said that I didn't need them or want them. vBulletin2 gets the job done for what I want in a set of forums.

I got some of the pages to go down in query count, still going to work on a few other things.

vBulletin 3 gets the job done alot better at the end of the day and then some ;)

As stefan said the advantages realy kick the disadvantages, if you think there are any, in the bum ^^

K33nny 05-03-2004 06:38 PM

I understand that and if I had a better understanding of the template system I would've upgraded but I'll wait until after I get back from Bootcamp to do any of that.

Zachery 05-03-2004 06:40 PM

Its the vB2 template system with conditionals and CSS + orgianzed better ^^


All times are GMT. The time now is 04:43 PM.

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.01123 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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