MySQL 8.3 introduced the explain_json_format_version
system variable that allows us to specify which JSON output format should be used when we use the EXPLAIN
statement with FORMAT=JSON
.
It also applies when we omit the FORMAT
argument and the explain_format
system variable is set to JSON
(because explain_format
specifies the default format to be used by EXPLAIN
).