LudicrousDB #6 in Developer Tools
LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning
by Triple J Software, Inc. · github.com/stuttter/ludicrousdb · website
★ 565stars
135kcomposer installs
83forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/stuttter/ludicrousdb/archive/refs/heads/master.zipAlso on Packagist as stuttter/ludicrousdb:
composer require stuttter/ludicrousdbFrom the readme
LudicrousDB
LudicrousDB is an advanced database interface for WordPress that supports replication, fail-over, load balancing, and partitioning, based on Automattic's HyperDB drop-in.
0. Installation
Files
Copy the main ludicrousdb plugin folder & its contents to either:
wp-content/plugins/ludicrousdb/
wp-content/mu-plugins/ludicrousdb/
It does not matter which one; LudicrousDB will figure it out. The folder name should be exactly ludicrousdb. Be careful when you do "Download ZIP" from github and unzip.
Drop-ins
WordPress supports a few "drop-in" style plugins, used for advanced overriding of a few specific pieces of functionality.
LudicrousDB includes 3 basic database drop-ins:
db.php wp-content/db.php - Bootstrap for replacement $wpdb object
db-error.php wp-content/db-error.php - Endpoint for fatal database error output to users
db-config.php ABSPATH/db-config.php - For configuring your database environment
You'll probably want to copy these files to their respective locations, and modify them once you're comfortable with what they do and how they work.
1. Configuration
LudicrousDB can manage connections to a large number of databases. Queries are distributed
Read the full README on GitHub →