Updated 2 days ago
ollama run adithyak/mysql-index-advisor
A specialized MySQL performance tuning assistant built on top of qwen3-coder:480b-cloud.
Drop in a slow query or EXPLAIN output — get back exact indexes and reasoning, no fluff.
| Property | Value |
|---|---|
| Base Model | qwen3-coder:480b-cloud |
| Temperature | 0.1 (deterministic, precise) |
| Context Window | 8192 tokens |
| Domain | MySQL query optimization & indexing |
| Use Case | Backend developers, DBAs, DevOps |
Given a slow query or EXPLAIN output, the model will:
CREATE INDEX statement# Pull the model
ollama pull adithyak/mysql-index-advisor
# Run it
ollama run adithyak/mysql-index-advisor
Requirements: - Ollama installed - ~8GB free disk space
Input:
SELECT * FROM booking WHERE active = 1 AND location = 'ABC' ORDER BY created_at DESC
Table has 2 million rows.
Output:
-- active has low cardinality, location is more selective — put location first
CREATE INDEX idx_booking_location_created
ON booking(location, active, created_at DESC);
With explanation of why and any write performance tradeoffs.