vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Forum Running Slow - MySql Problems? (https://vborg.vbsupport.ru/showthread.php?t=236189)

IndyParts 02-18-2010 02:42 AM

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?

Medtech 02-18-2010 03:16 AM

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.

IndyParts 02-18-2010 08:30 PM

What do you direct them outside of the database?

Videx 02-19-2010 02:02 AM

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.

IndyParts 02-19-2010 03:24 AM

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?

Videx 02-19-2010 03:50 AM

<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.

ChopSuey 02-20-2010 03:10 PM

Try asking for a mysql server optimization request over @vb.com

Videx 02-20-2010 04:20 PM

Quote:

Originally Posted by ChopSuey (Post 1987377)
Try asking for a mysql server optimization request over @vb.com

I didn't think server optimizations were possible on shared servers?

snakes1100 02-20-2010 05:36 PM

You cant optimize a shared server, not unless its a vps/dedicated.

ChopSuey 02-22-2010 12:53 PM

Quote:

Originally Posted by Videx (Post 1987436)
I didn't think server optimizations were possible on shared servers?

Oops :erm: didn't read well :p


All times are GMT. The time now is 10:10 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.01044 seconds
  • Memory Usage 1,727KB
  • 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)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