Analyzing Database Indexes
БесплатноБез исполняемых скриптовНе проверенThis skill uses the database-index-advisor plugin to analyze query patterns and recommend optimal database indexes. It identifies missing indexes to improve…
от BbgnsurfTech★ 30 звёзд на GitHubОб этом скилле
Overview
This skill empowers Claude to analyze database workloads, identify suboptimal or missing indexes, and suggest improvements to enhance database performance. It leverages the database-index-advisor plugin to provide concrete recommendations for indexing strategies, including identifying unused indexes for removal.
How It Works
- Initiate Analysis: The skill activates the database-index-advisor plugin.
- Workload Analysis: The plugin analyzes the database's query workload and existing index configurations.
- Recommendation Generation: The plugin identifies missing index opportunities and unused indexes, generating a report with suggested actions.
When to Use This Skill
This skill activates when you need to:
- Optimize slow-running database queries.
- Identify potential performance bottlenecks related to missing indexes.
- Reclaim storage space by identifying and removing unused indexes.
Examples
Example 1: Optimizing a Slow Query
User request: "My orders table query is running slowly. Can you help optimize it?"
The skill will:
- Activate the database-index-advisor plugin.
- Analyze the query patterns against the orders table.
- Recommend creating a specific index on the orders table to improve query performance.
Example 2: Identifying Unused Indexes
User request: "Can you help me identify and remove any unused indexes in my database?"
The skill will:
- Activate the database-index-advisor plugin.
- Analyze the existing indexes and their usage patterns.
- Generate a report listing unused indexes that can be safely removed.
Best Practices
- Database Connection: Ensure the database connection is properly configured for the plugin to access the database.
- Permissions: Grant the plugin the necessary permissions to analyze query patterns and retrieve index information.
- Impact Assessment: Review the recommended index changes and assess their potential impact on other queries before applying them.
Integration
This skill can be used in conjunction with other database management plugins to automate index creation and removal based on the advisor's recommendations. It also integrates with monitoring tools to track the performance impact of the applied index changes.
Установить Analyzing Database Indexes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Analyzing Database Indexes?
This skill uses the database-index-advisor plugin to analyze query patterns and recommend optimal database indexes. It identifies missing indexes to improve query performance and unused indexes that can be removed to save storage and improve write performance. Use this skill when the user asks to "analyze database indexes", "optimize slow queries", "find missing indexes", "remove unused indexes", or requests help with "database index optimization". The plugin analyzes database workloads, detects potential indexing issues, and provides actionable recommendations for indexing strategies.
Как установить скилл Analyzing Database Indexes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Analyzing Database Indexes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic