insert into my_foreign_table select * from my_local_table
My columns are two integers and two floats. The number of rows was >100M. I left it running for a few days, but killed it because it took forever.
Should this run quickly? Does Postgres do the inserts one at a time or something? Is there a way to speed inserts up via foreign data wrapper?