Concepts or coding lessons of Salesforce that you can implement easily

When to Use Salesforce Bulk API

Bulk API is a specialized RESTful API for loading and querying lots of data at once. By lots, I mean 50,000 records or more. 
Bulk API is asynchronous, meaning that you can submit a request and come back later for the results. 
This approach is the preferred one when dealing with large amounts of data. There are two versions of Bulk API (1.0 and 2.0). 
Both versions handle large amounts of data, but we use Bulk API 2.0 in this module because it’s a bit easier to use.

Bulk API is great for performing tasks that involve lots of records, such as loading data into your org for the first time.

Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. 
You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches. Salesforce processes batches in the background.

SOAP API, in contrast, is optimized for real-time client applications that update a few records at a time. You can use SOAP API for processing many records, but when the data sets contain hundreds of thousands of records, SOAP API is less practical. Bulk API is designed to make it simple to process data from a few thousand to millions of records.

The easiest way to use Bulk API is to enable it for processing records in Data Loader using CSV files. Using Data Loader avoids the need to write your own client application.

loading...

1 comment:

  1. Hello,
    In salesforce bulk operations like bulk field/object creation, updation, deletion sometimes become tedious and time consuming process. Here is solution, Salesforce BOFC app which do all this work in few clicks. For trial one can visit - Salesforce Bulk Object Field Creator

    ReplyDelete