-
Notifications
You must be signed in to change notification settings - Fork 474
Closed
Labels
C-doc-improvementO-externalOrigin: Issue comes from external users.Origin: Issue comes from external users.P-1High priority; must be done this releaseHigh priority; must be done this releaseT-missing-info
Milestone
Description
PGJDBC's batching support is bizarre and magical: it only works with powers of two, and will split batches of other sizes up into multiple sub-batches. This means that a batch of size 128 can be 6x faster than a batch of size 250. We should adjust our docs to recommend batches of exactly 128 for java users (for other languages, around 500 is still optimal. Maybe change the recommendation to 512 in case other libraries are sensitive to powers of two).
Metadata
Metadata
Assignees
Labels
C-doc-improvementO-externalOrigin: Issue comes from external users.Origin: Issue comes from external users.P-1High priority; must be done this releaseHigh priority; must be done this releaseT-missing-info