Sharing at Scale
このコンテンツはまだ日本語訳がありません。
Chapter 22 of Securing Salesforce: Sharing and Visibility, Part 3: Beyond the Company and Beyond the Record. New to the course? Start with chapter 1.
Sharing that works for a thousand records can stall at a million. Not because the design is wrong, but because every grant is a row Salesforce keeps, every role and group change is work it has to do, and the work all lands on the same weekend: the reorganization.
So this chapter asks the question I ask in every review: how many will there be? Then it follows the answer into the share tables, the hot spots, the locks, the recalculation and the realignment, and ends with one review to run before go-live.
The ideas in this chapter
Section titled “The ideas in this chapter”- Sharing has a number of zeros. Records times grants per record is share rows. Count them before day zero, and grant to groups, not people.
- Watch your granularity. Nobody sets out to make 100 million shares. One share per person per record, and the zeros do the rest.
- The number tells you where to look; the behavior tells you how worried to be. A big owner that never moves is a fact. A big owner that moves every reorganization is a problem.
- A simple change isn’t. Moving one role re-shares everything below it, and while it runs, Salesforce locks the group membership tables.
- Every change is work somewhere. Know how each change recalculates, what it locks while it does, and what it leaves behind, including a deactivated user’s shares.
- Change, change, change, recalculate once. A large realignment is a planned operation with a window, a rehearsal and deferred calculations.
- Change how it grants, never what it protects. Performance is never a reason to open confidential data.
The picture
Section titled “The picture”Here’s where the chapter starts: the arithmetic behind every share table.
And where it ends: what to change when the numbers say no.
The path through this chapter
Section titled “The path through this chapter”Six modules, each standing on its own.
- Sharing Has a Number of Zeros. How many will there be; day zero’s arithmetic and the two ways to load shares; groups, not people; the week it took to delete 100 million shares; testing at volume.
- Skew, From the Sharing Side. One owner with too many records, one parent with too many children, one record everyone points at; when each hurts, and Salesforce’s fixes.
- Group Membership and Locking. What a role or group change sets off; the lock and its errors; granular locking and its limit; schedule, retry, go serial.
- When Sharing Recalculates, and What It Locks. What recalculates how, dated; the share locks and the Recalculate button; obsolete shares and deactivated users.
- Realignment Without an Outage. Deferred sharing calculations as a plan, in Salesforce’s order; what deferring doesn’t do; when it’s the right tool.
- A Scale Review Before Go-Live. One review, eleven questions; the levers when the numbers say no, and the one that isn’t a lever.
Then check what stuck with the study guide.
What an architect decides here
Section titled “What an architect decides here”- The numbers for every object with shared data: records, grants per record, owners, parents and buckets, now and in three years.
- Who each grant goes to, and the tool that fits the number of buckets.
- Who owns machine-created and unassigned records, so no owner or parent turns into a hot spot.
- When roles, groups and rules change, in what order, and around which deployments.
- The realignment plan: a window agreed with the business, a rehearsal at volume, and deferred calculations where they fit.
- Which objects are confidential, so performance never becomes the reason to open them.
Beyond the exam: what AI changes. Agents add load to every part of this chapter: records they create and own, broad questions that run across everything a user can see, and role and group changes made in one sentence. Count them in the zeros, and put their changes through the same plan as anyone else’s.
Explore
Section titled “Explore”Each module lists its own sources. Two to start with:
- Designing Record Access for Enterprise Scale (opens in a new tab), Salesforce Developers (checked 2026-11-26)
- Tools for Large-Scale Realignments (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers (checked 2026-11-26)
