Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BCP import - open and close indices for every batch (babelfish-for-po…
…stgresql#2487) In `ExecuteBulkCopy` indices on the target table are opened for every incoming batch, but never closed. It is proposed to open indices instead for every executor batch just before the call to `table_multi_insert` and close them after they are updated with tuples from this batch. Backend memory usage (with both this patch and babelfish-for-postgresql#2469 patch included) while importing 16 million varchar records (4x the table from the linked issue):  Signed-off-by: Alex Kasko <[email protected]>
- Loading branch information