OffNet Newsroom

Daily topic roundup

Database Technology

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

The PostgreSQL Global Development Group has issued point releases for all supported versions, addressing 28 security vulnerabilities and over 110 bugs. The 18.x series jumped from 18.4 to 18.6 after 18.5 was skipped due to a regression. Additionally, PostgreSQL 19 Beta 3 is now available for testing. Three specific areas—Parallel GIN index builds, btree_gist, and ltree—require post-update steps.

  • Apply immediately to patch 28 security vulnerabilities across supported versions.
  • PostgreSQL 14 reaches EOL on November 12, 2026; plan migration now.
  • Check for required post-update steps for Parallel GIN, btree_gist, and ltree.
  • PostgreSQL 18.5 was skipped; ensure your upgrade path accounts for this jump.
  • Review full release notes for the 110+ bug fixes included in this update.

Christophe Pettus details how to select the I/O execution engine via the io_method GUC and configure the worker pool size with io_workers. A key operational benefit is the ability to resize the worker pool dynamically without requiring a database restart. This allows practitioners to adjust concurrency levels for I/O operations in real-time.

  • Use io_method GUC to select the underlying I/O execution engine.
  • Configure io_workers to size the I/O worker pool for your workload.
  • Resize io_workers dynamically without restarting the PostgreSQL instance.
  • Tune I/O concurrency parameters to optimize performance under load.

Percona demonstrates a hybrid architecture where MySQL 9.7 primary nodes handle transactional writes using InnoDB, while replicas store large tables with the DuckDB engine for analytical queries. This setup answers community demand for separating OLTP and OLAP workloads within the same replication topology. The approach allows heavy analytical processing to run on the replica without impacting the primary's transactional performance.

  • MySQL 9.7 supports ENGINE=DuckDB on replicas while primaries remain InnoDB.
  • Replication maintains consistency between InnoDB writes and DuckDB analytical storage.
  • Separates OLTP load from OLAP queries, protecting primary write performance.
  • Enables using DuckDB's columnar engine for fast analytical scans on replicas.
TRADE-OFFMySQL 9.7 Hybrid RolesPrimary NodeUses InnoDB engineHandles OLTP writesProtects transaction performanceAnalytical ReplicaUses DuckDB engineRuns OLAP queriesFast columnar scansvs

Ryan Booz examines how high cardinality workloads, often driven by ORMs, dynamic SQL, and AI code generators, create excessive unique query signatures that degrade pg_stat_statements utility. The article contrasts behavior between Postgres 17 and 18 to highlight differences in handling these diverse query patterns. It provides specific diagnostic checks to determine if your monitoring is losing critical tuning data due to query variance.

  • ORMs, dynamic SQL, and AI tools generate unique queries that overwhelm pg_stat_statements aggregation.
  • High cardinality reduces the statistical usefulness of pg_stat_statements for identifying top offenders.
  • Side-by-side demos show distinct behavioral differences in handling unique queries between PG 17 and 18.
  • Apply concrete checks to verify if your current setup is retaining sufficient tuning data.
  • Monitor query variance closely if you rely heavily on generated or dynamic SQL patterns.

Jeremy Schneider addresses follow-up questions regarding the recommendation to keep checkpoint_timeout at its default 5-minute interval. He clarifies that while an HA replica can promote without restart during a primary outage, the replica itself will still suffer from restartpoints if it restarts, inheriting the same long startup delays caused by increased checkpoint intervals. This highlights that the checkpoint duration penalty applies to any server processing the WAL stream.

  • Avoid increasing checkpoint_timeout beyond 5 minutes to prevent prolonged startup times.
  • HA replicas inherit restartpoint delays from the primary's WAL stream.
  • Replica restarts will take as long as the primary if checkpoint_timeout is large.
  • High availability does not mitigate checkpoint-induced downtime on restart.

Bertrand Drouvot introduces pg_walviz, a read-only tool that renders PostgreSQL WAL segment files directly in a local browser. It provides a three-level view: a segment overview showing page locations and record fragments, a panel listing records on selected pages, and detailed inspectors for record structure and raw bytes. This complements pg_waldump by offering a visual representation of physical storage details like alignment padding and block references.

  • Visualize WAL physical structure beyond text logs with a browser-based interface
  • Inspect alignment padding, continuation records, and full-page images directly
  • Complements pg_waldump by showing page-level record fragment locations
  • Read-only tool; no risk of modifying WAL files during inspection
  • Useful for deep debugging of WAL corruption or unusual record layouts
HOW IT WORKSpg_walviz Inspection Workflow1Load WAL segment file2View page locations overview3Select page records4Inspect record structure5Analyze raw bytes

The article details the compaction mechanics within the Pi database system, explaining how data is reorganized and merged to maintain storage efficiency. It covers the specific strategies used to handle write amplification and read latency during the compaction process. The post serves as a technical deep-dive into the underlying engine's architecture.

  • Compaction is the primary mechanism for reclaiming storage and merging SSTables in Pi.
  • Understanding merge strategies helps predict write amplification and I/O patterns.
  • Read latency can spike during heavy compaction windows due to resource contention.
  • Tuning compaction parameters requires balancing CPU usage against disk throughput.