After some goоgling, I could not find a proper replacement of SQLBulkCopy from SQLClient in Npgsql. Can any body suggest me anything like SQLBulkCopy for PostgreSQL? I need to insert around 10 millions of data.. I know about making single query insertion...
I am just doing test for comparison purpose.
Any suggestion is appreciated.
Very old now, but note that Npgsql 3 includes an optimized binary bulk copy functionality, see the docs (3.0).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With