Loading

Proactive Alert Monitoring: Database CPU Consumption Time

Publiseringsdato: Aug 31, 2023
Beskrivelse

Salesforce's multi-tenant platform means Database resources are often shared between tenants. Typically we would expect the consumption of DB CPU resources for today, yesterday, and last week to follow somewhat similar patterns. As a result, high and/or sporadic DB CPU utilization may result in slowness in your org and, in a worst-case scenario, increase the risk of a throttle to protect the infrastructure & ensure smooth operations continue for all customers.

The Signature Success plan’s Proactive Monitoring product will create a model of your orgs DB CPU Consumption to monitor for, and alert you to, significant anomalies in your normal DB CPU usage. 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.


Causes:

You may be seeing high DB CPU time as a result of one or many of the following:

  • Inefficient SOQL queries
  • Incorrect API choice
  • Insufficiently configured reports, dashboards, and list views
Løsning

Here are some common practices & resources that may help to resolve high DB CPU utilisation.


Apex classes not following best practices:


Incorrect API choice:

  • Ensure you choose the right API for the job. Follow the Which API Do I Use? article for advice on choosing the appropriate API for your use case.


Insufficiently configured reports, dashboards, and list views:

 

Additional resources


Help and Developer resources

 

Useful Trails

Knowledge-artikkelnummer

000382574

 
Laster
Salesforce Help | Article