Reader small image

You're reading from  Salesforce Data Architect Certification Guide

Product typeBook
Published inNov 2022
PublisherPackt
ISBN-139781801813556
Edition1st Edition
Right arrow
Author (1)
Aaron Allport
Aaron Allport
author image
Aaron Allport

Aaron Allport is a Chief Technical Officer, and has worked with CRM systems and integrations for his entire professional career. Aaron specializes in Salesforce technical architecture and integration, helping his clients ensure they get the most from their technology investment. Aaron has spoken at Dreamforce, written about everything from DevOps to Data Architecture online, and can regularly be found at the Salesforce London Developer Meetup.
Read more about Aaron Allport

Right arrow

Revisiting Account Skew

As introduced in Chapter 2, Data Modeling and Database Design, Account Skew is the result of an Account record containing 10,000 or more child records. This causes performance and record locking issues.

When updates are made to the child record of an Account, Salesforce locks the parent Account record to maintain record integrity in the database. Updating a large number of child records under the same Account record may cause issues since each of those child record operations will be trying to lock the parent’s Account record.

Additionally, when updates are made to an Account record that affects sharing, such as a seemingly harmless action such as changing the record owner, then all sharing for that Account will have to be recalculated. This goes for all child records of the account. This can cause many inter-connected processes to fail since sharing rules, Role Hierarchy calculations, and other sharing operations will have to take place. If any...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Salesforce Data Architect Certification Guide
Published in: Nov 2022Publisher: PacktISBN-13: 9781801813556

Author (1)

author image
Aaron Allport

Aaron Allport is a Chief Technical Officer, and has worked with CRM systems and integrations for his entire professional career. Aaron specializes in Salesforce technical architecture and integration, helping his clients ensure they get the most from their technology investment. Aaron has spoken at Dreamforce, written about everything from DevOps to Data Architecture online, and can regularly be found at the Salesforce London Developer Meetup.
Read more about Aaron Allport