Db dumping improvement