AWS Database Blog

Category: Advanced (300)

Resolve Amazon Aurora PostgreSQL lock contention with Database Insights: Part 2

Resolve Amazon Aurora PostgreSQL lock contention with Database Insights: Part 2

Part 1 showed how row lock contention degrades Amazon Aurora PostgreSQL throughput. In Part 2, use Amazon CloudWatch Database Insights and its Lock Tree to pinpoint blocking sessions, then resolve contention with query termination, timeout parameters, and architectural patterns such as SKIP LOCKED and row splitting that restore throughput.

Troubleshooting row lock contention in Amazon Aurora PostgreSQL: Part 1 – Understanding row lock contention in PostgreSQL

Troubleshooting row lock contention in Amazon Aurora PostgreSQL: Part 1 – Understanding row lock contention in PostgreSQL

Row lock contention can collapse database throughput during a flash sale even when CPU and I/O look healthy. In Part 1 of this series, learn how PostgreSQL row locking works and how to monitor lock contention in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL using system views, the pgrowlocks extension, and the log_lock_waits parameter.

Building async Python applications with Tortoise ORM and Amazon Aurora DSQL

Building async Python applications with Tortoise ORM and Amazon Aurora DSQL

Build a high-concurrency async Python rideshare application with Tortoise ORM and Amazon Aurora DSQL. This post walks through the key adaptations: UUID primary keys, IAM-authenticated asyncpg connections with a connection-pool patch, individual DDL execution, and optimistic concurrency control (OCC) retry logic.

Troubleshoot AWS Advanced JDBC Wrapper configuration for Aurora Global Database write forwarding

Troubleshoot AWS Advanced JDBC Wrapper configuration for Aurora Global Database write forwarding

Configuring the AWS Advanced JDBC Wrapper for Amazon Aurora Global Database with write forwarding requires Region-specific settings, and misconfiguration causes latency spikes and connection failures. This post walks through the correct dialect, plugins, host patterns, and write forwarding settings for the primary and secondary Regions.

Introducing strands-dynamodb-storage: Durable agent storage for the Strands Agents SDK

Introducing strands-dynamodb-storage: Durable agent storage for the Strands Agents SDK

Announcing strands-dynamodb-storage, an open source Amazon DynamoDB storage backend for the Strands Agents SDK. Back a Strands agent’s session state, long-term memories, and transcripts with one DynamoDB table in your own account, and give the agent semantic recall with a vector index on that same table.

SQL Server to Aurora PostgreSQL conversion with AI agents for AWS DMS

SQL Server to Aurora PostgreSQL conversion with AI agents for AWS DMS

Learn how to use AI agents with AWS DMS Schema Conversion to orchestrate SQL Server to Amazon Aurora PostgreSQL schema conversion through natural language. See how the conversion engine processes T-SQL, how the agent drives the workflow, and how to interpret and resolve CRITICAL action items using decision frameworks for common incompatibilities.

How Channel Corporation modernized their architecture with Amazon DynamoDB, Part 3: User and Badge

Channel Corporation shares how they split their all-purpose Amazon DynamoDB User table into role-specific tables, moving Badge data into a dedicated UserBadge table to stop transaction-conflict throttling and GSI back pressure, and how they ran a zero-downtime online migration using DynamoDB Export and Import with Amazon S3 and AWS Glue.