AWS Database Blog
Category: Amazon RDS
Automated PII redaction for Amazon RDS for PostgreSQL audit logs
In this post, we show you how to deploy a serverless pipeline that creates an irreversibly redacted, queryable archive of Amazon RDS for PostgreSQL audit logs. The pipeline permanently removes Social Security numbers (SSNs), credit cards, email, names, and more than 30 types of personally identifiable information (PII) before storing clean logs in Amazon S3 for query through Amazon Athena.
Migrate self-managed PostgreSQL to Amazon RDS using the RDS console
Migrate a self-managed PostgreSQL database on Amazon EC2 to Amazon RDS for PostgreSQL or Amazon Aurora PostgreSQL-Compatible Edition using the auto-migration capability in the Amazon RDS console, powered by AWS Database Migration Service (AWS DMS) homogeneous data migrations.
Invoke AWS services directly from Amazon RDS for SQL Server 2025
In this post, you learn how to use the sp_invoke_external_rest_endpoint stored procedure on Amazon RDS for SQL Server 2025 to call AWS services and external HTTPS endpoints directly from T-SQL.
Building agentic AI patterns with Amazon Bedrock and SQL Server 2025 on Amazon RDS
In this post, we demonstrate how SQL Server 2025 on Amazon RDS can call Amazon Bedrock foundation models directly from T-SQL using sp_invoke_external_rest_endpoint. This approach removes middleware, reduces latency, and brings AI capabilities directly into database workflows.
Migrate from AIX or Windows Db2 to Amazon RDS for Db2
In this post, we provide step-by-step instructions for migrating an IBM Db2 database from on-premises AIX or Windows servers to Amazon RDS for Db2 using native Db2 tools (db2look and db2move). We also cover AWS Database Migration Service (AWS DMS) as an alternative approach. It also covers best practices to verify data integrity and minimize cutover time.
Diagnose and resolve replica lag in Amazon RDS for Oracle replicas – Part 2
This post is the second in a two-part series on reducing replication lag for Amazon RDS for Oracle Read Replicas. In Part 1, we discussed redo compression and configuration options to optimize replica lag. In this post, we show you how to monitor replica lag using Amazon CloudWatch metrics and database views, identify common root causes through wait event analysis, and how to troubleshoot and resolve performance issues.
Optimize replication lag for Amazon RDS for Oracle replicas using redo compression – Part 1
In part 1 (this post), we show you how to optimize lag for RDS for Oracle replicas using the redo compression feature. In part 2, we discuss various techniques to monitor, troubleshoot, and resolve replication lag for RDS for Oracle replicas.
Fail back from Amazon RDS for Db2 to on-premises AIX Db2 using DMS
In this post, you learn how to set up CDC-only reverse replication from Amazon Relational Database Service (Amazon RDS) for Db2 back to your on-premises AIX Db2 instance using AWS Database Migration Service (AWS DMS).
Logical replication improvements in Amazon RDS for PostgreSQL 18
In this post, we demonstrate how to use the PostgreSQL 18 logical replication improvements on RDS for PostgreSQL: replicating STORED generated columns with the publish_generated_columns parameter, monitoring conflicts through the new counters in pg_stat_subscription_stats, verifying that parallel streaming is enabled by default, toggling two-phase commit on a running subscription, and configuring idle_replication_slot_timeout for automatic slot cleanup. These features are available on RDS for PostgreSQL 18.0 and later and Aurora PostgreSQL.
Automate PostgreSQL audit log extraction and analysis with Amazon S3
In this post, we show you how to deploy an automated pipeline that extracts PostgreSQL audit logs from CloudWatch Logs, converts them into structured comma-separated values (CSV) format, and stores them in Amazon S3 for long-term analysis. The solution processes log entries in near real time after generation.









