mysql.index_stats table contains the following fields:
|NO||PRI||Database the table is in.|
|NO||PRI||Name of the index|
|NO||PRI||Index prefix length. 1 for the first keypart, 2 for the first two, and so on. InnoDB's extended keys are supported.|
|YES||Average number of records one will find for given values of (keypart1, keypart2, ..), provided the values will be found in the table.|
It is possible to manually update the table. See Manual updates to statistics tables for details.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.