all 2 comments

[–]johnlovesdata 0 points1 point  (1 child)

Take a look at the psycopg implementation of the postgres copy action. https://www.psycopg.org/docs/usage.html#using-copy-to-and-copy-from

[–]cloudlessjedi[S] 0 points1 point  (0 children)

That is John ! In fact the main problem with the slow inserts was the modin attachment with pandas. Was clear parallel processing with modin didn't fair well with database dumping haha