Loading

Proactive Alert Monitoring: Bulk API Performance

Udgivelsesdato: Sep 19, 2023
Beskrivelse

The Bulk API is leveraged when a data operation (insert, update, upsert, delete) includes several thousand records. It is an Asynchronous process & subject to the standard API usage limits. As a result, long-running jobs can have a negative knock-on on impact to your orgs performance.

The Signature Success plan's Proactive Monitoring product will monitor for, and alert you to, high consumption against this metric. This article outlines some scenarios to help you investigate should you receive an alert. In addition, on the Salesforce Help site Designated contacts and above can see your realtime metrics, alerts & more.

In the event you receive such an alert from the Proactive Monitoring team, your organization may experience further performance issues and possible service disruptions.

Potential error message examples:

  • Timeout
  • TooManyLockFailure
  • Unknown

For a comprehensive list of bulk API error messages, please refer to the Bulk API Developer Guide for direct examples.

 

Causes

Possible bulk API performance error scenarios:

  • Insufficient sandbox stage testing
  • Incorrect batch file sizes
  • Improperly formatted batch submissions
Løsning


Here are a few suggestions and resources that may help resolve your performance issues upon notification.
 

Insufficient sandbox stage testing

  • Production testing in your sandbox environment is crucial and should be considered a requirement before going live. Always refer to the Bulk API Developer Guide for best practices.
 

Incorrect batch file sizes

  • Bulk API submissions can accept submissions up to 10,000 rows in length, but pushing the boundaries of file size requirement can lead to extensive processing times.
 

Improperly formatted batch submissions

  • If you are uploading child records in conjunction with parallel mode, please ensure your setup is configured correctly, and always group by the 'ParentID' for reduction in row lock errors.
 

Additional resources

 

AppExchange resources

 

Help and Developer resources

Vidensartikelnummer

000384192

 
Indlæser
Salesforce Help | Article