Requirement: To load millions of rows into a table from S3 using Python and avoid memory issue
I see there are two methods psycopg2's copy_from and copy_expert.
Which of these are most efficient and avoid memory issue
Also, I see that Redshift(Which is Postgres) support COPY Command to load data from S3 file but not sure if Postgres DB support such feature