[wp-hackers] Allow Wordpress to use a Slave Database

Colin Ogilvie wordpress at colinogilvie.co.uk
Tue Jun 3 14:59:46 GMT 2008


Andy Skelton wrote:
> Have you tried HyperDB? It's what we use on WordPress.com to
> distribute queries among slaves. It also detects write queries and
> sends them to masters.
>
> http://svn.wp-plugins.org/hyperdb/trunk/
>
> HyperDB has fallen behind WPDB (e.g. it lacks the new prepare and
> update methods) so it needs some attention but nothing terribly
> difficult. I'm sure the maintainers would be happy to see a patch from
> you.
>
> http://lists.automattic.com/mailman/listinfo/hyperdb
>
> Then again, if its capabilities were smartly integrated into WPDB it
> could be even more beneficial.

I'd thought about using that, but I'd rather see it implemented in the
core than having to use different plugins and other DB files which, as
you said, start to lag behind the core.

Also, hyperdb seems to be a bit advanced for what we were actually
wanting to do.

Colin




More information about the wp-hackers mailing list