Development
Visualizador de Plan de Ejecución SQL
Pega la salida de EXPLAIN / EXPLAIN ANALYZE (PostgreSQL/MySQL/SQLite) para renderizar un árbol de costos, marcar divergencias entre filas estimadas y reales, y sugerir índices
html· Resultado HTMLAbrir herramienta
Inicio rápido
Llama a esta herramienta desde tu código en tres lenguajes.
cURL
curl -X POST 'https://api.elysiatools.com/es/api/tools/sql-explain-plan-visualizer' \
-H 'Content-Type: application/json' \
-d '{"explainOutput":"[\n {\n \"Plan\": {\n \"Node Type\": \"Seq Scan\",\n \"Relation Name\": \"users\",\n \"Alias\": \"users\",\n \"Filter\": \"((email)::text = '\''a@b.com'\'')\",\n \"Plan Rows\": 1000,\n \"Plan Width\": 142,\n \"Total Cost\": 1541.00,\n \"Actual Rows\": 95000,\n \"Actual Loops\": 1,\n \"Actual Startup Time\": 0.1,\n \"Actual Total Time\": 12.4\n }\n }\n]","dialect":"auto","sql":"SELECT * FROM users WHERE lower(email) = '\''[email protected]'\''","maxDepth":20}'