Salesforce Anti-Patterns: A Cautionary Tale
- Designing the data model for performance
- Loading data into a lean configuration
- Suspending events that fire on insert
- Sequencing load operations
- Loading and extracting data
- Salesforce record locking cheat sheet
- Bulk API is by far the quickest way to insert, query, and delete records.
- The Bulk API should be used for tens of millions or hundreds of millions of records to load or extract. By chunking your queries into batches, tuning your batch sizes for optimum throughput, and avoiding locking errors, you can achieve very high performance for your data movement tasks.
- Taking advantage of deferred sharing calculations
- Pre-Data Loading Configuration Steps
- Create the role hierarchy.
- Assign users to roles.
- Set organization-wide defaults to Public Read/Write.
- Post-Data Loading Configuration Steps
- Set organization-wide defaults to Public Read Only or Private.
- Create public groups and queues.
- Create sharing rules.
Comments
Post a Comment