How to Export SQL EXPLAIN as JSON

One way of finding slow SQL queries is to use the built-in EXPLAIN function, but it's default output is not easy to read. Here's how to export it as a more readable JSON output.

March 16, 2020by