OffNet Newsroom

Daily topic roundup

Database Technology

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

StackGres benchmarks demonstrate that open-source Citus, enhanced with a scalable Query Router architecture in version 1.19, achieves 10 million queries per second using half the data nodes required by PlanetScale's Neki. The update removes the traditional single-coordinator bottleneck by allowing multiple Query Routers to scale near-linearly, significantly improving throughput efficiency on sharded Postgres clusters.

  • Citus 1.19 eliminates single-coordinator limits via scalable Query Routers
  • Achieves 10M QPS on half the data nodes compared to PlanetScale Neki
  • Query Router scaling is near-linear up to two routers in tested configs
  • Provides an open-source alternative for high-throughput sharded Postgres

Fleet impact: Evaluate StackGres 1.19 architecture for Aurora PostgreSQL or RDS deployments needing higher throughput without proportional node scaling. Assess if your current Citus or sharded Postgres setup suffers from coordinator bottlenecks that this multi-router model could resolve.

SAG2 introduces a multi-hop retrieval architecture that eliminates the need for dense embeddings and complex database infrastructure. By leveraging a single SQLite database with BM25 lexical indexing, it shifts semantic evidence selection to query time. This approach removes dependencies on offline embedding computation and dedicated database servers, simplifying deployment while maintaining retrieval capabilities.

  • Eliminates offline embedding computation and dense index maintenance
  • Uses a single SQLite database instead of dedicated database servers
  • Shifts semantic evidence selection to query time using BM25 and JEV
  • Simplifies infrastructure by removing LLM-based event-entity extraction
  • Enables practical multi-hop retrieval without complex corpus preparation
TRADE-OFFSAG2 vs Traditional RetrievalTraditional ApproachRequires dense embeddingsNeeds dedicated database serversOffline embedding computationSAG2 ArchitectureUses SQLite and BM25No embedding infrastructureQuery-time evidence selectionvs

Amazon Redshift now supports long-term retention of system table data by natively integrating with Amazon S3 Tables in additional regions. This feature allows data to be automatically exported to Apache Iceberg format, bypassing the traditional seven-day storage limit for monitoring and audit logs. The service handles all partitioning and compaction tasks, removing the need for custom ETL pipelines to archive this data.

  • Extends system table data retention beyond the default 7-day window for compliance needs
  • Automatically exports data to S3 Tables in Apache Iceberg format
  • Eliminates custom ETL pipelines and reduces resource contention on production clusters
  • AWS manages partitioning, compaction, and retention policies natively

Fleet impact: Review Redshift cluster configurations to enable S3 Tables integration, eliminating brittle custom ETL scripts for long-term audit log retention while ensuring compliance data remains queryable without impacting production performance.

THE SHIFTExtended System Table Retention7 daysDEFAULT WINDOWLong-termS3 TABLESBypasses limit via native Iceberg integration

The pgBackRest community has released version 2.60.0 of their popular backup and restore tool for PostgreSQL. This update continues to support scalable, reliable backup infrastructure with features like parallel operations, incremental backups, and multi-cloud storage integration.

  • Latest stable release of pgBackRest for PostgreSQL backup management
  • Supports parallel backup/restore and incremental backup strategies
  • Includes ransomware protection and checksum validation capabilities
  • Compatible with S3, Azure, GCS, and SFTP storage backends
  • Enables backup from standby servers and partial backup resume

Fleet impact: For fleets running PostgreSQL on AWS RDS or Aurora, verify pgBackRest 2.60.0 compatibility with your current PostgreSQL versions and storage configurations. Check if the new ransomware protection and checksum validation features can enhance your existing backup strategy without performance impact.

CHECKLISTKey Features in pgBackRest 2.60Enable parallel backup and restore operationsImplement incremental backup strategiesAdd ransomware protection and checksum validationIntegrate with S3, Azure, GCS, and SFTPBackup from standby servers with resume

Hubert 'depesz' Lubaczewski investigates a claim that storing only changed columns in audit logs yields smaller tables but slower triggers. He notes the original post lacked schema details and test methodology, prompting a personal replication to verify the performance trade-offs.

  • Audit logging strategy: full-row vs. column-diff impacts storage and CPU
  • Original claim: column-diff logs are 5x smaller but trigger execution is slower
  • Reproduction requires specific schema context; original post omitted details
  • Performance tuning of audit triggers depends heavily on row width and change frequency

Fleet impact: Review audit trigger implementations on high-churn ExaCC or RDS tables to determine if column-diff logging introduces unacceptable CPU overhead compared to the storage savings.

TRADE-OFFAudit Logging Trade-OffsFull-Row LoggingFaster trigger executionLarger storage footprintColumn-Diff Logging5x smaller logsSlower trigger executionvs

PostgreSQL does not support the IF NOT EXISTS clause for CREATE POLICY, forcing developers to use alternative methods for idempotent migrations. A recent analysis compares three common workarounds on PostgreSQL 17 and 18, highlighting issues with locking behavior and race conditions. These findings are critical for teams managing Row-Level Security policies in automated deployment pipelines.

  • CREATE POLICY IF NOT EXISTS is unsupported in current PostgreSQL versions
  • Three alternative idempotent migration patterns were benchmarked on PG 17/18
  • Race conditions and locking gaps exist in naive IF NOT EXISTS workarounds
  • Automated RLS deployments require careful handling of concurrent policy creation

Fleet impact: DBAs managing Aurora PostgreSQL or RDS instances with Row-Level Security should audit migration scripts for race conditions during policy creation, as PostgreSQL lacks native IF NOT EXISTS support for policies.

The upcoming November 2026 PostgreSQL hacking workshop will feature Álvaro Herrera discussing the correct implementation of table repacking. Participants can register via the provided form to receive an invitation to the session.

  • November 2026 workshop focuses on best practices for PostgreSQL table repacking
  • Álvaro Herrera leads the discussion on correct repacking methodology
  • Registration required via form to secure a spot in the hacking workshop
HOW IT WORKSWorkshop Registration Steps1Find the registration form2Submit your details3Receive session invitation4Attend November 2026 workshop
↑