Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The relatively new innodb_stats_traditional variable allows the number of pages used while calculating statistics to scale with table size to give more accurate statistics. However, it only works with transient statistics. It would be nice to have that variable also affect persistent statistics or create a new variable to use the same behavior with persistent statistics.
The algorithm for number of pages scanned is significantly different https://github.com/MariaDB/server/blob/10.2/storage/innobase/dict/dict0stats.cc#L2193 and appears be increased with the number of levels. It doesn't seem to be critical to log scale it. Have you observed a problem?
Alternately with
MDEV-7901Has analyze table with low impact now so perhaps time for MDEV-7196 Analyze table to do full table scan?