SharDB update

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

[Post to Twitter] Tweet This Post 


bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top  banner ad


4 Responses to “SharDB update”

  1. windhamdavid says:

    Ron.. you are great! thk U.

  2. michael says:

    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!

  3. michael says:

    Forgot to subscribe via email.

Leave a Reply