---
title: "What's New with Monitoring in PostgreSQL 19"
description: "PostgreSQL 19 (in beta) brings a batch of monitoring improvements. log_lock_waits is now on by default, log_min_messages accepts per-process-type levels, and autoanalyze gets its own log_autoanalyze_min_duration threshold."
url: "https://swe.quest/articles/what-s-new-with-monitoring-in-postgresql-19-e4c0bc9dee606e4c"
canonical: "https://clickhouse.com/blog/postgres-19-monitoring-whats-new"
source: "ClickHouse"
published: "2026-08-18"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 8
tags: ["postgres","observability","databases"]
---

# What's New with Monitoring in PostgreSQL 19

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-08-18, 8 min read, Deep dive. Original: [https://clickhouse.com/blog/postgres-19-monitoring-whats-new](https://clickhouse.com/blog/postgres-19-monitoring-whats-new)

## Summary

PostgreSQL 19 (in beta) brings a batch of monitoring improvements. log\_lock\_waits is now on by default, log\_min\_messages accepts per-process-type levels, and autoanalyze gets its own log\_autoanalyze\_min\_duration threshold. A new wal\_fpi\_bytes counter is exposed in pg\_stat\_wal, per backend, in EXPLAIN and in VACUUM/ANALYZE logs. Other additions are new wait events for WAL LSN waits and file/pipe COPY I/O, remote-server messages routed through normal log formatting, a pg\_get\_multixact\_stats() function, and an earlier 100M-transaction wraparound warning. The post closes with an upgrade checklist for log parsers, metric collectors, wait-event dictionaries, config UIs and age(datfrozenxid) alert thresholds.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- PostgreSQL administration ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- Write-ahead logging ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- Autovacuum basics
- pg\_stat views

## Keywords

PostgreSQL 19, pg\_stat\_wal, wal\_fpi\_bytes, pg\_get\_multixact\_stats, log\_min\_messages, log\_lock\_waits, pg\_stat\_ch

## Related posts

- [New system views in PostgreSQL 19](https://swe.quest/articles/new-system-views-in-postgresql-19-ae28d882e3a54409.md): ClickHouse · 2026-09-01 · Medium · 12 min read · PostgreSQL, Observability, Databases, Replication
  PostgreSQL 19 (in beta) adds four system views, and three of them get hands-on demos. pg\_stat\_lock gives cumulative per-locktype wait counts, wait time and fastpath\_exceeded counters, though waits only count once they pass deadlock\_timeout. pg\_stat\_recovery returns standby replay state as one atomic, consistent snapshot. pg\_stat\_autovacuum\_scores shows the new score-based autovacuum prioritization, tunable through five weight parameters.
- [PostgreSQL 19 on ClickHouse Managed Postgres, from day one](https://swe.quest/articles/postgresql-19-on-clickhouse-managed-postgres-from-day-one-f842fb2eaa8035d3.md): ClickHouse · 2026-11-24 · Medium · 12 min read · PostgreSQL, Replication, Deployment, Databases
  PostgreSQL 19 has been generally available on ClickHouse Managed Postgres since its November 2026 release day.
- [Monitor These Key Neon Metrics Via Datadog](https://swe.quest/articles/monitor-these-key-neon-metrics-via-datadog-4c621c1afdac4161.md): Neon · 2024-11-12 · Medium · 5 min read · PostgreSQL, Observability, Caching, Performance engineering
  Neon now exports database metrics to Datadog via an API-key integration covering all computes in a project.
- [Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026](https://swe.quest/articles/postgres-week-in-the-netherlands-pgday-lowlands-percona-live-2026-0eb593178690a919.md): ClickHouse · 2026-09-18 · Easy · 7 min read · PostgreSQL, Observability, Analytics & OLAP, Query engines
  Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg\_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg\_stat\_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.
- [Debug your Postgres from the terminal: a tour of \`neon inspect db\`](https://swe.quest/articles/debug-your-postgres-from-the-terminal-a-tour-of-neon-inspect-db-388ae9813e34917e.md): Neon · 2026-07-22 · Medium · 10 min read · PostgreSQL, Observability, Developer tools, Performance engineering, Replication
  \`neon inspect db\` adds fourteen read-only Postgres diagnostic subcommands to the Neon CLI, each running one curated query against Postgres statistics and catalog views (table/index sizes, bloat, unused indexes, seq scans, long-running queries, locks, pg\_stat\_statements outliers and calls, vacuum stats, replication slots, subscriptions).

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
