vb.org Archive

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

nyunyu 03-07-2008 05:18 PM

SQL Queries.
 
I installed a mod vBmicrostats on my forum

The stats from forum:

Page generated in 0.79363608 seconds (71.49% PHP - 28.51% MySQL) with 25 queries

In post thread, TECK did reply and voice out his opinion

The percentage looks great, 75% PHP and 25% MySQL is the right balance. However, you have to remove the armada of queries you currently perform on the forumhome, really important for your server performance.

Can anyone tell me how can I reduced the queries?


Thank you very much for any help.

SEOvB 03-07-2008 11:44 PM

remove modifications that effect or load on forumhome, i've only got 11 on my forumhome with a few modifications added.

topXstats
members who visited toda
websites who referred visitors.

disable those and see how much your query count drops

Dismounted 03-08-2008 03:24 AM

Basically, only install modifications that you really need, not just for the ride.

nyunyu 03-08-2008 03:54 AM

I removed (disabled) all unused hack, and the queries does not reduced.
Perhaps I should hire someone who really do have vast experience in vb to look at my site and see if he/she can removed something that can lessen the queries.


All times are GMT. The time now is 03:58 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.01064 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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