Siirry sisältöön

Skew, From the Sharing Side

Tämä sisältö ei ole vielä saatavilla valitsemallasi kielellä.

Module 2 of 6 in the chapter Sharing at Scale, chapter 22 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.

The question this module answers: Where does a sharing design concentrate so much on one owner, one parent or one record that ordinary changes turn slow?

Module 1 counted the share rows. Skew is about where they pile up. Salesforce’s own words: “most customers never encounter performance issues unless they’re performing updates that affect many users or large amounts of data. However, there are certain common configurations that greatly increase the probability of performance problems” (Ownership Data Skew (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers, checked 2026-11-26).

The Data Architect course covers skew in full (Hot Spots), and I’ll give you the line from there that matters most: the number tells me where to look; the behavior tells me how worried to be. Ten thousand records under one owner that never moves is a fact. Ten thousand records under an owner who moves every reorganization is a problem.

So here are the three shapes, from the sharing side: what each one does to sharing, and when it hurts.

“Ownership data skew is when a single user owns more than 10,000 records of an object” (Ownership Data Skew). The usual cause is convenience: all unassigned leads parked with a dummy user, every record an integration loads owned by the integration user.

When does it hurt? Salesforce names the moment: when those owners are “moved around the hierarchy, or moved in to or out of a role or group that is the source group for a sharing rule.” Each move adjusts a very large number of sharing entries, which can mean a long-running recalculation (same page).

And Salesforce’s fixes, in order (same page):

  • Spread it. “Distributing ownership of records across a greater number of users decreases the chance of long-running updates occurring.”
  • No role. If a few users must own it all, minimize the impact “by not assigning the users to a role.”
  • If it must have a role, “Place them in a separate role at the top of the hierarchy,” “Don’t move them out of that top-level role,” and “Keep them out of public groups that can be used as the source for sharing rules.”

Read the note in brackets on that last one: a user at the top “inherits access to all data owned by or shared with users below them in the hierarchy.” That’s fine for a dummy owner nobody logs in as. It isn’t fine for a user that answers questions. Chapter 20 module 2 put an agent user low in the tree, with nothing under it. If that agent also creates thousands of records, it’s about to become a skewed owner, and the two pieces of advice pull in opposite directions. The way out is to decide who owns what the agent creates, so the agent user isn’t the owner of everything it touches. The Data Architect course asks exactly that (Who Should Own Machine-Created Records?).

Salesforce applies the same thinking to external accounts: “a large amount of data that is owned by or visible to the users under a single partner or customer account” behaves the same way. Changing that account’s owner, or moving its users, “requires the system to recalculate all the sharing and inheritance for all the data under the account” (same page). Chapter 14 covered those accounts’ roles.

Chapter 6 module 3 introduced ownership skew, and chapter 8 module 4 showed it meeting owner-based rules.

The second shape is a parent with too many children: “the association of a large number of child records (10,000 or more) with a single parent account.” The usual cause is the same convenience: contacts from a marketing list, parked under one dummy account until someone sorts them out (Parent-Child Data Skew (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers, checked 2026-11-26).

What does it do to sharing? Salesforce’s example: 300,000 contacts under one account. A user who can see one contact also has a parent implicit share on the account. Take that contact away, and “Salesforce must scan all of the other 299,999 contacts to ensure that the user doesn’t have access to them either.” Once is fine. “This practice can become expensive if Salesforce is processing many visibility changes on these highly skewed accounts” (same page).

Chapter 10 module 4 covers this in full, including what Salesforce changed: child shares for cases, contacts and opportunities aren’t stored any more, but the parent share still is, and that’s the row the scan decides about. The fix is the data architect’s: real parents, not one parking lot.

The third shape is a lookup: millions of records pointing at one reference record, a single location or category. The Data Architect course calls it lookup skew, and it’s mostly a locking problem, not a sharing one: when many updates touch records that all point at the same parent, they wait for each other (Hot Spots). Module 3 is where locking lives in this chapter.

None of these shows up in a developer org. All of them show up in production on the day of a reorganization. So before go-live, and before every big realignment, look for them on purpose:

  • Big owners: for each object, the owners with more than 10,000 records, and whether any of them has a role or sits in a source group.
  • Big parents: the accounts with 10,000 or more children, and how often their children’s visibility changes.
  • Big external accounts: partner or customer accounts with a lot of data under their users.
  • Busy lookups: reference records that many active records point at, and how often those records are updated together.

Then apply the line from the Data Architect course: the number tells you where to look; the behavior tells you how worried to be.

Skew, from the sharing side Skew, from the sharing side: three hot spots. One owner with too many records, more than 10,000 of an object: it hurts when that owner moves in the hierarchy, or into or out of a source group; Salesforce's fix is to spread ownership, give the owner no role, or a role of its own at the top that never moves. One parent with too many children, 10,000 or more: it hurts when a user loses one child and Salesforce scans the others to decide about the parent share; the fix is real parents, not one parking lot. One record everyone points at: updates collide and wait, a locking problem; the fix is to spread the reference or schedule the updates, module 3. Footnote: the number tells you where to look; the behavior tells you how worried to be. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.60.0", "built": "2026-11-23", "id": "DGM-SVA-SCL-02", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.5.0"} THE HOT SPOT WHEN IT HURTS THE FIX One owner, too many records more than 10,000 of an object The owner moves in the hierarchy, or into or out of a source group Spread it, or no role or a role of its own at the top that never moves One parent, too many children 10,000 or more under one account A user loses one child Salesforce scans the others for the parent share Real parents not one parking-lot account One record everyone points at lookup skew Updates collide they wait for each other: locking Spread or schedule the reference, or the updates: module 3 hurts when fix hurts when fix hurts when fix The number tells you where to look. The behavior tells you how worried to be. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Test knowledge. Know ownership data skew (one user owning more than 10,000 records of an object) and when it hurts (moving the owner in the hierarchy, or into or out of a sharing rule’s source group); Salesforce’s fixes (spread ownership, no role, or a separate role at the top that doesn’t move and stays out of source groups); parent-child skew (10,000 or more children under one account) and why it slows implicit sharing; and lookup skew as a locking risk. This supports IMP-1, the scalability implications of the sharing solution. A likely area, not a known question.

  • Who owns machine-created and unassigned records, so no one user owns more than 10,000 of an object.
  • For any owner that must stay big: no role, or a role of its own at the top that never moves, outside every source group.
  • Where records without a real parent go, so no account collects 10,000 children.
  • Which reference records many active records point at, and how their updates are scheduled.
  • When the hot spots are checked: before go-live and before every realignment.

Beyond the exam: what AI changes. An agent that creates records is an owner. Give it the job of logging every customer conversation, and in a month its user owns more cases than anyone. Decide who owns what agents create before the first one goes live.