mariadb-check & mysqlcheck

Client used in maintenance tasks for tables. The client can be used to execute the CHECK TABLE, REPAIR TABLE, ANALYZE TABLE, and OPTIMIZE TABLE statements.

Not all operations performed by the mariadb-check command are supported by all storage engines.

Note

The mariadb-check command can also be run using the legacy command from 10.3 and 10.2: mysqlcheck.