Reparación de una gran tabla mysql con myisamchk sin matar el servidor
Frecuentes
Visto 4,535 veces
1
Having a mysql table which is 50G and created with myisam index. I would like to repair it (it went corrupt) and I am attempting a myisamchk on it. THe problem is that it is taking too long and the Load Average on the server goes up (close to 30 or more). I am actually using:
myisamchk --silent --force --fast --update-state \
> --key_buffer_size=512M --sort_buffer_size=512M \
> --read_buffer_size=4M --write_buffer_size=4M \
> tablename.MYI
any suggestions on the myisamchk arguments that will do a slow repair without overloading the processor?
0 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas mysql database or haz tu propia pregunta.
Try adding --verbose to check status and progress of the repairing. Also, time depends largely on the amount and complexity of indexes (composite keys) not the table size itself. Check this parameter as well dev.mysql.com/doc/refman/5.0/en/… . - georgepsarakis
thx setsuna. I will add verbose for some info - Al-Punk
Solved following: stackoverflow.com/questions/4297592/… - Al-Punk