compressing transactions using index by customer ID. dumping in chunks.