Adds db maintenance.