Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Observability Remove topic Observability Clear all 7 posts RSS

2026

Neon

Debug your Postgres from the terminal: a tour of `neon inspect db`

Announcement 10 min +100 XP

`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).

2025

2024

Neon

Postgres Support Recap: Investigating Postgres Query Performance

How-to 9 min +90 XP

Three starting points for diagnosing slow Postgres queries: use pg_stat_statements to find long-running queries by mean execution time and then EXPLAIN ANALYZE them, check the cache hit ratio (in Neon via the neon_stat_file_cache view, since Neon extends shared buffers with a local file cache), and look for table and index bloat caused by MVCC dead tuples.

The quest for software engineering knowledge.

Look:
Layout: