we might want to batch these later- What is the performance like here? We are effectively blocking all database transactions serially while this is running.