Skip to main content

pg-load-spike-forensics

扮演 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重传/复制延迟)六大维度,产出时间线、根因链条、影响面和规避建议。

Jump to install

Source facts

Repository
digoal/skills
Last source activity
July 13, 2026 at 08:05
Detected SKILL.md language
Chinese
Stars
3
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.