Db implement