Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MySQL Solutions Details »»
MySQL Solutions
Version: , by MrLister MrLister is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-19-2008 Last Update: Never Installs: 0
 
No support by the author.

How did you guys overcome the mysql hurdle? I have http spread out to 3 servers and mysql is currently to 1 and struggling.

What did you guys do add more mysql servers? (What method and setup, ex. master-master master-slave, etc..)

I have memcache in place on many spots but the number of connections to the server seem to be exceeding it's limit.

Thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-21-2008, 02:08 PM
bosal's Avatar
bosal bosal is offline
 
Join Date: Feb 2005
Location: Poland
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

show me the forum you are talking about
Reply With Quote
  #3  
Old 01-24-2008, 05:47 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set up master/slave.
Why would you use 3 servers for http and only one for mysql when mysql will need multiple servers before http will?
Reply With Quote
  #4  
Old 02-19-2008, 03:33 AM
IronMountain IronMountain is offline
 
Join Date: Sep 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AWS is on the money, the hog is in the mySQL. Convert some of your Apache boxes to mySQL. Also make sure your mySQL servers have a good amount of RAM. Master-Master works especially well if you want some redundancy and Master-Slave works very well if you're only worried about a high load of readers but not that many writers.
Reply With Quote
  #5  
Old 02-26-2008, 02:00 AM
Amenadiel's Avatar
Amenadiel Amenadiel is offline
 
Join Date: Sep 2006
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AWS View Post
Set up master/slave.
Why would you use 3 servers for http and only one for mysql when mysql will need multiple servers before http will?
AWS, I'm replicating my vb database with master/slave, but the user I made to allow vbulletin to access slave db doesn't appear in the processes of the slave machine.

I understand that I should change the dbtype to mysql_slave on config.php, but where? there isn't a field for that purpose.

--------------- Added [DATE]1204000231[/DATE] at [TIME]1204000231[/TIME] ---------------

Update: if I set the dbtype in config.php as mysqli_slave or mysql_slave, a few connections spawn on the slave machine, but they stay as "unauthenticated user" just keep trying to login, while my webserver just hangs up.

--------------- Added [DATE]1204001092[/DATE] at [TIME]1204001092[/TIME] ---------------

New update: after giving the slavedb user global select privileges (not just for the vb slave database) and using mysql_slave instead of mysqli_slave, it works.
Reply With Quote
  #6  
Old 02-29-2008, 01:50 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Suggestion

If you have any products/plugins installed, check all the files and plugins associated with them. Many are not written properly - for MASTER/SLAVE configuration.

for example, many SELECTS that should be going to SLAVE are actually going to the MASTER. In fact, not to long ago some rewrites were done to vbulletin files to retrieve data from the SLAVE rather than the MASTER.

check all modifications found here and commercial addons

NOTE: not all SELECTs should go to the SLAVE as there may be a delay in the MASTER/SLAVE replication
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 02:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07206 seconds
  • Memory Usage 2,247KB
  • Queries Executed 21 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete