Meituan-Dianping/SQLAdvisor
输入SQL,输出索引优化建议 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3472
- days_rel: n/a
- days_push: 1060
- n_releases_24m: 0
Adoption not part of the score
5616 stars · 1235 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SQLAdvisor is a command-line tool developed by Meituan-Dianping's DBA team that analyzes SQL statements and outputs index optimization suggestions. It uses MySQL's native lexical parsing to examine WHERE conditions, aggregation clauses, and multi-table JOIN relationships.
Use cases
- get index recommendations for a slow SQL query
- analyze which indexes to add for a MySQL query
- optimize WHERE clause and JOIN conditions with proper indexes
- review SQL indexing advice before deploying a query
- help DBAs tune database indexes automatically
When to choose
- you maintain MySQL databases and need automated index advice
- you want a lightweight CLI tool to analyze SQL statements offline
- you're a DBA auditing queries for missing or suboptimal indexes
When to avoid
- you use databases other than MySQL
- you need a fully maintained tool with active development and recent features
- you want an automated always-on query optimizer rather than an on-demand analyzer
Facets
cli-tool · maturity maintenance
database developer-tools parser databases developer-tools performance cli cpp mysql index-optimization sql-analysis dba-tools query-optimization linux
1 source
- readme: https://github.com/Meituan-Dianping/SQLAdvisor · fetched 2026-08-28 · 8aac1e81b2cd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Meituan-Dianping/SQLAdvisor | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="Meituan-Dianping/SQLAdvisor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem