[MDEV-6388] ANALYZE $stmt output in the slow query log Created: 2014-06-25 Updated: 2014-10-17 Resolved: 2014-10-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | 10.1.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | analyze-stmt | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
User interface question:
Should we keep the option name just print tabular ANALYZE output instead of tabular EXPLAIN output?
? What if the user specifies both explain and analyze? Should we print both or just print analyze (since it is a superset of explain output)? Is it acceptable to always print analyze output? There is the same question for formatting the log. 10.0 shows EXPLAIN outputs in slow query log like this:
Should we keep "explain:" or introduce "analyze:" ? |
| Comments |
| Comment by Sergei Petrunia [ 2014-10-17 ] |
|
Pushed a patch that makes log_slow_verbosity always produce ANALYZE output (that is, EXPLAIN output with extra columns). |