anusha(salesforce developer)

Thursday, 22 September 2016

why we use bulkfy trigger in salesforce


Bulkified trigger is the one which operates on bulk of records at a time. You need to bulkyfy trigger because sometimes you may use data loader or other tools to insert/update/delete lot of records at a time.

Batch size is the number of records that will be processed in a single transaction - in the data loader when running in non-bulk mode you can set this between 1 and 200 records.

Batch jobs are apex that is run in batch mode, allowing up to 50 million records to be processed by a single job. They are a way of breaking up the processing of huge amounts of data into discrete transactions.

Data loader is just another mechanism for getting data into the system - it allows you to create multiple records in one go, unlike the standard UI which allows you to create one record at a time.

No comments:

Post a Comment