且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Psycopg2,Postgresql,Python:批量插入的最快方法

更新时间:2023-11-26 09:14:16

是的,如果您可以将文件写入 server 的硬盘驱动器(而不是驱动器应用程序正在运行),因为COPY只会读取服务器.

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.