AWS Database Blog
Category: Advanced (300)
Extract and migrate data from nested tables with user-defined nested types from Oracle to PostgreSQL
In Oracle, UDTs can have member functions written in PL/SQL that are integrated directly into the UDT. In contrast, PostgreSQL currently doesn’t allow member functions within UDTs. In this post, we dive deep into these differences and provide guidance for a smooth migration, helping ensure that the integrity of your data models is maintained throughout the process. We will also walk you through the details of converting complex member type functions in the multi-nested UDT from Oracle to PostgreSQL.
AWS DMS implementation guide: Building resilient database migrations through testing, monitoring, and SOPs
In this post, we present proactive measures for optimizing AWS DMS implementations from the initial setup phase. By using strategic planning and architectural foresight, organizations can enhance their replication system’s reliability, improve performance, and avoid common pitfalls.
Understanding transaction visibility in PostgreSQL clusters with read replicas
On April 29, 2025, Jepsen published a report about transaction visibility behavior in HAQM RDS for PostgreSQL Multi-AZ clusters. We appreciate Jepsen’s thorough analysis and would like to provide additional context about this behavior, which exists both in HAQM RDS and community PostgreSQL. In this post, we dive into the specifics of the issue to provide further clarity, discuss what classes of architectures it might affect, share workarounds, and highlight our ongoing commitment to improving community PostgreSQL in all areas, including correctness.
How Habby enhanced resiliency and system robustness using Valkey GLIDE and HAQM ElastiCache
Habby is a game studio that creates interactive entertainment to connect players worldwide. We adopted Valkey GLIDE, a client library for HAQM ElastiCache for Valkey and Redis OSS, to address our system challenges. Our system uses the HAQM ElastiCache for Redis OSS publish/subscribe (Pub/Sub) functionality for the chat message sending. However, we faced challenges with connection stability during infrastructure changes, such as instance scaling, Redis OSS version upgrades, and hardware failures. This post describes our messaging system architecture and explains how we improved system reliability by using Valkey GLIDE as the client communicating with HAQM ElastiCache.
Migrate SQL Server user databases from HAQM EC2 to HAQM RDS Custom using HAQM EBS snapshots
In this post, we present a practical approach to one of the most significant challenges organizations face when adopting HAQM RDS Custom for SQL Server: migrating large datasets from SQL Server on HAQM EC2 to HAQM RDS Custom for SQL Server efficiently and cost-effectively. By using SQL Server’s native detach and attach method combined with EBS snapshots, you can migrate your databases without requiring HAQM S3 or AWS DMS.
Best practices to handle AWS DMS tasks during PostgreSQL upgrades
When you decide to upgrade your PostgreSQL database which is configured as source or target for an ongoing AWS DMS task, it’s important to factor this into your upgrade planning. In this post, we discuss the best practices to handle the AWS DMS tasks during PostgreSQL upgrades to minor or major versions.
How HAQM Finance Automation built an operational data store with AWS purpose built databases to power critical finance applications
In this post, we discuss how the HAQM Finance Automation team used AWS purpose built databases, such as HAQM DynamoDB, HAQM OpenSearch Service, and HAQM Neptune together coupled with serverless compute like AWS Lambda to build an Operational Data Store (ODS) to store financial transactional data and support FinOps applications with millisecond latency. This data is the key enabler for FinOps business.
How Heroku migrated hundreds of thousands of self-managed PostgreSQL databases to HAQM Aurora
In this post, we discuss how Heroku migrated their multi-tenant PostgreSQL database fleet from self-managed PostgreSQL on HAQM Elastic Compute Cloud (HAQM EC2) to HAQM Aurora PostgreSQL-Compatible Edition. Heroku completed this migration with no customer impact, increasing platform reliability while simultaneously reducing operational burden. We dive into Heroku and their previous self-managed architecture, the new architecture, how the migration of hundreds of thousands of databases was performed, and the enhancements to the customer experience since its completion.
Using generative AI and HAQM Bedrock to generate SPARQL queries to discover protein functional information with UniProtKB and HAQM Neptune
In this post, we demonstrate how to use generative AI and HAQM Bedrock to transform natural language questions into graph queries to run against a knowledge graph. We explore the generation of queries written in the SPARQL query language, a well-known language for querying a graph whose data is represented as Resource Description Framework (RDF).
Working with OEM Agent software for HAQM RDS for Oracle
HAQM RDS for Oracle supports specific versions of the OEM Agent. HAQM recently released OEM Management Agent version 13.5.0.0.v2 for HAQM RDS for Oracle databases. OEM Agent version 13.5.0.0.v2 requires Oracle Management Server (OMS) version 13.5.0.23 at the minimum. In this post we explore critical scenarios affecting OEM Agents on HAQM RDS for Oracle Database instances and outline essential considerations for users.