Hello,
I'm working in an environment where a synchronous delete operation for an Account record takes about 21 seconds (ran a batch of 5 deletes in series and recorded each execution time, averaged together). I'd like to improve the performance of delete operations sent to the system via the SDK.
The environment does have plugins on the Delete message for Accounts but this test was done with them all disabled.
I know relationship cascades can cause issues, here are the customized 1:N relationships:
6 (custom, non-system) Parental relationships
21 (custom, non-system) Referential relationships
- What are my options here to diagnose what exactly is slowing down the deletes?
- Are those relationships the obvious culprit? It doesn't seem like an excessive amount of parental relationships (which I assume are the most taxing with their cascading deletes).
- Is there any approach I can take while deleting to improve performance? Perhaps attempting to delete child entities first?
*This post is locked for comments