
Query Optimization (Grade A)安全性经过验证的开发技能,为Claude AI。评级A。识别并解决慢数据库查询的工作流。使用时:慢速查询时、或用户要求优化数据库性能时。
概览
主要功能
- 利用EXPLAIN ANALYZE进行查询分析
- 识别大表上的序列扫描、缺失索引和不必要的连接
- 优化技术,如添加索引、重写子查询和去除化存储
- 基准测试和测试优化的查询
价格
- 模型
- Free
- 分类
- 育言活动
- 评分
- 暂无评价
使用场景
优化慢速查询
使用Query Optimization (Grade A)时:数据库查询慢,影响应用程序性能时。工作流助于确定慢速查询的根原因,并提供优化它们的结构化方法。
改善数据库性能
使用Query Optimization (Grade A)时:用户要求优化数据库性能。工作流帮助识别和修复慢速查询,减少数据库的总体负载并改善性能。
优点 & 缺点
优点
- 改善数据库查询性能
- 减少查询执行时间
- 提供一个结构化的优化查询的方法
缺点
- 需要数据库查询分析和优化技术的知识
- 可能需要对现有代码和数据库架构的更改
评测
登录以留下评测。
暂无评测。来当第一个吧!
问答
How does the skill benchmark performance after optimization?
After applying changes, it runs EXPLAIN ANALYZE on the modified query, comparing execution times and plan details to the original to verify improvement.
Asked by Stella Papadopoulos · Dec 4, 2025
What are the main limitations of using this tool?
The skill assumes the user has knowledge of database query analysis and can make schema changes. It requires access to run EXPLAIN ANALYZE and may need code changes to implement optimizations.
Asked by Yuki Kobayashi · Oct 24, 2025
Which optimization techniques are supported by this skill?
It can add missing or partial indexes, rewrite subqueries as JOINs, filter data with WHERE clauses, replace OFFSET with cursor-based pagination, and even denormalize tables when read performance is critical.
Asked by Kenji Watanabe · Sep 30, 2025
What steps does the Query Optimization skill follow to improve slow queries?
The workflow starts with identifying the slow query, measuring its execution time and frequency. Then it runs EXPLAIN ANALYZE to analyze the query plan, spotting sequential scans, missing indexes, and unnecessary joins. Finally, it applies optimizations such as adding indexes, rewriting subqueries, or using pagination, and benchmarks the result with EXPLAIN ANALYZE again.
Asked by Grzegorz Lewandowski · Sep 8, 2025
提问
育言活动 的替代品
Manage Headers (Grade A)
育言活动
专为 Claude AI 设计的安全测试开发技巧, Grade A。检查并配置 Power Pages 站点向浏览器发送的安全 headers — 内容安全策略,框架和点击劫持保护
Using Git Worktrees (Grade A)
育言活动
安全试验的数据-AI技能 - Claude AI。A级。即将开始需要与当前工作环境隔离的功能工作,或执行实施计划前-创建隔离的git工作tree
Ga4 Bigquery Schema (Grade A)
育言活动
为Claude AI提供了经过安全测试的数据ai技能。 Grade A. GA4 BigQuery导出模式参考 - 完整字段参考、嵌套结构、查询模式和性能提示
Meta Capi (Grade A)
育言活动
安全测试的数据-AI技能,专为Claude AI打造。Grade A. Meta Conversions API (CAPI) 设置指南-架构、事件类型、客户信息哈希、去重复、实现示例、AEM
Callees (Grade A)
育言活动
经过安全测试的 Claude AI 开发技能。Grade A。列出函数/方法调用的直接调用图
Test Module Name (Grade A)
育言活动
安全测试数据-ai技能,Grade A. 名为Haskell测试模块,以同一命名空间中的测试模块命名,并在其后添加 Spec 辅助。 在编写或审阅Haskell测试模块时使用。
Board Of Directors (Grade A)
育言活动
经安全检测的数据 AI 技能,适用于 Claude AI。A级。模拟五位专家董事会就重大决策进行审议。用于评估计划、架构选择、功能设计或任何决策。
Advpl Mvc Avancado (Grade A)
育言活动
安全测试的开发技能,适用于 Claude AI。Grade A。通过 PE(入口点)实现高级 MVC —— 在标准 MVC 界面(CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)中添加自定义网格。




