Limits and Allocations
Limits for Ingest Jobs
| Item | 制限 |
|---|---|
| Maximum number of records uploaded per rolling 24-hour period | 150,000,000 |
| Maximum number of times a batch can be retried.See How Requests Are Processed. | The API automatically handles retries.If you receive a message that the API retried more than 10 times, use a smaller upload file and try again. |
| Maximum file size. | 150 MB |
| Maximum number of characters in a field. | 32,000 |
| Maximum number of fields in a record. | 5,000 |
| Maximum number of characters in a record. | 400,000 |
Limits for Query Jobs
| Item | 制限 |
|---|---|
| The maximum number of query jobs per 24-hour rolling window. The current number can be seen in the DailyBulkV2QueryJobs value in the response to the /vXX.X/limits/ REST API method. |
10,000 |
| The total query results that can be generated per 24 hour rolling window. 現在のサイズは、/vXX.X/limits/ REST API メソッドに対する応答の DailyBulkV2QueryFileStorageMB 値で確認できます。 |
1 TB |
| The maximum number of times a query job is retried before failure. | The API automatically handles retries.If you receive a message that the API retried more than 15 times, apply a filter criteria and try again. |
| Results lifespan. | Jobs that are older than 7 days are deleted if they are in a terminal state (completed or failed), |
Batch Allocations
In Bulk API 2.0, you do not have to manage batches.The API creates and handles them for you transparently in the background.This lets you focus on managing the jobs instead of the batches.
And in Bulk API 2.0, only ingest jobs consume batches.Query jobs do not.For details, see How Requests Are Processed.
The batch allocation (15,000 batches per day) is shared between Bulk API and Bulk API 2.0, so every batch that is processed in Bulk API or Bulk API 2.0 counts towards this allocation.
関連トピック
For a comparison with Bulk API limits, see the Salesforce Developer Limits and Allocations Quick Reference.