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
Ek KanusEk Kanus 

Query Regarding Account Data Skew

We are facing an issue in Accounts. Sometimes we are getting an error like 'Unable to lock row' while saving/updating data. Is it related to Account Data Skew issue? But in our org, no Account has more than 10000 child records.

What may be the possible cause and solution to this? Please suggest.
ReidCReidC
Unable to lock row often means that someone else is doing something on the data that prevents the system from giving you exclusive lock.  Example (https://help.salesforce.com/apex/HTViewSolution?urlname=Email-to-Case-error-UNABLE-TO-LOCK-ROW-unable-to-obtain-exclusive-access-to-this-record&language=en_US). Probably need more detail to the question for the community to help you.