Replies: 1 comment
-
merge_insert implementation currently takes a lot of memory. We have plans to eventually optimize this, including with: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying out
merge_insert
for large data and memory usage seems to be very high. I have a simple script here that should reproduce this and also provides other points for comparison. The incoming data source is a generator of fake data, so it should require limited memory. For upsert and insert-if-not-exists, it seems to load the entirety of the incoming data source in memory. Other operations like creating a table from scratch andmerge
for adding a new column seem to behave as expected though.Is my usage correct /is this expected? Is there a reason why
merge_insert
requires all data to be loaded in memory while `merge does not?Beta Was this translation helpful? Give feedback.
All reactions