February 4, 2012

SharDB for WP 3.1

Early in the development of WordPress 3.0, we had a preliminary discussion on changing the WordPress database class (wpdb) so that it could be inherited by plugins implementing a custom database class. We had a longer discussion on the subject while together at WordCamp San Francisco. As a result, there was a small change to [...]

SharDB 3.0.1 Update

Over the weekend I updated SharDB to allow installs to upgrade from WordPress MU 2.9.2 to WordPress 3.0.1. I also did an initial pass at support for new WordPress 3.0 -> WP network in SharDB. In this implementation the main site’s tables will be in the global database. You can easily set up a test [...]

SharDB update

I updated SharDB (Download) for WordPress MU 2.9.1.1 and added support for the comment meta table.

Scaling WordPress MU with multiple databases

Our larger WordPress MU install, Homeschool Journal has been running on multiple databases for about 3 years. Technically, it’s possible to have thousands of blogs in a single database install. Usually where people running MU start to have issues with the number of blogs is with getting complete backups of the database. Upgrades with multiple [...]

Changing the domain

Sometimes this happens, you’ve built the site and have to or want to change the domain it’s on. Or you did dev work on a different domain and now it’s time to go live. The domain name is actually stored in numerous places in the database, as well as one line in wp-config.php. Every single [...]