Priority: Major - P3
Affects Version/s: None
Fix Version/s: None
I want to replace the collection field based on a map table, like
I use update function within a for loop to do this. But it's so slow. This collection contains more than 1000000 objects, and each update will execute more than 10 mins(even if src field has a index).
How to optimize this script? Is there any way to update the whole may in a single function? Or use multi thread way to let the update function parallelly?