Data skew
Spot and design out piles of records on one owner or one parent before they slow sharing and loads.
Topic overview · 3 lessons · 40 min · Release check pending
The problem this topic solves
A model can be correct and still be slow. Picture an org where one account has a huge number of contacts, or one integration user owns every lead. Nothing breaks in testing. Then a role change runs for hours, or a nightly load fails with lock errors. This topic is about that gap: the records are fine, but they are piled up in the wrong place.
Watch this chapter
How the lessons fit together
I teach skew in three steps. First the classic case, many children under one account. Then the two general shapes behind it: one owner with too many records, and one lookup parent with too many children. Last, how I find skew in a real org before it hurts.
Account data skew
start hereMany child records under one account. Updates to the children fight over the account's lock, and sharing changes on it take long.
Ownership and lookup skew
coreThe same problem in general form: one owner, or one lookup parent, with a huge pile of records. Includes how I design it out.
Finding skew
practiceGroup records by owner or by parent and count them. I run this before a go-live and before a big load.
Cheat sheet
| Kind | What piles up | When it hurts | My warning sign | First fix |
|---|---|---|---|---|
| Account skew | Child records under one account | Parallel updates to the children, sharing changes on the account | More than | Spread children across more accounts |
| Ownership skew | Records owned by one user | The owner's role or group changes | More than | Spread owners, or keep one owner at the top of the hierarchy |
| Lookup skew | Children pointing at one lookup parent | Parallel inserts and updates | More than |
Common traps
- Skew is about how records are spread, not how big the object is.
- The guidance numbers are warning signs. Nothing stops me at that number. Things just get slow.
- A load that works in a sandbox can fail in production. Small test data never shows lock contention.
- Queues and placeholder users can be skewed owners too.
- Master-detail children lock their parent as well. Skew is not only a lookup problem.
Mixed check
3 questions from across the topic. Answer first, then read why each option is right or wrong.
Lessons
What changed
- Winter '27Minor changeFirst published.
Sources
- Designing Record Access for Enterprise Scale Not yet checked
- Best Practices for Deployments with Large Data Volumes Not yet checked
About this topic
- Study time
- 6 min
- Thinking level
- Analyze
- Level
- Advanced
- Release
- Release check pending · 3 facts to verifyChecked on 4 Dec 2026, API 68.0
Exam objectives
- da-dm-04Avoid data skew