·database-indexing-strategy
</>

database-indexing-strategy

aj-geddes/useful-ai-prompts

设计和实施数据库索引策略。在 PostgreSQL 和 MySQL 中创建索引、选择索引类型或优化索引性能时使用。

69安装·0热度·@aj-geddes

安装

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill database-indexing-strategy

SKILL.md

Design comprehensive indexing strategies to improve query performance, reduce lock contention, and maintain data integrity. Covers index types, design patterns, and maintenance procedures.

❌ Don't create too many indexes (write performance impact) ❌ Don't create indexes without testing first ❌ Don't ignore index size and storage impact ❌ Don't forget to update table statistics after bulk operations ❌ Don't create duplicate indexes

✅ DO create indexes on foreign keys ✅ DO test index impact on INSERT/UPDATE performance ✅ DO use covering indexes for common queries ✅ DO drop unused indexes regularly ✅ DO monitor index fragmentation

设计和实施数据库索引策略。在 PostgreSQL 和 MySQL 中创建索引、选择索引类型或优化索引性能时使用。 来源:aj-geddes/useful-ai-prompts。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill database-indexing-strategy
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 database-indexing-strategy?

设计和实施数据库索引策略。在 PostgreSQL 和 MySQL 中创建索引、选择索引类型或优化索引性能时使用。 来源:aj-geddes/useful-ai-prompts。

如何安装 database-indexing-strategy?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill database-indexing-strategy 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/aj-geddes/useful-ai-prompts