In the iteration, I have a length of 10,000 for one ID, and it needs to iterate again based on a dynamic ID for 20 more times. During each iteration, the ID is taken from the second half of the first set of 10,000 records, starting from row ID = 5000