Engine-independent table statistics

You are viewing an old version of this article. View the current version here.

This is a stub with info about engine-independent table statistics.

The statistics is stored in three tables in mysql database:

+--------------------------+
| Tables_in_mysql (%stat%) |
+--------------------------+
| column_stat              |
| index_stat               |
| table_stat               |
+--------------------------+

Use/collection of statistics is controlled by global/session variable @@use_stat_tables variable. Possible values are

  • 'never'
  • 'preferably'
  • 'complimentary'

Comments

Comments loading...
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.