Datasbase clean-up.