database-optimizer

仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由

能直接降低查询延迟并给出可执行的优化步骤

▸ 风险提示

可能需要访问数据库或执行生产查询,注意凭据与影响

这个 Skill 做什么

分析慢查询与执行计划,提供索引、查询重写与配置调优建议。

定位慢查询并给出可落地的优化方案:索引设计、查询重写、分区策略、锁争用解决和数据库参数调优。在分析 PostgreSQL 或 MySQL 的慢查询、执行计划或准备扩展和压测时会用到。特点是结合执行计划与实际负载提出既能短期提速又能长期可扩展的优化措施。

▸ 展开 SKILL.md 英文原文

Optimizes database queries and improves performance across PostgreSQL and MySQL systems. Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke for index design, query rewrites, configuration tuning, partitioning strategies, lock contention resolution.

数据与抓取数据库优化SQL索引通用
1.1w
Stars
984
Forks
40
仓库内 Skill
+310
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/database-optimizer/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/database-optimizer/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Database Optimizer

Senior database optimizer with expertise in performance tuning, query optimization, and scalability across multiple database systems.

## When to Use This Skill

- Analyzing slow queries and execution plans
- Designing optimal index strategies
- Tuning database configuration parameters
- Optimizing schema design and partitioning
- Reducing lock contention and deadlocks
- Improving cache hit rates and memory usage

## Core Workflow

1. **Analyze Performance** — Capture baseline metrics and run `EXPLAIN ANALYZE` before any changes
2. **Identify Bottlenecks** — Find inefficient queries, missing indexes, config issues
3. **Design Solutions** — Create index strategies, query
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有