SharDB
Implements a MD5 hash based multiple database sharding structure for WordPress network blog tables.
Consider an alternative
SharDB shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 4/5 and was last updated 12 years ago, and scores 27/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 12 years
- Only tested up to WordPress 4.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where SharDB stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| database | >100 |
| multiple | >100 |
| multisite | >100 |
| sharding | #7 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4 from 4 reviews
About SharDB
From the official readme · v2.7.7Description
This is intended for larger WordPress Network installs using an existing 1-3 character MD5 hash (by blog id) based multi-DB sharding structure. It supports 16, 256 or 4096 database shards. It also supports a separate database for blog id 1 and multiple VIP databases (home & VIP code contribution by Luke Poland).
It should support any plugin that works with (and accesses all data via) the regular WordPress database code.
It has been used to power MU version 2.7.1 through WordPress 4.8 sites and upgrade sites from 2.7.1 through to the WordPress 4.8.
A detailed installation guide can be purchased for a nominal fee.
This plugin is based on HyperDB which is the database plugin used by WordPress.com. Like HyperDB, this plugin autodetects whether a query is requesting a global or blog table.
Installation
- The database configuration instructions are at the top of db-settings.php. The configuration instructions assume that:
- your databases all have the same database server, user & password.
- your blog shard databases are named according to the same prefix and a suffix of md5 hash, global, home or vipX.
- Instructions for adding VIP databases are at the bottom of db-settings.php.
- Once finished editing db-setting.php upload it to the same folder as wp-config.php for your WordPress install.
- Edit your wp-config.php and add the following line after the database settings are defined:
require_once(‘db-settings.php’); - upload shardb-admin.php to /wp-content/plugins/.
- Network activate the SharDB admin tools in Network Admin -> Plugins.
- Migrate your data to your DB shards using the SharDB migration screen under Network Admin -> Settings on the main site.
- upload db.php to /wp-content/.
Changelog
2.8.1
- Fix MySQL FOUND_ROWS() support used for pagination.
- Fix warnings.
2.8
- Add PHP7 support.
- Fix warnings.
- Test with WP 4.8
2.7.7
- Fixed button URLs in the migration screen.
- Test with WP 3.6
2.7.6
- Fixed notices issued by PHP 5.4.
- Added 3.3.X support.
- Added support for BuddyPress 1.5 forums.
- Dropped support for pre 3.2 WordPress.
2.7.5
- Added 3.1.X support.
- Migration script.
2.7.4
- Added 3.0.X support.
- Fixed warning.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best SharDB alternatives
All database plugins →FAQ
SharDB: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is SharDB free?
Yes. SharDB is free to download and use from the official WordPress.org plugin directory.
Is SharDB safe to use in 2026?
SharDB shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 4/5 and was last updated 12 years ago, and scores 27/100 on our health check.
How many websites use SharDB?
SharDB is active on 10+ WordPress websites and has been downloaded 9,527 times since it launched in December 2009. It was downloaded 167 times in the last 30 days.
Does SharDB work with WordPress 7.1?
SharDB is officially tested up to WordPress 4.8.35, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was SharDB last updated?
The latest version, 2.7.7, was released on June 29, 2014 (12 years ago).
Who makes SharDB?
SharDB is developed and maintained by Ron Rennick.
What are the best alternatives to SharDB?
The most popular alternatives to SharDB are Search Regex (100K+ installs), WP-Sweep (100K+ installs) and Advanced Database Cleaner (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

