Title: [Plugin: SharDB] Multiple Servers?
Last modified: August 19, 2016

---

# [Plugin: SharDB] Multiple Servers?

 *  Resolved [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/)
 * Hi,
 * A couple of questions:
 * 1) The installation guide assumes that “your databases all have the same database
   server, user & password.” Does the plugin also support distributing databases
   across multiple servers? If so, are there any additional instructions for achieving
   this? (I did purchase the guide as well.)
 * 2) Of course, databases only represent part of the data on WordPress blogs…there
   are also user uploads. Do you recommend or offer any solutions for scaling a 
   multisite installation in this regard too (scaling/distributing the uploads)?
 * Thanks,
 * Mark
 * [http://wordpress.org/extend/plugins/shardb/](http://wordpress.org/extend/plugins/shardb/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014388)
 * An additional question:
 * I believe that this plugin is intended for scaling an existing multisite installation.
   However, if I’m just starting a new installation and want to go ahead and utilize
   multiple databases (to prevent this scaling/migration later), is this advisable?
 * If so, what is the recommended procedure?
 * Thanks,
 * Mark
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014472)
 * As a general note, unless you have some poorly written plugins, you will be scaling
   to multiple web servers, load balancers, caching, etc. long before you need to
   scale to multiple DB servers.
 * 1) yes, you can configure SharDB per DB, so each DB has it’s own DB connection
   info. There are brief instructions in db-settings.php for doing that.
 * 2) Not at this time. It’s on the list as something that I might do in the future.
   This would require server scripting as well as a plugin for WP.
 * 3) The migration script takes about 15 minutes per 1000 sites. I would not implement
   SharDB until I had at least 50 sites/blogs.
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014513)
 * Thanks. Is the migration usually pretty trouble free? (I know you can’t account
   for user error at my end, but I mean in general…)
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014522)
 * The basic migration code has been in the dev version for almost 5 months: [http://plugins.trac.wordpress.org/log/shardb/](http://plugins.trac.wordpress.org/log/shardb/)
 * Since I made this change: [http://plugins.trac.wordpress.org/browser/shardb?rev=357978](http://plugins.trac.wordpress.org/browser/shardb?rev=357978),
   it’s worked for everyone who has used it (as far as I know).
 * The migration script does not do anything to your original DB. So, the worst 
   case is you have to switch back to the original and fix whatever issue you have(
   ex. DB user doesn’t have permissions on one of the DBs).
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014618)
 * Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: SharDB] Multiple Servers?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shardb.svg)
 * [SharDB](https://wordpress.org/plugins/shardb/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shardb/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shardb/)
 * [Active Topics](https://wordpress.org/support/plugin/shardb/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shardb/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shardb/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [markb1439](https://wordpress.org/support/users/markb1439/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shardb-multiple-servers/#post-2014618)
 * Status: resolved