What's the easiest way to copy postgreSQL tables from a schema to Snowflake?

Viewed 2826

I want to copy tables from a postgreSQL schema to Snowflake (including data). What's the easiest way to do this?

My postgreSQL database lives in AWS RDS.

2 Answers

I went through this a couple of months ago and will share what I learned.

  1. Snowflake does not recognize psql so a psql export/import will not work.
  2. The recommendation I received from support was to export the tables as csv files, recreate the DDL, and then stage the csv files in S3.
  3. There are third party tools that help connect and sync Postgres databases to Snowflake. Stitch being the one my group looked at.

So you can write your own integration or use Stitch to connect the two. There could be a more effective way to do this but if you are moving a large database over, I am afraid there is not an easy way to do this. That said, it is not terribly difficult but will take time to move everything over. Hope that helps!

Related