cleaning of db