Again, as an option, you could pull this out as a management command, so that it can be run in a controlled fashion. I think this is going to be especially important for the event backend (as opposed to the `modulestore`) because we expect the dataset to be significantly bigger.