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 21:29]
5.9.156.30 old revision restored (2021/05/05 05:19)
mysql_mariadb_galera:repair_and_optimization [2024/04/25 10:40] (current)
114.119.152.147 old revision restored (2024/02/02 18:53)
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.1620588545.txt.gz ยท Last modified: 2021/05/09 21:29 by 5.9.156.30