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 [2024/05/08 20:22]
84.247.135.134 old revision restored (2023/02/26 14:58)
mysql_mariadb_galera:repair_and_optimization [2024/05/20 04:37] (current)
18.218.157.107 old revision restored (2024/05/08 02:12)
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.1715192551.txt.gz · Last modified: 2024/05/08 20:22 by 84.247.135.134