Saving accounts has become slow and integrations hit lock errors. Investigation shows one integration user owns 5 million records and a 'Default Customer' account has 300,000 contacts. What do you do?
Your confidence:Not rated
Model answer
Diagnosis: classic ownership skew (one owner with millions of records) and account data skew (one parent with hundreds of thousands of children). Both make sharing recalculation and locking expensive.
Fix
- Ownership: distribute records across several integration owners (by region or business unit) and place them outside the role hierarchy or at leaf roles. Grant visibility through criteria-based sharing to the right groups.
- Default account: split into many accounts (for example by region and year), or stop creating contacts there (use person accounts or proper matching).
- Execution: transfer ownership and re-parent contacts in batches out of hours, with sharing deferral where available, sorting by parent to reduce locks; pause non-essential automation.
- Prevent recurrence: an ownership assignment rule in the integration, data quality checks, and an LDV review in the design authority.
โ Key points to hit
โ Red-flag answers
- Adding more retries
- Giving everyone View All to avoid sharing
โช Follow-ups
Why does account skew cause locks?
Inserting or updating a child (contact, case, opportunity) can lock the parent account; with hundreds of thousands of children under one account, concurrent operations contend for that lock.
How do you test the fix?
Rehearse the data changes in a full sandbox, measure recalculation time and save performance before and after, and run the integrations' load tests.