OffNet Newsroom

Daily topic roundup

Database Technology

Wednesday, September 02, 2026 · 6 stories, curated & summarized — click any story for the source.

Planet PostgreSQL database

PostgreSQL sampling GUCs for high-volume query logging

Christophe Pettus introduces three new Global Configuration parameters designed to log only a random sample of queries rather than every statement. These settings—log_min_duration_sample, log_statement_sample_rate, and log_transaction_sample_rate—allow DBAs to capture representative query statistics without the overhead of recording every single execution. This approach helps identify performance patterns in high-throughput environments where full logging would be prohibitively expensive.

  • Use log_statement_sample_rate to log only a fraction of statements, reducing I/O and storage overhead.
  • Apply log_min_duration_sample to filter sampled queries by execution time, focusing on slow operations.
  • Enable log_transaction_sample_rate to sample entire transactions, preserving context for multi-statement workloads.
  • Aggregate statistics from samples can reveal performance trends without the cost of full query logging.

Percona has released a fully open source OpenID Connect authentication plugin for Percona Server for MySQL, starting with versions 8.4.11-11 and 9.7.2-2. This feature enables MySQL accounts to authenticate against any standards-compliant Identity Provider rather than relying on locally stored passwords. The update aims to centralize identity management and improve security posture by integrating with external IdPs.

  • OIDC auth is now fully open source in Percona Server for MySQL.
  • Available in 8.4.11-11 and 9.7.2-2 builds.
  • Enables authentication against external standards-compliant IdPs.
  • Reduces reliance on locally stored MySQL passwords.
  • Supports centralized identity management for database fleets.
TRADE-OFFOIDC vs Local PasswordsLocal PasswordsRequires manual storage managementSiloed identity dataHigher security riskOIDC AuthenticationCentralized identity managementExternal IdP integrationEnhanced security posturevs

Amazon CloudWatch Database Insights now monitors self-managed PostgreSQL instances running on Amazon EC2. This update allows DBAs to view these databases alongside RDS and Aurora in a single console for fleet-wide health and performance monitoring. Data collection for these instances is handled via the Amazon CloudWatch agent.

  • Unify observability for self-managed PostgreSQL and AWS-managed databases in one console.
  • Deploy the CloudWatch agent on EC2 to collect health and performance metrics.
  • Diagnose bottlenecks across the entire PostgreSQL fleet from a single interface.
  • Eliminate context switching between separate monitoring tools for hybrid database fleets.

Fleet impact: For DBAs managing PostgreSQL on EC2, this enables centralized fleet visibility alongside Aurora and RDS. Ensure the CloudWatch agent is configured correctly on all EC2 instances to capture the necessary performance data for the new insights dashboard.

CHECKLISTMonitor PostgreSQL FleetDeploy CloudWatch agent on EC2View metrics in single consoleDiagnose bottlenecks across fleetEliminate context switching

PostgreSQL 19 adds four new system views to enhance monitoring and observability, marking the most significant update to catalog views since versions 13 and 14. The new additions include pg_stat_lock, pg_stat_recovery, pg_stat_autovacuum_scores, and pg_dsm_registry_allocations. These views provide granular insights into locking behavior, recovery processes, autovacuum efficiency, and dynamic shared memory allocations. Although the release is still in beta with potential schema changes, these tools represent a major step forward for database administrators tracking internal performance metrics.

  • Four new system views target specific bottlenecks: locks, recovery, autovacuum, and dynamic shared memory.
  • pg_stat_autovacuum_scores offers a new metric for evaluating vacuum efficiency beyond traditional stats.
  • pg_dsm_registry_allocations exposes dynamic shared memory usage, critical for extension developers.
  • Schema columns may still change before GA; verify against final release notes before production implementation.
  • These views align with increased observability focus in PG19, reducing reliance on external monitoring agents.
Planet PostgreSQL database

PostgreSQL GUCs: log_parameter_max_length_on_error

Christophe Pettus introduces two new GUCs to control how bound parameters are logged alongside SQL statements and errors. These settings allow administrators to limit the length of parameter values recorded in logs, addressing privacy and performance concerns when debugging. This provides finer granularity for managing sensitive data exposure in audit trails.

  • New GUCs let you cap logged bind parameter lengths for statements and errors.
  • Reduces risk of exposing sensitive PII in database logs by truncating values.
  • Improves log readability by preventing excessively long parameter dumps.
  • Appears in PostgreSQL 19 development cycle as of September 2026.

Amazon RDS Custom for SQL Server now supports the latest Cumulative Updates and General Distribution Releases for SQL Server 2019 and 2022. These updates include specific builds addressing critical vulnerabilities such as CVE-2026-47295 and CVE-2026-55002. Users can apply these patches via the AWS Management Console, CLI, or SDKs.

  • SQL Server 2019 CU32+GDR (15.00.4480.2.v1) is now available for RDS Custom
  • SQL Server 2022 CU25+GDR (16.00.4262.2.v1) is now available for RDS Custom
  • Patches address CVEs including 2026-47295, 47296, 54118, and 55002
  • Apply updates using AWS Console, CLI, or SDKs for supported instances
TRADE-OFFSQL Server Versions on RDSSQL Server 2019CU32 + GDR availableBuild 15.00.4480.2.v1SQL Server 2022CU25 + GDR availableBuild 16.00.4262.2.v1vs
↑