H
by Automattic 4.1 (14 reviews)

HyperDB

HyperDB is an advanced database class that supports replication, failover, load balancing, and partitioning.

HyperDB ranks #31,944 among WordPress.org plugins with 10+ active installations, is #1,834 of 5,058 in the Security category, a 4.1/5 rating from 14 reviews, and was last updated Oct 12, 2022. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.0.18 (Current: 7.1.4)
v1.8 Current Version v1.8
Updated 4 years ago Last Update on 12 Oct, 2022
Refreshed 1 week ago Last Refreshed on
#1,834 of 5,058 in Security Top 50% by installs Downloads -10.3% this week No update in over a year
View on WordPress.org
Rank
#31,944
— No change
Active Installs
10+
-44.4%
KW Avg Position
N/A
— No change
Downloads
195.2K
+6 today
Support Resolved
0%
— No change
Rating
82%
Review 4.1 out of 5
4.1 (14 reviews)

Next Milestone 20

Total Progress 80%
10+ 20+
8,771
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 2 more installs to reach 20+

Rank Changes

30,347 31,145 31,944 32,743 33,541 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
31,345 31,553 31,760 31,967 32,175 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #31,944
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 100 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 100 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.1
14 reviews
Overall 82%
5
11 (79%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
3 (21%)

Frequently Asked Questions

Common questions about HyperDB

WordPress.com, the most complex HyperDB installation, manages millions of tables spanning thousands of databases. Dynamic configuration logic allows HyperDB to compute the location of tables by querying a central database. Custom scripts constantly balance database server resources by migrating tables and updating their locations in the central database. Stretch your imagination. You could create a dynamic configuration using persistent caching to gather intelligence about the state of the network. The only constant is the name of the configuration file. The rest, as they say, is PHP.
HyperDB does not provide replication services. That is done by configuring MySQL servers for replication. HyperDB can then be configured to use these servers appropriately, e.g. by connecting to master servers to perform write queries.
HyperDB randomly selects database connections from priority groups that you configure. The most advantageous connections are tried first. Thus you can optimize your configuration for network topology, hardware capability, or any other scheme you invent.
Failover describes how HyperDB deals with connection failures. When HyperDB fails to connect to one database, it tries to connect to another database that holds the same data. If replication hasn't been set up, HyperDB tries reconnecting a few times before giving up.
HyperDB allows tables to be placed in arbitrary databases. It can use callbacks you write to compute the appropriate database for a given query. Thus you can partition your site's data according to your own scheme and configure HyperDB accordingly.
None that has been measured. HyperDB does at least try again before giving up connecting, so it might help in cases where the web server is momentarily unable to connect to the database server. One way HyperDB differs from WPDB is that HyperDB does not attempt to connect to a database until a query is made. Thus a site with sufficiently aggressive persistent caching could remain read-only accessible despite the database becoming unreachable.
Since HyperDB attempts a connection only when a query is made, your WordPress installation will not kill the site with a database error, but will let the code decide what to do next on an unsuccessful query. If you want to do something different, like setting a custom error page or kill the site, you need to define the 'db_connection_error' callback in your db-config.php.

More plugins by Automattic

Sign In / Register

You need to sign in or register to use this feature.