php - prevent mysql MyISAM table crashes -
i've been having problems database repeatedly having crashed tables. luckily it's easy enough fix repairing crashed table, it's hardly practice have watch table crash (or have client tell me) , fix it. crashes tend occur after change has been made database client has access via cms.
i noticed recent time table crashed referenced number - found 57 of 89; noticed in cardinality primary key. putting 2 , 2 googled cardinality , found optimising table in way related , thought optimising table regularly, after update, prevent crashes. true or have managed 73 rather 4?
i can send mysql functions database when client makes changes via php, perspective great.
any other table crashes appreciated.
is not true optimize table prevent table crashing
in fact, u should not run optimize table (table locked) although designed compact free data
try mysqlcheck -c
or mysqlcheck -c
Comments
Post a Comment