OffNet Newsroom

Daily topic roundup

Database Technology

Saturday, August 01, 2026 · 8 stories, curated & summarized — click any story for the source.

Percona investigated memory allocator performance for MySQL and uncovered unexpected memory consumption patterns specific to stored procedures. The findings suggest that routine definitions and executions can impact server memory usage in ways that warrant closer scrutiny during capacity planning. This analysis provides details on how these internal components behave under load compared to standard allocators.

  • Stored procedures consume more memory than initially expected in Percona Server for MySQL.
  • Memory allocator choice influences but does not fully explain the observed consumption spikes.
  • Review stored procedure complexity and frequency when sizing MySQL instances.
  • Benchmark memory usage with actual stored procedure workloads, not just simple queries.
CHECKLISTOptimize MySQL Memory SizingReview stored procedure complexityCheck execution frequencyBenchmark actual workloadsScrutinize memory spikes

The hot_standby_feedback GUC allows standbys to inform the primary about running queries, preventing transaction ID wraparound cleanup from cancelling standby work. However, this mechanism specifically addresses cleanup conflicts only; it does not resolve issues arising from schema changes like lock or drop conflicts. Enabling this setting effectively shifts the cost of standby query longevity into increased bloat on the primary database.

  • Enabling hot_standby_feedback prevents standby query cancellations due to vacuum cleanup.
  • This setting trades primary disk bloat for improved standby read availability.
  • It does not mitigate conflicts caused by schema drops or locking changes.
  • Monitor primary bloat levels closely if this GUC is enabled on large fleets.
Planet PostgreSQL database

PostgreSQL 19 adds SQL/PGQ standard graph queries and DDL

PostgreSQL 19 introduces native support for SQL Property Graph Queries (SQL/PGQ) per ISO/IEC 9075-16:2023. Peter Eisentraut committed the implementation, adding GRAPH_TABLE for pattern matching and DDL commands like CREATE PROPERTY GRAPH. The update includes new system catalogs and information schema views to support these graph capabilities.

  • Native SQL/PGQ support enables standard graph pattern matching without external extensions
  • New DDL commands allow direct creation and management of property graphs
  • GRAPH_TABLE function simplifies complex graph traversal queries in standard SQL
  • New system catalogs expose graph metadata for better tooling and introspection
HOW IT WORKSSQL/PGQ Graph Implementation1Define schema via CREATE PROPERTY GRAPH2Populate graph with nodes and edges3Query patterns using GRAPH_TABLE4Inspect metadata in system catalogs

PostgreSQL 18 introduces a Grand Unified Configuration (GUC) allowing extension control and SQL files to reside outside the core server directories. This change enables packaging extensions as independent OCI container images that can be mounted at runtime via Kubernetes ImageVolume or Docker. The approach supports a lean, unmodified PostgreSQL server image while allowing extensions like pgvector to be versioned and upgraded independently.

  • Decouple extension lifecycle from server image rebuilding for faster updates
  • Leverage Kubernetes ImageVolume and Docker mounts for runtime extension injection
  • Maintain a single, lean PostgreSQL server image across the fleet
  • Not all extensions benefit; evaluate coupling depth before containerizing
  • Simplifies rolling upgrades for specific extensions without server restarts
HOW IT WORKSPostgreSQL 18 Extension Workflow1Package extension as OCI image2Mount via Kubernetes ImageVolume3Inject at runtime4Update independently
AWS Database Blog awsdatabase ↺ since 07-29

AWS Aurora DSQL: Design Patterns for Scalable, ACID-Compliant Apps

AWS introduces practical guidance for building applications on the new Aurora DSQL distributed architecture. The blog outlines how to identify scalability bottlenecks and apply proven patterns for workload distribution. Key topics include primary key selection, schema design, indexing strategies, and multi-Region optimization while maintaining full ACID compliance.

  • Focus on primary key selection and schema design to prevent data skew in distributed shards.
  • Implement indexing strategies that align with Aurora DSQL's distributed query execution engine.
  • Optimize transaction strategies to maintain ACID compliance across multiple AWS Regions.
  • Use multi-Region deployment patterns to reduce latency and improve availability for global apps.
AWS Database Blog awsdatabase ↺ since 07-29

AWS RDS SQL Server: Diagnosing Query Regressions with CloudWatch and Query Store

A new AWS Database Blog post outlines a structured workflow for diagnosing T-SQL performance issues on Amazon RDS for SQL Server. It details how to integrate CloudWatch Database Insights, Query Store, and Resource Governor to detect plan regressions and isolate heavy analytical workloads. This approach helps administrators systematically identify and resolve execution plan changes that degrade query speed.

  • Combine CloudWatch Database Insights with Query Store for end-to-end visibility into query regressions.
  • Use Resource Governor to isolate and throttle analytical workloads impacting transactional performance.
  • Follow a standardized workflow to detect, diagnose, and resolve T-SQL execution plan changes.
  • Leverage built-in RDS tools to identify specific queries causing resource contention.

Fleet impact: For DBAs managing RDS SQL Server, this workflow provides a standardized method to catch execution plan regressions before they impact SLAs. Ensure Query Store is enabled and configured to capture historical data, and review Resource Governor configurations to effectively segment analytical versus OLTP workloads.

AWS Database Blog awsdatabase ↺ since 07-29

AWS adds automated PII redaction for RDS PostgreSQL audit logs

AWS now enables a serverless pipeline to irreversibly redact personally identifiable information from Amazon RDS for PostgreSQL audit logs. The system detects and masks over 30 data types, including SSNs, credit cards, and names, before archiving the clean logs to Amazon S3. Once stored, the redacted logs remain fully queryable via Amazon Athena for compliance and forensic analysis.

  • Automated removal of SSNs, credit cards, emails, and 30+ other PII types from audit streams.
  • Serverless pipeline ensures irreversible redaction before data reaches Amazon S3 storage.
  • Archived logs stay queryable via Amazon Athena for ongoing compliance and auditing needs.
Planet PostgreSQL database ↺ since 07-29

PostgreSQL 11-18 SQL Feature Selection: A Practitioner’s Guide

Dimitri Fontaine reviews seven years of PostgreSQL releases (11 through 18) to highlight key SQL layer improvements. The selection focuses on features that fill standard gaps, add functionality, and resolve rough edges, drawn from rewriting examples in The Art of PostgreSQL. The overview is organized by theme to help engineers identify which enhancements landed in which yearly release.

  • PostgreSQL has shipped one major version annually from 2018 to 2025 with consistent SQL advancements.
  • Each release includes 150-200 user-visible changes covering performance, replication, and security.
  • Features are categorized by theme and version for easy reference during code modernization.
  • The selection targets practical SQL enhancements rather than just infrastructure or admin tools.
WORTH QUOTINGThe gistDimitri Fontaine reviews seven years of PostgreSQL releases(11 through 18) to highlight key SQL layer improvements.— Planet PostgreSQL