I updated SharDB (Download) for WordPress MU 2.9.1.1 and added support for the comment meta table.
SharDB update
Get 3 for the price of 2 in the Network Home Bundle
Includes 3 ebooks with plugins -
Network Home Pages: aggregate global content, set up sitewide tags, create a huge tags cloud like the one seen on WordPress.com, global footers and menus, setting defaults & more
Custom Registration: sign up on sub sites, multilingual signup pages, stop spam blogs
WP Curator: pick and choose posts from sub sites to feature on the main home page of your network
Network Home Pages, Custom Registration & WP Curator – $35.90 for all three. Purchase


Ron.. you are great! thk U.
Woot! Thx Ron!
Thanks for your great work.
I have recently come to use SharDB to scale out our WordPress MU installs. Am currently trying to get it working on one of our sites.
Our database setup is Master -> Slave via replication. It works great when I don’t use the add_slave function in db-settings.php, eg going to the master server as defined in wp-config.php.
When I use add_slave, all functions seem to send back “Array”, eg in the html title of the site, search box. Also, it just keeps printing out “Sorry, no posts matched your criteria” regardless.
Do you have any suggestions? This is on a completely new install of WordPress 2.9.1.1. I believe I have sharded the DB ok as it works fine connecting to the master only.
Here’s my db-settings.php config:
$shardb_hash_length = 1;
$shardb_prefix = ‘wpmu_’;
$shardb_dataset = ‘dbset’;
$enable_home_db = false;
$num_vipdbs = 0;
//$shardb_master_read = 99;
$shardb_local_db = true;
add_slave(1, ’192.168.0.20′, ’192.168.0.20′, USER***, PASS***);
Many thanks for any comments/suggestions!
Forgot to subscribe via email.
dear sir, i’m using free hosting service which allows only 50 mb per database.
can i use multiple databases for my blog.
so that if one gets filled, other will be automatically start filling by the posts.
if so, how to do that?
Hi Ron,
Do you have a script to partition an existing DB in multiple DB’s?
I’ll be adding that with the 3.0 update.