Db redesign