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,002 among WordPress.org plugins with 10+ active installations, is #1,545 of 4,482 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 (Current: 7.1)
v1.9 Current Version v1.9
Updated 3 years ago Last Update on 12 Oct, 2022
Refreshed 12 hours ago Last Refreshed on
#1,545 of 4,482 in Security Top 50% by installs Downloads -12.1% this week No update in over a year
View on WordPress.org
Rank
#31,002
+116 this week
Active Installs
10+
-37.5%
KW Avg Position
184
No change
Downloads
187.4K
+18 today
Support Resolved
0%
No change
Rating
82%
Review 4.1 out of 5
4.1 (14 reviews)

Next Milestone 20

Total Progress 40%
10+ 20+
17,740
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 6 more installs to reach 20+

Rank Changes

30,919 31,042 31,166 31,289 31,412 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
30,656 30,868 31,080 31,292 31,504 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #31,002
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 10 20 30 40 50 60 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 10 20 30 40 50 60 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-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.