Download for MacApple silicon, macOS 14+
Skill

database-optimizer

@jeffallan Updated 2026-10-30

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.

ai-agentsclaudeclaude-codeclaude-marketplaceclaude-skills

Install

With your agent

Install OMGSkills skill "jeffallan/claude-skills:database-optimizer" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/Jeffallan/claude-skills /tmp/claude-skills && ln -s /tmp/claude-skills/skills/database-optimizer ~/.claude/skills/database-optimizer

From README

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 Core Workflow Analyze Performance — Capture baseline metrics and run EXPLAIN ANALYZE before any changes Identify Bottlenecks — Find inefficient queries, missing indexes, config issues Design Solutions — Create index strategies, query rewrites, schema improvements Implement Changes — Apply optimizations incrementally with monitoring; validate each change before proceeding to the next Validate Results — Re-run EXPLAIN ANALYZE, compare costs, measure wall-clock improvement, document changes ⚠️ Always test changes in non-production first.