vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Slave Database (https://vborg.vbsupport.ru/showthread.php?t=205548)

Boards.ie 02-16-2009 10:28 AM

Slave Database
 
Heya,

Planning to implement a master-slave setup for vBulletin using the built-in functionality for it; I'm curious, if the slave becomes unavailable, does the site then become inaccessible, or is there a way around that?

For example, we run nightly backups that normally make the site inaccessible for 20-30 minutes due to the size of the DB at 11 million+ posts, was thinking this might be an excellent way around the problem.

Marco van Herwaarden 02-16-2009 10:38 AM

A slave database is used of offload some of the work to a secondary database. If you use this, both database must be available.

Boards.ie 02-16-2009 12:12 PM

Do you think it would it be reasonable to have a script to say, write the vb config file to disable the slave accesses, then perform the backup and re-enable?

Marco van Herwaarden 02-16-2009 12:49 PM

Having files writable would already decrease security.

Boards.ie 02-16-2009 02:46 PM

By a script I mean a shellscript run on cron, not a php script.


All times are GMT. The time now is 08:26 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.01016 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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