Tag Archives: Performance

Force.com Performance Profiling Using the Developer Console

Force.com Performance Profiling Using the Developer Console

If you’ve built an application on the Force.com platform, you want to deliver a great experience to your users. But how can you tell if your applications are performing well and will continue to perform well? Using the Developer Console, you can use “performance profiling” to identify and fix performance hotspots, and ensure that your applications are both fast and scalable. Continue reading

In Blog: engineering | Also tagged , , , | Leave a comment

Long- and Short-Term Approaches for Tuning Force.com Performance

Long- and Short-Term Approaches for Tuning Force.com Performance

Managing your Salesforce organization’s data is a crucial part of keeping your organization healthy, and you might have heard about one tool that can help it stay fit: skinny tables. Read this post to learn how skinny tables work, how they can help you with large volumes of data, and what you should consider before using them. Continue reading

In Blog: engineering | Also tagged , | 6 Comments

Force.com SOQL Best Practices: Nulls and Formula Fields

Force.com SOQL Best Practices: Nulls and Formula Fields

Best practices for building Salesforce SOQL queries on large data volumes (LDV) included avoiding filtering on fields with nulls, and formula fields. If you’re implementing new queries—or want to clean up some of the workarounds you implemented prior to the Winter ’13 release—consider these updates related to filtering on nulls and formula fields. Continue reading

In Blog: engineering | Also tagged , | 7 Comments

“Group membership operation already in progress” – Managing Group Membership Locks for Success

Salesforce uses a central Group object to manage visibility related to the Role Hierarchy, Territory Hierarchy, Public Groups and Queues.  When administrative changes occur in these areas a group membership lock is taken to ensure data integrity is maintained while complex sharing calculations are completed.  The following activities take out group membership locks for the duration of their transaction:

  • Role creation
  • Role deletion
  • Moving a role in the hierarchy
  • Adding a user to a territory
  • Removing a user from a territory
  • Moving a territory in the hierarchy
  • Territory deletion
  • Territory creation
In Blog: engineering | Also tagged , , , | Leave a comment

Architect Salesforce Record Ownership Skew for Peak Performance in Large Data Volume Environments

Salesforce customers who manage large data volume in their orgs must architect record ownership carefully to ensure peak performance.  When you have a large number of records owned by a single user in Salesforce, we call that an “ownership skew”.  There are many cases which lend themselves well to this type of architecture.  While any object can have an “ownership skew”, the most common cases involve Contacts without the concept of an owner, Accounts that are worked by a team without the concept of an owner, and unassigned Cases or Leads.  Since every record is required to have an owner… Continue reading

In Blog: engineering | Also tagged , , | 1 Comment