Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Preetam/explain-analyzer
MySQL JSON Explain Analyzer
https://github.com/Preetam/explain-analyzer
Last synced: 10 days ago
JSON representation
MySQL JSON Explain Analyzer
- Host: GitHub
- URL: https://github.com/Preetam/explain-analyzer
- Owner: Preetam
- License: bsd-2-clause
- Created: 2017-10-20T02:17:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T06:42:51.000Z (over 1 year ago)
- Last Synced: 2024-10-27T11:16:23.083Z (12 days ago)
- Language: JavaScript
- Homepage: https://preetam.github.io/explain-analyzer/
- Size: 482 KB
- Stars: 92
- Watchers: 5
- Forks: 13
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- favorite-link - MySQL JSON Explain Analyzer。
- awesome-mysql - MySQL Explain Analyzer - A web-based analyzer of `EXPLAIN FORMAT=JSON` output, providing comments, scalability analysis and permalinks for saved samples. (Analysis)
README
# explain-analyzer [![CircleCI](https://circleci.com/gh/Preetam/explain-analyzer.svg?style=svg)](https://circleci.com/gh/Preetam/explain-analyzer)
This is a web-based MySQL explain analyzer.
You can use it here: https://preetam.github.io/explain-analyzer/#!/explain/
Try it with
```json
{
"query_block": {
"select_id": 1,
"cost_info": { "query_cost": "0.45" },
"table": {
"table_name": "test",
"access_type": "ALL",
"rows_examined_per_scan": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.20",
"prefix_cost": "0.45",
"data_read_per_join": "16"
},
"used_columns": ["id"]
}
}
}
```### Features
- Table representation of MySQL JSON explain output
- Comments about explain interpretation
- Experimental scalability analysis
- Explain saving and permalinks### Screenshot
![screenshot](https://user-images.githubusercontent.com/379404/35567762-2fd826b2-0594-11e8-8c8b-cb8951924459.png)
### License
BSD 2-Clause (see [LICENSE](LICENSE))