托管 PostgreSQL 根因分析
原名:clickhouse-managed-postgres-rca
对 ClickHouse 托管 PostgreSQL 的可用性和性能事件进行证据化根因分析。
中文 Skills 技能说明
适合慢查询、连接耗尽或资源异常;先限定项目和时间,收集指标、日志与变更记录,再区分事实、推断和待验证项。ClickHouse 与 chDB 可在用户自己的环境使用;涉及 ClickHouse Cloud 或托管 PostgreSQL 时,账户、网络、区域、费用与数据位置由用户确认。执行前应读取项目现状和官方文档,输出目标、依据、影响、验证结果与回退方式;没有真实证据时明确说明未知,不编造配置、数据或成功状态。 代码、日志、令牌、连接串、模型、数据集和企业资料按敏感内容处理,只读取任务所需范围,上传或外发前完成授权、脱敏和最小化。
上游能力依据
上游原始适用说明:MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance. Provides an evidence-based RCA workflow that scrapes the Prometheus endpoint for system signal, pulls per-digest evidence from the Slow Query Patterns API, and recommends (does not apply) a fix.
上游 SKILL.md 主要章节(保留原文标题):
- When to use
- What you have access to
- What you do NOT have
- Workflow
- 1. Discover the live API shape
- 2. Scrape Prom once for system gauges
- 3. Pull top slow query patterns
- 4. Triage: pick the right heuristic
- 5. Reason, then recommend
- 6. Do not apply the fix
使用边界
先复现问题并固定测试范围,再生成或执行测试。测试通过只能证明已覆盖的场景,不能代替生产环境验收。
作者、翻译与许可证
- 原作者
- ClickHouse, Inc. 与 ClickHouse/agent-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/ClickHouse/agent-skills/tree/5aec3114379671f33b1c502a51d420a0729c8172/skills/clickhouse-managed-postgres-rca
适用范围
平台:linux、macos、windows;标签:测试与质量、托管 PostgreSQL 根因分析
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。