On Fri, Oct 14, 2016 at 12:37 AM, Antonio Murgia <antonio.murgia@eng.it> wrote:

We tried with an Upsert from select, but we ran into some memory issue from the phoenix side.

Do you have any suggestion to perform something like that?

You can try setting auto commit to true on the connection before you perform the upsert select. That'll prevent memory problems on the client due to buffering.