Sql Optimization Patterns
技能 已验证 活跃Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
To empower users to dramatically improve database performance by mastering SQL query optimization, indexing strategies, and EXPLAIN analysis, leading to faster applications and reduced costs.
功能
- Master SQL query optimization techniques
- Implement effective indexing strategies
- Analyze EXPLAIN query plans for PostgreSQL
- Optimize common query patterns (N+1, pagination, aggregation)
- Learn advanced techniques like materialized views and partitioning
使用场景
- Debugging slow-running SQL queries
- Designing performant database schemas
- Optimizing application response times
- Reducing database load and costs
非目标
- Writing specific SQL queries for a given database
- Providing database administration services
- Tuning non-SQL database performance
Documentation
- info:READMEThe README exists and is comprehensive, but its primary focus is on the overall plugin ecosystem rather than this specific SQL optimization skill. The SKILL.md file serves as the primary documentation for this skill.
安装
请先添加 Marketplace
/plugin marketplace add wshobson/agents/plugin install developer-essentials@claude-code-workflows质量评分
已验证类似扩展
Sql Optimization
100Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
MongoDB Connection Optimizer
100为任何支持的驱动程序语言优化 MongoDB 客户端连接配置(池、超时、模式)。在处理/更新/审查实例化或配置 MongoDB 客户端(例如,调用 `connect()` 时)、配置连接池、对连接错误(ECONNREFUSED、超时、池耗尽)进行故障排除、优化与连接相关的性能问题时,请使用此技能。这包括构建具有 MongoDB 的无服务器函数、创建使用 MongoDB 的 API 端点、优化高流量 MongoDB 应用程序、创建长期运行任务和并发性,或调试与连接相关的失败等场景。
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices
DBHub Database Query Guide
100DBHub MCP 服务器查询数据库指南。每当您需要通过 DBHub 的 MCP 工具(search_objects、execute_sql)来探索数据库模式、检查表或运行 SQL 查询时,请使用此技能。在任何数据库查询任务、模式探索、数据检索或通过 MCP 执行 SQL 时激活,即使用户只说“检查数据库”或“为我查找一些数据”。此技能可确保您遵循正确的先探索后查询的工作流程,而不是猜测表结构。
Performance Analysis
100Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms