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

Next revision
Previous revision
mysql_mariadb_galera:repair_and_optimization [2020/02/24 11:16]
127.0.0.1 external edit
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.1582539361.txt.gz ยท Last modified: 2020/02/24 11:16 by 127.0.0.1