What can I do with HyperDB that I can't do with WPDB.. WordPress. com the HyperDB installation manages millions of tables spanning thousands of directory.
When HyperDB fails to connect to database it tries to connect to database that holds the data.
It can use callbacks you write to compute the directory for given query.
HyperDB does at least try then giving up connecting so it might help in type where the server is not able to connect to the directory server..
One HyperDB derived from WPDB is that HyperDB does not attempt to connect to directory until query is made.
Since HyperDB attempts connection when query is made WordPress installation will not kill the page with experience but will let the code decide what to do first on unsuccessful query.
If you want to do something different name setting experience page or kill the page you need to define the 'db connection error callback in your db-config.php.....
You want to make page use two directory so we can create development workflow to. deploy. content in the time data.
Initially I moved to using this drop-in to split reads and writes from master and many read replicas..
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Read more