1 Answers
0
Accepted Answer
Depends on how your customer defines near-real-time you have few options but there are various costs and consideration with all that :
- WAL replication to kinesis : https://aws.amazon.com/blogs/database/stream-changes-from-amazon-rds-for-postgresql-using-amazon-kinesis-data-streams-and-aws-lambda/. This will take up resources from your primary but you can reduce that by setting up replica.
- Scheduled Jobs that does S3 exports of changed data. This is the least expensive as you can decide what tables to export data from and how often. You can decide to do that every 10 mins or so. AWS Batch can be used with Lambda to accomplish this.
- Upgrade to Aurora and utilize database streams. This way you have minimal impact on writer and you can just convert SQL statements to data files using lambda.
- Use DMS with RDS as source and S3 as target. Like #1 i would recommend you set it up on replica.
answered a year ago
Relevant questions
RDS PostgreSQL snapshot and restore to a different account
Accepted Answerasked 2 years agoS3 Integration Oracle RDS and DMS
Accepted Answerasked 2 years agoMigrating RDS not in VPC (EC2 classic platform) to VPC
asked 6 days agoEnable RDS Encryption with minimal downtime after creation
Accepted Answerasked 2 years agoCan I use the RDS Postgresql S3 export query to replicate changes from RDS to S3?
Accepted Answerasked 2 years agoRDS to S3 to RDS or Redshift near realtime
Accepted Answerasked a year agoRDS instances do not auto upgrade minor versions
asked 3 years agoRDS Snapshot export
Accepted Answerasked 5 years agoWriting Data to a Non RDS external DB endpoint
asked a day agoHow to create SSL dblink connection from RDS to postgres on premise?
asked 6 months ago