Attribute

EnablePKChunking (epkc)

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

0 | 1

true | false

Behavior

If set to 1 (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 true. If set to 0 (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, and User. In addition, PK chunking is supported for sharing objects as long as the parent object is supported.

Default Value

1 (true)