automatic database purging when analytics/database roles are colocated