Adjust write-db to optionally create multiple pools for the different dbs and then have the ingest functions lower down submit incoming commands once to each pool.