Seeking help extricating data from Amazon RDS Aurora/Postgres - Mailing list pgsql-general

From Bill Mitchell
Subject Seeking help extricating data from Amazon RDS Aurora/Postgres
Date
Msg-id a20b8943-9e37-49b6-b3de-17adf1607b69@publicrelay.com
Whole thread Raw
Responses Re: Seeking help extricating data from Amazon RDS Aurora/Postgres  (Christophe Pettus <xof@thebuild.com>)
Re: Seeking help extricating data from Amazon RDS Aurora/Postgres  (Alan Hodgson <ahodgson@lists.simkin.ca>)
List pgsql-general
We are attempting to extract one of our database from Amazon RDS Aurora/Postgres to another PostgreSQL cluster that is running directly on EC2 instances.

This particular database is currently about 3.5TB.

We are sensitive to this database being down for an extended period of time as it will adversely impact some subsystems within our application.  We're hoping to find a means to migrate within a 4 hour window. We've tried multiple approaches:

  • Using Amazon DMS to copy the data
    • despite doing parallelization, the total time would be around 89 hours
  • Using FiveTran (great tool!) to copy data
    • using this tool was that it would take about 86 hours to complete.
  • Using a database dump and restore
    • Doing a backup from RDS's replica fails, due to holding a database lock for too long.

The ideal situation would be to have a streaming replica from Amazon RDS, but you can only create a replica that is hosted by AWS, and have no access to the WAL logs...

Wondering if any of the other members of this LISTSERV have tried migrating their data off of Amazon RDS Aurora Postgres with success.

Thanks in advance for any pointers,

Bill


pgsql-general by date:

Previous
From: Laura Smith
Date:
Subject: Re: Scriptable way to validate a pg_dump restore ?
Next
From: Christophe Pettus
Date:
Subject: Re: Seeking help extricating data from Amazon RDS Aurora/Postgres