Example 2: Load Splitter Using Minimum Batch Size
In this example, the load splitter receives 1001 row IDs for the account assignment object, which is greater than the threshold of 1000. The total number of tasks is 10, and minimum batch size is 500. The load splitter tries to split the rows into even tasks. The default calculation for batch size calculates 1001 divided by 10, or about 100 rows, as the batch size. Due to the ramp-up time for different server components, this processing is actually more inefficient than just running two separates batches of 500 and 501 row IDs. Therefore, the load splitter takes the minimum batch size of 500 into account and splits the rows into two tasks of 500 and 501.