Skip to content
Ron Rennick edited this page Jul 24, 2019 · 6 revisions

SharDB Installation

The following instructions are for setting up SharDB.

You can download a zip of the plugin either from this repository or at WordPress.org. SharDB allows those running a WordPress network (multisite) to spread the data across 16, 256 or 4096 databases plus a database for global tables.

Initially, you will create those empty databases, then use the included migration script to copy all the tables from your original single database into new ones. The plugin includes a new database class that uses those databases.

This guide describes the process of implementing using 16 databases.

  1. Setting up the databases
  2. Installing the plugin
  3. Table migration
  4. Using 256 or 4096 databases
  5. Using a home database
  6. Backup script
Clone this wiki locally