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 02:12]
94.23.207.193 old revision restored (2023/03/08 12:28)
mysql_mariadb_galera:repair_and_optimization [2024/05/20 01:20] (current)
45.90.97.238 old revision restored (2024/05/14 22:50)
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.1715127159.txt.gz · Last modified: 2024/05/08 02:12 by 94.23.207.193