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
nbnb 

How to perform bulk data loads using batch apex i.e process upto 10000 records per batch?

Hi

 

Can anyone tell me how to perform bulk processing of data via batch apex. Currently only 2000 records can be processed per batch via batch apex. Can u provide me any link or ways to implement bulk processing of upto 10000 records per batch?

 

 

SharathChandraSharathChandra

Using Dataloader it is possible i think but through apex 2000 is the limit

Vinit_KumarVinit_Kumar

You need to use Bulk Api for this process.Go to settings of Apex Data loader and check Bulk APi option.

 

Then,you can set batch size to 10000 and the limit of no. of batches in 24 hrs is 2000 which means you can process 20 million records in 24 hrs.

 

Please go through below link for bulk api.

 

http://www.salesforce.com/us/developer/docs/api_asynch/index.htm