Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
MDEV-31558 adds InnoDB engine stats into the slow query log.
It would be nice to include it into ANALYZE FORMAT=JSON output, too.
User interface: Extra info is printed in ANALYZE FORMAT=JSON output.
It is printed on per-table basis. table.r_engine_stats will is an object with member counters.
In current patch, it looks like this:
"table": { |
"table_name": "t1", |
...
|
"r_engine_stats": { |
"pages_accessed": integer, |
"pages_updated" : integer, |
"pages_read_count" : integer, |
"pages_read_time_ms" : double_val, |
"old_rows_read" : integer, |
},
|
...
|
Only non-zero members are printed.
mysql-test/include/analyze-format.inc is adjusted to mask the entire contents of r_engine_stats.
Attachments
Issue Links
- causes
-
MDEV-31764 ASAN use-after-poison in trace_engine_stats upon ANALYZE FORMAT=JSON
- Closed
- relates to
-
MDEV-32286 ANALYZE displays a huge number of InnoDB secondary index pages_accessed
- Confirmed
-
MDEV-31558 Add InnoDB engine information to the slow query log
- Closed
-
MDEV-34190 ANALYZE: r_engine_stats shows unrealistically low pages_read_count
- Closed