Hi Team
I came across a weird issue - I have a class which does some process and it's running in batch job
Scenario 1:
When I have 5000 record in my table, and the batch job loops thru the table records(5000) to do some operations on those records, basically it's just taking approx 10-12 minutes to process 5000 records in batch
whereas,
Scenario 2:
Processing 15K records, I observed via SQL that it's running slower than Scenario 1, It was been observed that for 5K record - it took approx. 30min, and to process whole 15K record it took approx. 2 hours.
Did anyone face similar issue anytime?
Am I missing anything ?
I tried implementing - clearing cache, queryrun.next(), following all BP etc..
Please help. thanks!