vb.org Archive

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

Mustang5ohhh 06-04-2003 02:20 PM

59 queries ???
 
My forumhome is generating this :

Page generated in 0.40923595 seconds (82.23% PHP - 17.77% MySQL) with 59 queries.
[Debug Mode OFF] [PHP v4.3.1] [GZIP disabled] [Server Load: 0.13 ยป 0.16 : 0.16]

This seems a "little" high to me. I have a few hacks installed ... top10stats ... welcomehack ... categorie banners and few others.

I had the Mod drop down ... before uninstalling it I had 63.

Is there a hack that will tell me what queries are being run ?

I need to get this fixed ... page load for members on dial-up is crazy.

Thanks in advance.

Xenon 06-04-2003 03:58 PM

enabel debug mode of your board and call index.php with parameters explain=1&showqueries=1

Mustang5ohhh 06-04-2003 04:55 PM

Thanks Xenon

I had trouble getting debug to work. Added the line to the config.php and uploaded ... still wasn't on according to the microstats hack I have installed.

I did find something that was adding queries ... having my forum depth set to 3 was adding 33 queries. I set it back to 2 and down to 26.

Is 26 an acceptable # ???

Thanks again.

WEForums 06-04-2003 05:12 PM

I think 26 is pretty acceptable. I have 27. :o

Check out Xenon's hack. https://vborg.vbsupport.ru/showthrea...threadid=46848 (If you haven't already)

I think someone else did another one...maybe filburt.

assassingod 06-04-2003 05:25 PM

filburts :https://vborg.vbsupport.ru/showthrea...threadid=53455

cirisme 06-04-2003 07:32 PM

Quote:

I had trouble getting debug to work. Added the line to the config.php and uploaded ... still wasn't on according to the microstats hack I have installed.
I noticed that too, both on my test forum and live forum. But, it is in debug mode even if it says its not. Debug mode and showqueries are invaluable optimization tools. :)

Quote:

Is 26 an acceptable # ???
Not bad. I have 21, but that's cause I went wild and added two queries. ;)

Xenon 06-05-2003 05:15 AM

FYI the debugmode has to be enabled in config.php, when you enable it in phpinclude or somewhere else it wouldn't help


All times are GMT. The time now is 01:00 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.01039 seconds
  • Memory Usage 1,719KB
  • 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
  • (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