EnablePKChunking
- Last Updated: December 8, 2020
- 1 minute read
Purpose
Specifies whether the driver uses PK chunking for select operations. PK chunking breaks down bulk fetch operations into smaller, more manageable batches for improved performance.
Valid Values
true | false
Behavior
If set to true, the driver uses PK
chunking for select operations when the expected number of rows in the result set is greater
than the values of the BulkFetchThreshold and PKChunkSize properties. For this behavior to
take effect, the EnableBulkFetch property must also be set to 1.
If set to false, the driver does not use
PK chunking when executing select operations, and the PKChunkSize property is ignored.
Notes
- PK chunking is supported for all custom objects and the following standard objects:
Account,Campaign,CampaignMember,Case,Contact,Lead,LoginHistory,Opportunity,Task, andUser. In addition, PK chunking is supported for sharing objects as long as the parent object is supported.
Data Source Method
setEnablePKChunking
Default
true
Data Type
boolean