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

pg-large-table-optimize

Stars1
Forks0
UpdatedJuly 13, 2026 at 08:05

PostgreSQL 大表识别与容量规划专家技能。给定实例连接信息(主机/端口/用户名/密码),自动发现大表、剔除膨胀水分得到真实数据量、分析每张大表的 DML/扫描/索引负载特征,判定负载类型(高频更新/纯写入/OLTP点查/分析型/混合型),并给出分区改造、autovacuum 调优、索引优化等针对性建议。触发条件:用户提到"大表分析"、"大表优化"、"表膨胀"、"表变胖了"、"数据库容量规划"、"这张表要不要分区"、"autovacuum 调优"、"表统计信息分析"、"pg 性能诊断"、"帮我看看这个 PG 实例有哪些大表"、"数据库瘦身",或提供了 PostgreSQL 连接信息并希望做体检/优化建议。即使用户只说"帮我看看我的库是不是该分区了"或"这个库是不是该做维护了",也应使用本 skill。全程只读,不执行任何 DDL/DML。

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
5 files
SKILL.md
readonly