Skip to main content
Run any Skill in Manus
with one click

pg-load-spike-forensics

Stars1
Forks0
UpdatedJuly 13, 2026 at 08:05

扮演 PostgreSQL DBA 专家 + 操作系统专家 + 网络专家 + 存储专家,对给定的一段可疑时间窗口做数据库负载飙升的多维取证分析。触发条件:用户给出一个时间段并提到'负载飙升'、'CPU飙高'、'load average 很高'、'数据库卡顿'、'突然变慢'、'连接数暴涨'、'慢查询突增'、'IO打满'、'内存暴涨/OOM'、'那段时间发生了什么'、'帮我排查一下这段时间的数据库'、'复盘一次故障'、'故障根因分析'、'RCA',或提供了 postgresql 日志/系统日志并希望定位问题根因。即使用户只说'昨晚2点到3点数据库很慢,帮我查查为什么'或'这段时间是不是数据库出问题了',也应使用本 skill。本 skill 覆盖数据库日志、统计信息视图(pg_stat_*)、扩展插件(pg_stat_statements/pg_stat_kcache/pg_wait_sampling/auto_explain)、操作系统日志与指标(dmesg/journalctl/sar/vmstat)、存储(iostat/df/WAL增长)、网络(ss/netstat/tcp重传/复制延迟)六大维度,产出时间线、根因链条、影响面和规避建议。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly