Support » Networking WordPress » SharDB or HyperDB?

  • Without digging into the code first, I’d like to know the difference between shardb and hyperdb.

    What are the features in shardb that are not available in hyperdb?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Ron Rennick


    MultiSite Guru

    The main difference is the sharding structure.

    SharDB supports 16, 256 or 4096 database shards for site/blog tables.

    HyperDB is significantly more advanced in that area and theoretically supports an unlimited number of database servers & databases.

    Thanks for your reply, Ron. Maybe I’m wrong, but seems like SharDB has functions that are premade for “sharding” the databases, while with hyperdb, it is left to us to figure out an algorithm to do that with the my_db_callback function.

    So with hyperdb, it’s still left to us to make sure the partitioning the tables correctly and efficiently. That opens up rooms for mistakes unless one is also good at codes and databases.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SharDB or HyperDB?’ is closed to new replies.