How to aggregate record data inspite of batchsize

Certified Senior Developer

I have to aggregate data based on a column. With aggregate will I get all the Data if the DB contains > 20,000 records. How to achieve it

  Discussion posts and replies are publicly visible