http://open.blogs.nytimes.com/2008/04/03/dbslayer-lives/
http://open.blogs.nytimes.com/2008/06/10/dbslayer-helps-you-get-parallel/
The second post really points out how to use dbslayer to execute
mutliple queries in parallel. We do this when we have mutile shards
and merge the results back on the clients side.
If this isn't helpful let me know.
d
[test-shard-1]
database=test-shard-1
host=localhost
user=app
pass=secret
[test-shard-2]
database=test-shard-2
host=localhost
user=app
pass=secret
If that makes sense - then you don't need to use the use clause and
can pass in the HOST parameter HOST=test-shard-2 etc.
Glad to hear that dbslayer is working for you and the parallel trick is useful.
d