Replies: 1 comment
-
Are you using the latest version of pg-promise? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @vitaly-t,
First off I would like to thank you for the amazing work.
I have a pretty simple use case. I have a Cassandra setup with tables containing millions of records. I wish to migrate that data to a PostgreSQL database. I am using the code below to achieve this purpose (using cassandra-driver and pg-promise). I have stripped off a lot of boilerplate to show the main part of the application.
The problem is whenever I run this query I get errors happening about 5 minutes later. The errors range fro timeouts, socket shutdown and connection closed issues. An example of the error is below
I wanted to know if there is a much better way of achieving this goal? I read something here: LINK and I was wondering how I can stream the data into the database. I appreciate any assistance or general guidance. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions