V
V
Vsevolod2016-03-14 00:15:41
MySQL
Vsevolod, 2016-03-14 00:15:41

Why does the MySQL (MyISAM) index break, and how to avoid it?

I noticed that one large composite index in MySQL (MyISAM table) does not work for me. If you display SHOW INDEX, you can see that the number of Cardinality (number of unique values) on all index fields except one is reset to NULL. I did an OPTIMIZE TABLE, the index was fixed, but broke again within a day.
Can anyone suggest what is causing this and how to avoid it?
PS There is no way to switch to InnoDB.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-03-14
@dimonchik2013

dev.mysql.com/doc/refman/5.7/en/myisam-table-probl...
usually with large tables, and even write-intensive ones

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question