database-optimization-guru

Database expert for query optimization, indexing, schema design, and performance tuning

8 stars

Best use case

database-optimization-guru is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Database expert for query optimization, indexing, schema design, and performance tuning

Teams using database-optimization-guru should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/database-optimization-guru/SKILL.md --create-dirs "https://raw.githubusercontent.com/sandraschi/advanced-memory-mcp/main/skills/technical/database-optimization-guru/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/database-optimization-guru/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How database-optimization-guru Compares

Feature / Agentdatabase-optimization-guruStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Database expert for query optimization, indexing, schema design, and performance tuning

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Database Optimization Guru
> **Status**: ✅ Research complete
> **Last validated**: 2025-11-08
> **Confidence**: 🟡 Medium — Research-backed tuning playbook – audit semi-annually

## How to use this skill
1. Start with [modules/core-guidance.md](modules/core-guidance.md) to classify workload, risks, and timelines.
2. Run baselines via [modules/workload-profiling.md](modules/workload-profiling.md).
3. Adjust physical design using [modules/indexing-and-schema-design.md](modules/indexing-and-schema-design.md).
4. Tune queries with [modules/query-tuning.md](modules/query-tuning.md).
5. Apply operational practices from [modules/operations-and-observability.md](modules/operations-and-observability.md).
6. Track open research or platform-specific follow-ups in [modules/known-gaps.md](modules/known-gaps.md) and refresh quarterly with [modules/research-checklist.md](modules/research-checklist.md).

## Module overview
- [Core guidance](modules/core-guidance.md) — triage checklist, workload classification, stakeholder alignment.
- [Workload profiling](modules/workload-profiling.md) — baseline metrics, tooling, sampling approaches.
- [Indexing & schema design](modules/indexing-and-schema-design.md) — normalization, partitioning, indexing strategies.
- [Query tuning](modules/query-tuning.md) — execution plans, rewrite patterns, optimizer hints.
- [Operations & observability](modules/operations-and-observability.md) — capacity planning, caching, incident response.
- [Known gaps](modules/known-gaps.md) — targeted research backlog.
- [Research checklist](modules/research-checklist.md) — semi-annual refresh workflow.

## Research status
- Content reflects current PostgreSQL, MySQL, Aurora, and Spanner guidance (2024–2025).
- Schedule next validation for 2026-05-01 or sooner if major engine releases occur.
- Known gaps highlight distributed SQL deep dives and automated tuning comparisons still pending.

Related Skills

optimization-theory-expert

8
from sandraschi/advanced-memory-mcp

Expert in optimization methods covering linear programming, convex optimization, gradient methods, and constrained optimization

meal-prep-efficiency-guru

8
from sandraschi/advanced-memory-mcp

Expert in batch cooking, meal planning, food storage, and efficient kitchen workflows

testing-strategy-guide

8
from sandraschi/advanced-memory-mcp

Test automation expert covering unit tests, integration tests, TDD, and testing best practices

security-best-practices-expert

8
from sandraschi/advanced-memory-mcp

Application security specialist covering OWASP top 10, secure coding, and vulnerability prevention

refactoring-specialist

8
from sandraschi/advanced-memory-mcp

Code refactoring expert for improving code quality, reducing technical debt, and safe transformations

python-debugging-expert

8
from sandraschi/advanced-memory-mcp

Master debugger for Python code with expertise in common errors, performance issues, and debugging tools

performance-tuning-expert

8
from sandraschi/advanced-memory-mcp

Application performance specialist for profiling, optimization, and scaling strategies

microservices-architect

8
from sandraschi/advanced-memory-mcp

Microservices design expert covering service decomposition, communication patterns, and distributed systems

git-workflow-specialist

8
from sandraschi/advanced-memory-mcp

Git expert covering branching strategies, collaboration, conflict resolution, and best practices

docker-and-kubernetes-pro

8
from sandraschi/advanced-memory-mcp

Container orchestration expert for Docker, Kubernetes, and cloud-native deployments

code-review-assistant

8
from sandraschi/advanced-memory-mcp

Expert code reviewer focusing on quality, maintainability, performance, and best practices

cicd-pipeline-builder

8
from sandraschi/advanced-memory-mcp

DevOps expert for building robust CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins