I have a database most tables are in MyISAM and have checked MySQLTuner and tuning-primer to optimize MySQL server variables such as key_buffer_size, max_connections, open_tables limit,etc. Reads are 80% and writes 20%.
I have been having problems lately that sometimes data is not inserted. I have checked several times if it was a problem on how it inserts the data, such as weird characters, but not a problem. It seems somehow the database is so busy that inserts and updates fail, there are about 4 tables that are heavy read. But still, doing inserts on tables that rarely have reads, it is not possible to insert. I understand MyISAM does table locks but I don't see how it can affect other tables to fail to insert as well if those are not being read.
Do you have any suggestions what to do?
The main reason I use MyISAM is that it's a lot faster than the selects I do with InnoDB. The queries always use index and I run explain extended
to make sure all is correct and that response times are quite low to avoid server load and piling up connections.
Appreciate your comments.