From the error message I can quickly tell the following:
- The database is elite_prod
histry are all MyISAM tables
Because you are using the MyISAM Storage Engine, you have two major handicaps:
Changes to MyISAM are cached differently (regardless of the OS)
- The index pages for MyISAM tables are cached in the MyISAM Key Buffer (sized by key_buffer_size)
- Index changes are flushed to the
.MYI by the MyISAM Storage Engine
- Data are never cached as there is no engine-centric buffering for data
- Data changes are flushed to the
.MYD by the OS (OUCH !!!!)
- I discussed this before
Microsoft Windows is terrible at caching disk changes. Even running
FLUSH TABLES; in MySQL in a Windows environment is not a panacea. IMHO anyone using PostgreSQL or Oracle should be able to voice this same complaint about Windows. I will leave it to the SQL Server gurus to answer how they find Windows caching in terms of SQL Server.
MyISAM maintains a count of open file handles against the tables.
If the mysqld process or the Windows Server crashes, every MyISAM that had open file handles will retain the open file handle count internally.
When you access a MyISAM table for the first time since mysqld was started, it should have a zero file handle. Otherwise, you get that error message
marked as crashed and should be repaired. This explains the tables periodically coming up as crashed crashed.
See my post MyISAM table keeps crashing. What are my options?
You could switch those tables to InnoDB and let the InnoDB Buffer cache everything, or at least better caching. I would still worry about Windows in this respect because the option innodb_flush_method is disabled in the Windows version of MySQL. I say disabled because the MySQL Documentation says:
Controls the system calls used to flush data to the InnoDB data files and log files, which can influence I/O throughput. This variable is relevant only for Unix and Linux systems. On Windows systems, the flush method is always async_unbuffered and cannot be changed.
If you want leave the tables as MyISAM, please go back to Ubuntu because it is a bit more diligent when it comes to flushing disk changes, especially when it has enough RAM. Even a terabyte of RAM will not do a thing for MyISAM tables in Windows.