Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.4, 11.8
-
None
-
None
Description
The sys views
-innodb_buffer_stats_by_schema
-innodb_buffer_stats_by_table
-x_innodb_buffer_stats_by_schema
-x_innodb_buffer_stats_by_table
uses default value of 16384, if the pages are not compressed. This can be problematic if the innodb page size is configured as something different from the default value. Dynamic fetching of actual page size could be a better way to have accurate value.
format_bytes(SUM(IF(ibp.compressed_size = 0, 16384, compressed_size))) AS allocated, |
Attachments
Issue Links
- relates to
-
MDEV-37083 Inconsistency between sys.innodb_buffer_stats_by_table and information_schema.innodb_buffer_page
-
- Closed
-