You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
psql /copy is MUCH faster than psycopg2 copy_expert()
Inserting a 50mb CSV file took all of 2 seconds for psql /copy and 215 seconds for psycopg2 copy_expert - 100x faster, 2 orders of magnitude faster on the same machine!
We're calling several CLI commands already - qsv, iconv, file & uchardet - might as well add psql to the mix.
The text was updated successfully, but these errors were encountered:
psql /copy
is MUCH faster than psycopg2copy_expert()
Inserting a 50mb CSV file took all of 2 seconds for
psql /copy
and 215 seconds for psycopg2copy_expert
- 100x faster, 2 orders of magnitude faster on the same machine!We're calling several CLI commands already -
qsv
,iconv
,file
&uchardet
- might as well addpsql
to the mix.The text was updated successfully, but these errors were encountered: