OffNet Newsroom

Daily topic roundup

Database Technology

Tuesday, October 13, 2026 · 7 stories, curated & summarized — click any story for the source.

AWS Database Blog awsdatabase

AWS RDS Proxy vs PgBouncer for PostgreSQL connection pooling

AWS Database Blog compares Amazon RDS Proxy and PgBouncer for PostgreSQL connection pooling. The article details differences in pooling modes, authentication, failover handling, and session-state pinning. It provides a framework for selecting between a fully managed service and a self-managed pooler.

  • RDS Proxy is fully managed, offloading pooler maintenance and updates from your team.
  • PgBouncer offers granular control over pooling modes but requires self-management.
  • Evaluate session-state pinning needs to determine which pooler fits your architecture.
  • Consider authentication mechanisms and failover behavior when choosing a pooler.

Amazon ElastiCache for Valkey now includes ElastiCache Insights, a pre-built CloudWatch dashboard designed for node-based clusters. This feature aggregates cluster health, memory, compute, network, command throughput, latency, keyspace, and error data into a single view using automatically published OpenTelemetry metrics. Users can filter by cluster, shard, node, or Availability Zone and save configurations as custom dashboards, with options for 15-second detailed monitoring.

  • Pre-built CloudWatch dashboard provides immediate visibility into Valkey node-based cluster health and performance.
  • Metrics are sourced from OpenTelemetry, simplifying integration with existing observability stacks.
  • Granular filtering allows inspection of specific shards, nodes, or Availability Zones for targeted troubleshooting.
  • Dashboards can be saved as templates, enabling teams to standardize monitoring views for specific workloads.
CHECKLISTElastiCache Insights TakeawaysPre-built CloudWatch dashboard for immediate cluster visibilityOpenTelemetry metrics simplify observability stack integrationGranular filtering for targeted shard or node troubleshootingSave dashboards as templates to standardize monitoring views
AWS Database Blog awsdatabase

Migrate CLR Assemblies to Lambda for RDS SQL Server 2025 Upgrade

Upgrading Amazon RDS for SQL Server to 2017 or later enforces CLR strict security, rendering existing user-defined CLR assemblies unusable. To preserve custom logic that lacks native T-SQL equivalents, AWS recommends offloading this code to AWS Lambda. The updated SQL Server 2025 engine invokes these Lambda functions via sp_invoke_external_rest_endpoint through Amazon API Gateway.

  • CLR assemblies break on RDS SQL Server 2017+ due to strict security policies.
  • Move custom CLR logic to AWS Lambda to maintain functionality during upgrades.
  • Use sp_invoke_external_rest_endpoint in SQL Server 2025 to call Lambda.
  • Route external calls through Amazon API Gateway for secure integration.

Percona continues its deep dive into thread pooling with a second installment focusing on performance analysis. This post compares the efficiency of Percona Server for MySQL 9.7.1-1 with thread pooling enabled against a baseline configuration running the same server without the feature. The content builds upon the foundational configuration and concept explanations provided in the first part of the series.

  • Percona Server 9.7.1-1 introduces measurable thread pool efficiency gains over baseline MySQL.
  • Performance analysis focuses on comparing pooled versus unpooled server behavior.
  • Read Part 1 first to understand configuration options and core thread pool concepts.
  • Benchmarks provide concrete data for evaluating thread pool adoption in MySQL environments.
BY THE NUMBERSPercona MySQL 9.7 Efficiency9.7Percona Server version benchmarkedMeasures thread pool efficiency gains

Real-world data skew, such as ten customers owning 80% of orders, can cause queries to slow down by 1000x compared to uniform test data. The article demonstrates that fixes are engine-specific: PostgreSQL benefits from a free session setting, while SQL Server requires a different access-path optimization. These findings are based on ExoBench measurements across Neon and Azure SQL Database.

  • Uniform test data masks skew issues that cause massive slowdowns in production.
  • PostgreSQL performance can be rescued by adjusting a specific session setting.
  • SQL Server requires a distinct access-path fix for similar skew problems.
  • Cross-engine performance fixes do not transfer between different database systems.
AWS Database Blog awsdatabase

AWS RDS SQL Server automated blocking and query alerts

Amazon RDS for SQL Server now supports automated detection of blocking chains and long-running queries via a serverless architecture. The solution leverages AWS Lambda, CloudWatch, and SES to identify root blockers and dispatch HTML email alerts. This approach provides proactive monitoring with an estimated cost of approximately $2.57 per month.

  • Detects blocking chains and identifies root blockers automatically
  • Uses Lambda, CloudWatch, and SES for a serverless alerting pipeline
  • Sends formatted HTML email notifications for operational awareness
  • Low-cost implementation estimated at ~$2.57 per month
BY THE NUMBERSMonthly Cost for RDS Alerts$2.57Estimated monthly cost per instanceServerless Lambda and CloudWatch alerting

Chris van Eijk details empirical measurements of row-level security in PostgreSQL 17 for multi-tenant SaaS architectures. The analysis covers operational costs, potential data leaks, and proper tenant context configuration. It provides specific test methodologies to validate security boundaries under load.

  • PostgreSQL 17 RLS performance overhead is quantified with concrete benchmarks.
  • Validation tests reveal potential data leak scenarios in multi-tenant setups.
  • Proper tenant context setting is critical for correct policy enforcement.
  • Detailed test cases allow practitioners to replicate and verify results.
↑