Home icon

Migrating mission-critical payments at Nubank to Amazon Aurora PostgreSQL

Database Blog



This article describes Nubank's migration of its NuPay payment infrastructure from self-managed PostgreSQL to Amazon Aurora PostgreSQL-Compatible Edition, achieving significant performance and operational improvements.

  • Migrated 7.5 TB payment dataset with 31 billion rows using AWS DMS with 10 parallel tasks, completing in 3 hours versus 5-hour maintenance window
  • Achieved up to 1,900x query performance improvements for large-scale historical scans and 15-20% average production workload improvement
  • Reduced replication lag from 3-4 minutes to seconds, improving real-time payment processing consistency
  • Consolidated from three database instances to two while maintaining high availability, delivering 25% cost reduction
  • Automated storage scaling, patching, and failover reduced maintenance windows from 11 hours to 1-1.5 hours
  • Log-based writes, shared storage architecture, and Query Plan Management prevent execution plan regressions

Aurora PostgreSQL's fully managed architecture and distributed storage across Availability Zones enabled Nubank to handle massive scale while improving performance, reducing operational complexity, and ensuring regulatory compliance for 135 million customers.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 12
2026
Migrate Amazon Aurora PostgreSQL across major versions with active Debezium CDC connectors using native logical replication
Jul 18
2024
Migrate an Amazon QLDB Ledger to Amazon Aurora PostgreSQL
Jul 30
2026
Modernize SQL Server databases to Aurora PostgreSQL using AWS Transform
Jun 10
2026
How to migrate from Oracle to Amazon Aurora PostgreSQL using AWS CloudFormation (Part 1)

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.