Create comp index when creating dedupe table because group by is too slow