vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Multiple copies of MySQL on a single server (https://vborg.vbsupport.ru/showthread.php?t=124333)

jason|xoxide 08-18-2006 06:35 PM

Multiple copies of MySQL on a single server
 
Does anyone know if this would help the searching issues on a larger board? My load is reasonable until a dozen people try to search at the same time. I was hoping that this might help the table locking and keep me from having to get a new server (or set of servers) until next year.

If you think it would help, does anyone know how to go about installing a second copy of mysql?

COBRAws 08-20-2006 03:38 AM

Im not quite sure, but it would be better if you used multiple DB's and used just one for searches. Because the load will double if you install multiple instances of mysql in a single box.

my 2 cents.
If Im wrong just let me know.

afx1 08-20-2006 04:32 AM

Don't install multiple db servers on the same machine...it won't do anything, at all. Do a quick search on these forums for "big boards" or slow search. You should get a few good tips on speeding that up.

Erwin 08-29-2006 06:01 AM

Well, that's not exactly true - having 2 post tables, even if they're on the same server, and only search one of them will reduce table locking and may reduce loads overall associated with that. However, it's better to offload search to a separate slave server.

dbembibre 09-06-2006 08:41 AM

Separate slave server and separate image server (to help main server)

my 2 cents :)

jason|xoxide 09-06-2006 02:42 PM

Quote:

Originally Posted by Erwin
Well, that's not exactly true - having 2 post tables, even if they're on the same server, and only search one of them will reduce table locking and may reduce loads overall associated with that. However, it's better to offload search to a separate slave server.

That's what I thought. The box I have seems to be more than powerful enough to handle the sites as long as there is little-to-no table locking.

I have a second server "available" (for testing, not permanent use) and I tried setting up a slave server a month or so ago but it didn't go well. For one, no "CREATE TABLE", "ALTER TABLE", or "DROP TABLE" statements were replicated to the slave. That means that any time I upgraded vBulletin or made some other DB change that those changes would not be replicated and the slave would break. Next, I had problems with the connection between the servers being dropped. Finally, when it did work, the site actually seemed slower for general use (but without the load peaks from searches).

Erwin 09-07-2006 03:50 AM

You can set it up so that only certain tables need to be replicated, but this involves a recode of search.php.


All times are GMT. The time now is 10:28 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.01068 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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