Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2010, 02:42 AM
IndyParts IndyParts is offline
 
Join Date: Dec 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Running Slow - MySql Problems?

I started a forum about two months ago. Everything has been setup and running, but lately the forum has been delaying by 15-60 seconds between pages. Currently shared hosting through GoDaddy. I have been on the phone with them daily and not getting anywhere. The forum has ~500 members, 150 on daily with 20-30 online at a time normally. It doesn't matter how many are signed on at a time, it is sometimes slow when only 4-5 are on.

I was talking with a friend tonight and comparing numbers with one of his sites. When I went into: Maintenance->Diag->MySql Status, my numbers are HUGE compared to his. My site has been open two months and his has been for two years. Some of my numbers are 10x what his are. I am not sure if this is the problem, but it is a start.

Any suggestions?
Reply With Quote
  #2  
Old 02-18-2010, 03:16 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah... godaddy sux, get a better host...

also you need to move all images and attachments to the file system, they are defaulted to being stored in the database.
Reply With Quote
  #3  
Old 02-18-2010, 08:30 PM
IndyParts IndyParts is offline
 
Join Date: Dec 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you direct them outside of the database?
Reply With Quote
  #4  
Old 02-19-2010, 02:02 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

20-30 concurrent users is about the limit for shared hosting. But I agree you want to move attachments to the file system if they aren't there already. Still, I suspect something else is at play here - like server load, which you don't even mention.
Reply With Quote
  #5  
Old 02-19-2010, 03:24 AM
IndyParts IndyParts is offline
 
Join Date: Dec 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Per the host, I am using less than 2% of what I am allowed.

Two questions...

#1 - The numbers that I have in the list of Mysql status. Is there a listing of definitions on what those are? Is there a way to reset those or do they even matter?

#2 - How do I seperate picture from the db?
Reply With Quote
  #6  
Old 02-19-2010, 03:50 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vbulletin.com/docs/html/main/attachment_storage_db_to_fs1" target="_blank">Moving Attachments to the Filesystem</a>

Nobody knows what all that crap is on that SQL page. I never even knew the page existed before I read your post. What you should be concerned with is your server's CPU usage. That 2% figure you cite has nothing to do with anything either. Look on page 1 of your AdminCP and make sure the CPU load is never more than 1.0 per CPU.
Reply With Quote
  #7  
Old 02-20-2010, 03:10 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try asking for a mysql server optimization request over @vb.com
Reply With Quote
  #8  
Old 02-20-2010, 04:20 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
Try asking for a mysql server optimization request over @vb.com
I didn't think server optimizations were possible on shared servers?
Reply With Quote
  #9  
Old 02-20-2010, 05:36 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cant optimize a shared server, not unless its a vps/dedicated.
Reply With Quote
  #10  
Old 02-22-2010, 12:53 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
I didn't think server optimizations were possible on shared servers?
Oops :erm: didn't read well
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:46 AM.


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.04568 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete