Skip to content

Data Skew : >10K child records of same record object #737

Description

@fredpayet

Is your feature request related to a problem? Please describe.
no, this is an enhancement

Describe the solution you'd like
We would need to have metrics about Data Skew, something like :

Task.Who   240228    00QA000000fxamQ (Lead)
Task.Who   240227    00QA000000fxbXA (Lead)
Case.Account 111268    001A000000v5ReG (Account)
Case.Account 99528    0011H00001ktMUD
Case.Account 91124    001A000000v6nnW

Describe alternatives you've considered
At Salesforce, internal tools can help but the customers need to have this information on their own

Additional context
1. Record Lock Contention
When a parent record has 10K+ children, any DML operation (insert, update, delete) on a child record requires a lock on the parent record
2. Sharing Recalculation Performance
If the parent record's ownership or sharing changes, Salesforce must recalculate sharing for all 10K+ child records
This causes system delays org-wide
3. Account Data Skew (Most Common)
The most frequent form — one Account with tens of thousands of Contacts, Opportunities, Cases etc.
Severely impacts page load times for the parent Account record
Related lists become slow.
4. Query & Report Performance
Queries filtering on the skewed parent return massive result sets
Reports aggregating child records under the skewed parent are slow or time out

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions