function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nandhini S 3Nandhini S 3 

Questions on Batch Class

Hi Guys,

I read that maximum batch size is 2000. If I execute a batch class with size as 2000, wouldn't it hit the governor limits.
database.executeBatch(batch, 2000)
AnkaiahAnkaiah (Salesforce Developers) 
Hi Nandini,

Its depends on your code complexity &  large set of data for processing.
Refer the below link you have explained clearly.
https://salesforce.stackexchange.com/questions/286449/batch-job-governor-limits

If this information helps, please mark it as best answer.

Thanks!!