pgSignalfor PostgreSQL
How it worksWhat it won't do

Self-hosted · read-only · per-query

Every number,
with its window.

And what it cannot tell you.

pgSignal turns pg_stat_statements, your server log and the planner into findings you can check: what was measured, over what window, against which threshold. It shows its working and never writes to the database it watches.

How it measures
123
  1. (1) baseline excluded: lifetime totals are not a rate
  2. (2) counter reset: the interval is skipped, not guessed
  3. (3) collection gap: left empty, never interpolated

Anatomy of a finding

A finding without evidence is a bug.

Every finding carries the numbers it was raised on, the window they cover, the threshold that was crossed, and the blind spot of the data behind it, so you can re-derive it yourself or disagree with it.

Illustrative examplecriticalrow_misestimation

Seq Scan on public.orders: planner estimated 1 row, got 200,001

measured
estimated 1 row · actual 200,001 rows · off by 200,001×
window
1 h requested · 21.1 min measured over 24 intervals
threshold
≥ 100× on ≥ 1,000 rows · critical at ≥ 1,000×
cause
201,000 rows changed since the last ANALYZE; autovacuum disabled
cannot tell you
only executions auto_explain captured: sampled, above 500 ms
Remedy: ANALYZE the table; if it persists, raise the statistics target or add extended statistics.

Four instruments

Built around the mistakes that look most plausible.

01

Deltas, not lifetime totals

The first snapshot is a baseline and is kept out of every rate. Counter resets are detected, and those intervals are skipped rather than guessed.

02

Latency from the log, with its basis

PostgreSQL keeps means, not percentiles. pgSignal computes p50/p95/p99 from logged statements, weights sampled ones, and states exactly which statements a percentile covers.

03

Plans and misestimates

auto_explain plans are aggregated by shape, row estimates are checked against actuals, and stale statistics are named with the table and the rows changed.

04

Index advice the planner agreed with

Each candidate is tested against a hypothetical index only the planner can see, and advised only if the planner uses it and the cost drops; refusals say why. Nothing is ever created.

What pgSignal will not do

  • Write to your database

    Every session is read-only, enforced by the server.

  • Run EXPLAIN ANALYZE

    It executes the query; the advisor only plans.

  • Invent a percentile

    Too few samples means none, with the reason shown.

  • Learn a baseline

    Thresholds and ratios only, visible and tunable.

  • Hide a gap

    Time the collector did not see stays empty on every chart.

Where it runs

One process. No agent on your server.

Amazon RDS

A parameter group, a read-only monitoring role, and logs via the RDS log API. Nothing installed on the instance.

Self-hosted PostgreSQL

csvlog or stderr logs, with rotation and partially written records handled.

Your own store

Metrics in PostgreSQL, on the same instance or a separate one, with retention you set.

Signed-in dashboard

Read-only views behind sign-in; the API verifies every session token itself.

Measure first. Then conclude.

pgSignal for PostgreSQL · © 2026 Horizon Group

© 2026 Horizon Group

PostgreSQL is a trademark of the PostgreSQL Community Association. pgSignal is an independent project and is not affiliated with or endorsed by the PostgreSQL Global Development Group.