Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2005, 05:20 PM
WotC_Mel WotC_Mel is offline
 
Join Date: Apr 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Search replication failing - disheartened

Hi,

I'm an admin for a large forum running 3.06 (patched for 3.07 security) and we have had to disable search. The vbulletin search grinds us to a halt and the full text is not cutting it either.

We have attempted to replicate the post table on a second server and have search run there to avoid the performance hit to the rest of the boards. The issue is that after two days of reasonable results, the post table corrupts and replication fails. This has now happened four different times. We had hoped this last time might work since MySQLs last release addressed some replication issues. (which is also why I am posting this here.)

So, is there anyone out there who is able to get replication running smoothly? Or is there another answer for search? At this point I am dispairing that we should attempt to move to Lithium forums which seems to be the only enterprise level solution that has workable search.

I will try to answer any questions about the set up, but may need to drag in my tech who can get specific.

-Mel
Reply With Quote
  #2  
Old 06-28-2005, 06:04 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What connection is between these 2 servers?
Is there any reason found that can be causing this corruption? Extreme high loads in traffic and/or server load on any of these 2 servers?
What are the server specs?

I realize that this is not a real help now, but vB3.5 will have buildin support for multiple database servers.
Reply With Quote
  #3  
Old 06-28-2005, 07:29 PM
WotC_Mel WotC_Mel is offline
 
Join Date: Apr 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for replying.

Here are the answers, straight from my tech's email:

> What connection is between these 2 servers?
100 Mbits/s link. I have the ability to upgrade to 1000 Mbits/s if it will help.

> Is there any reason found that can be causing this corruption? Extreme high loads in traffic and/or server load on any of these 2 servers?
While there is a lot of traffic on the master database, generally the load doesn't go over 4, with the average usually under 1.
Apache runs on a separate machine which frequently has extremely high load levels.

> What are the server specs?
Master and Slave run on dual processor 2.4 GHz Xeon with 2GB of memory on a hardware RAID 1 system partition and a hardware RAID 5 data partition.

I am hopeful in many ways for 3.5 release and am monitoring that discussion, however not a lot of it leads me to believe that "big boards" are going to experience significant performance help. I hope I am wrong, but I feel like I am trying to get a sqare peg to fit a round hole in terms of scalability.

-Mel
Reply With Quote
  #4  
Old 06-28-2005, 08:28 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever monitor the long running queries. I know for big boards, adding some extra indexes can just make the difference.

I would love to give you an easy solution, but there is not a single way a problem like this can be resolved, it would take some serious testing and investigating to find where you can still gain some performance. Maybe you just need a litle relieve of the server to avoid those corruptions, maybe it will just not work with the hardware. Very difficult to give a generic answer.
Reply With Quote
  #5  
Old 06-28-2005, 08:29 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PS Re-reading your first post. Did you only replicate the post table? And is this still while running full text search?
Reply With Quote
  #6  
Old 06-28-2005, 11:06 PM
WotC_Mel WotC_Mel is offline
 
Join Date: Apr 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have done a number of optimizing methods and do look at the long queries time. I'll ask the tech if anything is standing out at the moment.

As far as it not being one thing, I figured. However I was hoping others had had a replication issue and could give some stories about how they made it work. I have seen other admins talk about offloading search onto another server.

And I am very willing to try and have someone with experience look at the situation for a price. It would take some time to get my company to cough up the money, but it could be done.

-Mel

Quote:
Originally Posted by MarcoH64
PS Re-reading your first post. Did you only replicate the post table? And is this still while running full text search?
Ah, I think yes. I will double check.

Quote:
Originally Posted by MarcoH64
PS Re-reading your first post. Did you only replicate the post table? And is this still while running full text search?

Checked and he said:

No, we are replicated the entire DB. Yes, running full text search.
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 08:41 AM.


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.08124 seconds
  • Memory Usage 2,204KB
  • 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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)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_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