optimize_sql
Analyzes SQL queries to identify performance bottlenecks and provides optimization recommendations based on execution plans, table structures, and indexes to improve database query performance.
Instructions
专业的SQL性能优化工具,基于MySQL执行计划、表结构信息、表数据量、表索引提供专家级优化建议。该工具能够分析SQL语句的执行效率,识别性能瓶颈,并提供具体的优化方案,包括索引优化、查询重写建议等,帮助提升数据库查询性能。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要优化的sql |