How do I speed up recalculation of sharing rules?
|Knowledge Article Number||000005033|
Problems with Recalculating Sharing Rules
Customers often have changes in their organizations as the company grows—such as adding a new business unit, which requires adding additional roles to a hierarchy. If the customer uses sharing rules to share data between different groups of people, these rules may need to be adjusted to accommodate such changes. Once administrators have made the necessary changes to the sharing rules, they use the recalculate rules feature to make sure access to data is correct and up to date for everyone.
For most customers, recalculating sharing rules takes very little time. For some larger customers with very large amounts of data, however, recalculating sharing rules can take substantial amounts of time. These customers may experience the following issues in such cases:
What is parallel sharing recalculation?
With parallel sharing recalculation, updates to sharing rules are placed in the standard background processing queue and are processed asynchronously. If there is sufficient capacity available on the customer’s instance, multiple threads are created to process the changes more quickly in parallel. This provides the following benefits:
Should I use Parallel Sharing Recalculation?
Consider using parallel sharing recalculation if updates to your sharing rules frequently take multiple hours to complete. If your sharing rule changes typically complete within a few minutes, don’t use parallel sharing recalculation. In this case, if your instance is heavily loaded, the feature could make your recalculation take longer than the standard synchronous process.
NOTE: More detailed information on these topics can be found in the public document below:
Contact your salesforce.com support representative to determine if this feature is appropriate for your organization.