User Tools

Site Tools


mysql_mariadb_galera:repair_and_optimization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mysql_mariadb_galera:repair_and_optimization [2021/05/09 08:07]
85.10.207.195 old revision restored (2021/02/16 02:02)
mysql_mariadb_galera:repair_and_optimization [2024/04/19 08:26] (current)
135.181.75.58 old revision restored (2022/05/28 05:51)
Line 1: Line 1:
 +====== Finding Problems ======
 +
 +The easiest way I have found to find problem tables is by using the following command
 +
 +<code sql>mysqlcheck -u root -p --check --all-databases |grep -vE ' OK'</code>
 +
 +This will check all tables and the "grep" will get rid of all tables that are OK from the output. You are left with only errors.
 +
 ====== Repair and Optimization ====== ====== Repair and Optimization ======
  
mysql_mariadb_galera/repair_and_optimization.1620540442.txt.gz ยท Last modified: 2021/05/09 08:07 by 85.10.207.195