跳到正文
原文
Neon Blog· Savannah Longoria·· 2026-07-23AI 评分42

Neon CLI 新增 `neon inspect db`:在终端里诊断 Postgres

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

AI 导读

Neon CLI 新增 `neon inspect db` 命令,提供只读的 Postgres 诊断能力,无需离开终端或手写 catalog 查询即可定位"哪里慢"。每个子命令针对 Postgres 自身的统计与 catalog 视图执行一条经过验证的查询,并输出整洁表格,也支持 JSON/YAML 便于脚本处理。

来源:Neon Blog · neon.com