OffNet Newsroom

Daily topic roundup

Database Technology

Friday, July 17, 2026 · 7 stories, curated & summarized — click any story for the source.

PostgreSQL 19 plans to replace the legacy pglz algorithm with LZ4 as the default compression method for TOAST and heap storage. The database employs a unified compression framework that automatically compresses variable-length types like JSONB and TEXT by default. Index compression remains opportunistic, triggering only when individual keys exceed specific size thresholds rather than compressing every entry.

  • LZ4 replaces pglz as the default TOAST compression in Postgres 19 for better performance.
  • Compression is automatic for variable-length types including TEXT, VARCHAR, BYTEA, and JSONB.
  • A single unified framework manages compression across heap, TOAST, and index storage.
  • Index compression is opportunistic and only activates when keys exceed size thresholds.
  • Legacy 8kB row limits from Postgres 7.0 have evolved into modern TOAST handling.

Amazon RDS has released PostgreSQL 19 Beta 2 in its Database Preview Environment, enabling early evaluation of the major release on a fully managed platform. Key updates include parallel autovacuum with configurable worker limits to prevent maintenance bottlenecks and a new REPACK CONCURRENTLY command for online table rebuilding. The release also introduces native SQL Property Graph Queries (SQL/PGQ) for standard relationship traversals and enhancements to logical replication.

  • Test PostgreSQL 19 Beta 2 in RDS Preview to assess compatibility before general availability.
  • Leverage parallel autovacuum with worker limits to reduce maintenance windows on large datasets.
  • Use REPACK CONCURRENTLY for online storage reclamation without requiring third-party extensions.
  • Adopt native SQL/PGQ for graph traversals, removing the need for separate application-side logic.
  • Evaluate logical replication improvements for improved sync capabilities in this beta.

Fleet impact: For DBAs managing PostgreSQL workloads, this beta allows validation of parallel autovacuum and REPACK CONCURRENTLY to mitigate future maintenance bottlenecks. Test SQL/PGQ support if your applications rely on graph data patterns to determine migration paths away from external graph libraries.

CHECKLISTPostgreSQL 19 Beta 2 PreviewTest compatibility in RDS Preview environmentLimit parallel autovacuum workers to prevent bottlenecksUse REPACK CONCURRENTLY for online table rebuildingAdopt native SQL/PGQ for graph traversalsEvaluate logical replication sync improvements

Christophe Pettus analyzes the exit_on_error GUC in PostgreSQL, which forces errors to terminate the current session. The article argues this fail-fast mechanism creates an illusion of safety while actually causing destructive behavior by abruptly ending connections. This approach can lead to data loss or inconsistent states rather than graceful error handling.

  • exit_on_error treats every error as a session-terminating event, not just critical failures
  • The fail-fast design may mask underlying application logic errors instead of fixing them
  • Abrupt session termination can leave transactions in undefined states for clients
  • Review application error handling strategies before relying on this GUC for stability

pgEdge's Spock 6 extension has entered beta, supporting PostgreSQL versions 16 through 19. The release re-architects internals by moving replication progress tracking from a catalog table to shared memory and introduces a custom WAL resource manager. It also adds the ability to spill oversized replay queues to disk and provides per-subscription conflict statistics.

  • Runs on PostgreSQL 16, 17, 18, and 19.
  • Progress tracking moved to shared memory for lower overhead.
  • Oversized replay queues spill to disk to prevent crashes.
  • Per-subscription conflict stats improve observability.
  • GA pending final internal testing and Control Plane integration.

Fleet impact: This update targets PostgreSQL-based multi-master deployments, particularly those on pgEdge or cloud-managed PostgreSQL flavors that support custom extensions. DBAs managing high-throughput write scenarios should monitor the new disk spillover behavior to ensure adequate IOPS and storage capacity for replay queues, and leverage the new shared memory tracking to reduce catalog contention.

HOW IT WORKSSpock 6 Beta Pipeline1Support PG 16-192Track in shared memory3Spill queues to disk4Report conflict stats
AWS Database Blog awsdatabase ↺ since 07-14

Rebuild Aurora PostgreSQL indexes via Blue/Green and NVMe

AWS outlines a method to rebuild large indexes in Aurora PostgreSQL by leveraging Blue/Green Deployments and Optimized Reads. The process executes the reindex on the green staging environment using NVMe-backed instances, allowing the sort phase to utilize fast local storage rather than networked EBS. This approach isolates the heavy I/O operations from production, preventing performance degradation for live workloads.

  • Use Blue/Green Deployments to isolate heavy maintenance tasks from production traffic.
  • NVMe-backed instances enable local storage for the index sort phase, avoiding EBS network latency.
  • Aurora Optimized Reads facilitates efficient data movement during the reindex process.
  • Protects production SLAs by performing large index rebuilds in non-production environments.

Fleet impact: For Aurora PostgreSQL fleets, this technique allows safe index rebuilding on NVMe instances without impacting production R/W performance. Verify NVMe instance availability for your green environment and ensure Optimized Reads is enabled to maximize sort speed during maintenance windows.

PostgreSQL Releases databasereleases ↺ since 07-15

PostgreSQL 19 Beta 2 released

The PostgreSQL community has published the second beta release for version 19. This milestone continues the development cycle for the upcoming major stable release, offering early access to planned features and improvements. As a pre-release candidate, it is intended for testing and feedback rather than production deployment.

  • Beta 2 indicates active development toward a PostgreSQL 19 stable launch
  • Test new features and regression fixes in non-production environments
  • Avoid deploying to production; stability is not yet guaranteed
  • Monitor community bug reports for critical issues in this cycle
InfoQ generaldevops ↺ since 07-16

Postgres for Production Agents: JSONB, HNSW, and Vector Quantization

Gwen Shapira outlines how PostgreSQL serves as the relational backbone for enterprise AI agents by combining structured data with semantic search. The approach leverages JSONB for flexible schema handling and high-recall HNSW vector indexing to provide deterministic context to LLMs. To address performance bottlenecks, the presentation highlights vector quantization for 4x query speedups and strategies for managing agentic memory states.

  • Use HNSW indexing for high-recall semantic search in production AI workloads.
  • Apply vector quantization to achieve approximately 4x faster query performance.
  • Combine JSONB parsing with relational data for deterministic LLM context.
  • Implement structured strategies for managing long-term agentic memory.