vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   A lot of queries! (https://vborg.vbsupport.ru/showthread.php?t=189537)

TheInsaneManiac 08-30-2008 04:36 AM

A lot of queries!
 
My host tells me I am running 600 queries right now which caused my database to crash. I am not sure how to view the queries running otherwise I would delete a bunch of modifications eating up my queries. I tried:
mysqladmin processlist

Along with other commands, but nothing...

SEOvB 08-30-2008 04:42 AM

remove any unnecessary modifications to begin with what all do you have installed.

It also may not even be the addons, if you have a high traffic site you could be getting alot of open connections to the DB from just loading vBulletin.

TheInsaneManiac 08-30-2008 05:30 PM

Quote:

Originally Posted by FRDS (Post 1610398)
It also may not even be the addons, if you have a high traffic site you could be getting alot of open connections to the DB from just loading vBulletin.

What can I do to reduce the load from all the open connections?

EDIT: Also what is the ssh command to see ALL of the queirs?

vBsquad 08-31-2008 12:57 PM

You should ensure that your attachments, avatars and custom profile images are moved to file based storage rather than the database. Additionally ensure AJAX is enabled and disable display of online users to non-members. These are just a few suggestions.

Have you tried mysqladmin -p processlist and logging in?

Marco van Herwaarden 08-31-2008 01:42 PM

Why would enabling AJAX reduce the number of queries?

TheInsaneManiac 09-03-2008 06:18 PM

Quote:

Originally Posted by vBsquad (Post 1611146)
You should ensure that your attachments, avatars and custom profile images are moved to file based storage rather than the database. Additionally ensure AJAX is enabled and disable display of online users to non-members. These are just a few suggestions.

Have you tried mysqladmin -p processlist and logging in?

How many queries would I reduce if I only showed online members to members? Like how many queries does online members use?

Also help me decide what should go:
https://vborg.vbsupport.ru/showthrea...85#post1613285

KHALIK 09-07-2008 02:22 AM

How many queries does a average "large" board tends to have ?

I have around 24 queries when I open a thread.

22 queries on my Forumhome page.

Dismounted 09-07-2008 05:57 AM

Queries on a page will be the same on any board, regardless of size, if running a default vBulletin with no modifications.

Lynne 09-07-2008 02:41 PM

It would be interesting to see a list of default queries per page. I realize for some pages it would be a range based on the options you have turned on, but it might help some users. (ie. if the normal amount of queries for a thread page is just 18 and some guy is getting 60, he may have a clue that perhaps his use of queries on the page aren't very efficient.)

TheInsaneManiac 09-11-2008 02:00 PM

Quote:

Originally Posted by Lynne (Post 1616646)
It would be interesting to see a list of default queries per page. I realize for some pages it would be a range based on the options you have turned on, but it might help some users. (ie. if the normal amount of queries for a thread page is just 18 and some guy is getting 60, he may have a clue that perhaps his use of queries on the page aren't very efficient.)

That's a wonderful idea.

Quote:

Originally Posted by KHALIK (Post 1616294)
How many queries does a average "large" board tends to have ?

I have around 24 queries when I open a thread.

22 queries on my Forumhome page.

I have 18 on my forumhome and 20 on posts. The forumhome amazes me considering I have a shoutbox.


All times are GMT. The time now is 05:51 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.02042 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete