Trying to optimize batch run for Teradata

- For the first iteration, we fetch data from DB and keep them in an
array.
- For the rest of iterations, we just pull client ids and clients’
transactions from the array elements.