|
|
|
|
|
by brunooliv
1346 days ago
|
|
Could someone give some examples on their own domains where the MERGE command is a huge QOL improvement over what's currently available? I see a lot of people being so very happy in the comments, and, well, I've tried to think long and hard about how to apply it to my current domain but was a bit at a loss... Maybe some practical examples can help? |
|
Implicit in that sequence is transmitting the selected rows over the network, and buffering the rows in-memory on the client side.
With MERGE, you eliminate the network stress, and push the burden of managing the rows in-memory onto the postgres server.
That's quite nice if you have beefy operations and want to keep the services/jobs running those operations lean.