purge db regularly