On 17/06/2019 15:53, Paul Guo wrote:
I noticed that to do batch insert, we might need additional memory copy sometimes comparing with "single insert" (that should be the reason that we previously saw a bit regressions) so a good solution seems to fall back to "single insert" if the tuple length is larger than a threshold. I set this as 2000 after quick testing.
Where does the additional memory copy come from? Can we avoid doing it in the multi-insert case?
- Heikki