Psycopg2, Postgresql, Python: Fastest way to bulk-insert

Yeah, I would vote for COPY, providing you can write a file to the server‘s hard drive (not the drive the app is running on) as COPY will only read off the server.

Leave a Comment