vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Just a quick question about queries... (https://vborg.vbsupport.ru/showthread.php?t=53424)

obiwan8472 05-26-2003 10:27 PM

Just a quick question about queries...
 
Is 38 queries bad for a postbit?
And is 24 queries bad for the main forum summary page?
Thanks for any help!

cirisme 05-26-2003 10:31 PM

I normally check the page generated time.

For me, .5 is just too much. I try to get it down to .3 or .2 as much as possible. But it varies with serverload. :)

Gary King 05-26-2003 10:52 PM

38 queries is quite a lot for showthread. Also, check the time it takes to generate the page as well.

filburt1 05-26-2003 10:57 PM

Quote:

Today at 07:27 PM obiwan8472 said this in Post #1
Is 38 queries bad for a postbit?
And is 24 queries bad for the main forum summary page?
Thanks for any help!

For a postbit, it's insane because no queries should be made in a postbit. In showthread, it's high.
24 is fine for forumhome although starting to get high.

obiwan8472 05-26-2003 11:37 PM

sorry meant showthread.
Page generated in 0.13979399 seconds. mind u its only a test forum at present i have opened it to public yet. some tinkering needed me thinks

N!ck 05-27-2003 12:49 AM

There's an optimization hack somewhere, just do a search.

Erwin 05-27-2003 12:51 AM

38 is quite bit. Find out if it's something being looped - try increasing the number of posts per showthread page - if the queries increase per post, then you are looping something, and you should get rid of it.

sonic3d 05-27-2003 11:52 PM

how do i find the loop, cuz my showthread is 64 queries with 24 replies and 36 with zero replies. can u check it for me? if not where do i search for it?

l8er
sonic

Mijae 05-28-2003 03:02 PM

Its probably some of the RPG stuff you added, I had the same problem (50 queries at 10 replies).

cirisme 06-04-2003 08:15 PM

Quote:

how do i find the loop, cuz my showthread is 64 queries with 24 replies and 36 with zero replies. can u check it for me? if not where do i search for it?
If you turn debug mode on, then add "&showqueries=1" in the URL, you can see the exact queries that are running.

We used to have 49 queries on showthread, and I found out that was because of the awards hack I installed. Now I cache the result, and we regularly have fewer than 35 queries. :)

Erwin 06-04-2003 11:19 PM

My private showthreads is 21, and I have heaps of hacks there.

sonic3d 06-06-2003 06:01 PM

Quote:

06-04-03 at 04:15 PM cirisme said this in Post #10
If you turn debug mode on, then add "&showqueries=1" in the URL, you can see the exact queries that are running.


thanx it worked. now its around 38.

l8er
sonic


All times are GMT. The time now is 09:01 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.01435 seconds
  • Memory Usage 1,732KB
  • 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
  • (3)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