EXPLAIN FORMAT=JSON
Get comprehensive query plans in JSON format. This output provides detailed optimizer data, including costs and attached conditions, not found in the tabular view.
Synopsis
EXPLAIN FORMAT=JSON SELECT * FROM t1 WHERE col1=1\G*************************** 1. row ***************************
EXPLAIN: {
"query_block": {
"select_id": 1,
"table": {
"table_name": "t1",
"access_type": "ALL",
"rows": 1000,
"filtered": 100,
"attached_condition": "(t1.col1 = 1)"
}
}
}Output is different from MySQL
Output Format
See Also
Last updated
Was this helpful?

