Status: Closed (View Workflow)
Fix Version/s: None
SHOW EXPLAIN allows to produce EXPLAIN during the query execution. We are now able to save it in the slow query log.
The user interface is as follows:
"explain" is a new flag in log-slow-verbosity argument:
The output is printed into slow query log like this: