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


8 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.

  4. Mohini Bisht says:

    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.

  5. Scott says:

    Hi Ron,
    Do you have a script to partition an existing DB in multiple DB’s?

  6. Ron says:

    I’ll be adding that with the 3.0 update.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image