Player FM 앱으로 오프라인으로 전환하세요!
Processing Large Data Volumes using PK Chunking & Hyperbatch with Daniel Peter
Manage episode 181820580 series 1012712
In this episode I will be speaking with Daniel Peter (@danieljpeter) about processing large volumes of data on Salesforce.
Daniel is Lead Application Developer at Kenandy, an ISV who had built an ERP solution on the Salesforce Platform.
Daniel’s first hand experience of how the Salesforce multi-tenant database behaves has lead him to develop techniques for processing tens of millions of records.
He will describe the techniques which he has refined to ensure SOQL queries are executed with consistent reliability and not fall foul of the most common exceptions relating to row selection, which are:
- Non-selective query
- Too many query rows returned
- Query time out during execution
Daniel will explain how the Batch Apex query locator can be used to implement a technique called PK chunking which allows fine-grained control of the number of rows to be processed in each batch which largely overcomes the 3 common exceptions.
Daniel has even gone as far as experimenting with parallel execution through his Hyperbatch open source project which you can download from GitHub.
Whether your Salesforce database contains tens of thousands or rows or or if you’re up into the 10 of millions Daniel’s tips on working with multi-tenancy are a real eye opener as to what is possible when you design for scale from the outset.
Please enjoy!
Please leave feedback on the blog at TechnologyFlows.com or tweet me directly, I am @matmorris
Recorded in June 2017
This podcast interview was first published by Technologyflows.com
© TechnologyFlows
11 에피소드
Manage episode 181820580 series 1012712
In this episode I will be speaking with Daniel Peter (@danieljpeter) about processing large volumes of data on Salesforce.
Daniel is Lead Application Developer at Kenandy, an ISV who had built an ERP solution on the Salesforce Platform.
Daniel’s first hand experience of how the Salesforce multi-tenant database behaves has lead him to develop techniques for processing tens of millions of records.
He will describe the techniques which he has refined to ensure SOQL queries are executed with consistent reliability and not fall foul of the most common exceptions relating to row selection, which are:
- Non-selective query
- Too many query rows returned
- Query time out during execution
Daniel will explain how the Batch Apex query locator can be used to implement a technique called PK chunking which allows fine-grained control of the number of rows to be processed in each batch which largely overcomes the 3 common exceptions.
Daniel has even gone as far as experimenting with parallel execution through his Hyperbatch open source project which you can download from GitHub.
Whether your Salesforce database contains tens of thousands or rows or or if you’re up into the 10 of millions Daniel’s tips on working with multi-tenancy are a real eye opener as to what is possible when you design for scale from the outset.
Please enjoy!
Please leave feedback on the blog at TechnologyFlows.com or tweet me directly, I am @matmorris
Recorded in June 2017
This podcast interview was first published by Technologyflows.com
© TechnologyFlows
11 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.