multiple dbs and chain batch