function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
George thomasGeorge thomas 

Sharing rule recalculation taking long time

Hi All,

We have an issue in our instance where we suspect that sharing rule calcualtion for newly inserted records is taking time. The issue here is:

We have data coming from another system and it insert into salesforce, and we have set up some criteria based sharing rule on this object to make it visible to a set of users(its configured by role level). Sometimes the newly inserted data is not visible to set of users where sharing rule makes it visible to them. But after 3-4 hours these records are visible to those users. 

We assume the sharing rule calculation makes this delay and we used to reprocess alomost 80,000 records 

Please somebody suggest a workaround or solution to recover from this issue.
Ashish_SFDCAshish_SFDC
Hi George,


How do the users search for the Records? 

The values that they use for Searching - are they Indexed?

See the article below, 

Custom indexes for an organization to help improve performance

http://help.salesforce.com/apex/HTViewSolution?id=000006007&language=en_US


Regards,
Ashish