Bug #19260 | Incorrect key file for table and marked as crashed | ||
---|---|---|---|
Submitted: | 21 Apr 2006 14:36 | Modified: | 11 Jun 2006 8:35 |
Reporter: | Surinder Singh | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.20-nt | OS: | Windows (Windows 2003 Server) |
Assigned to: | CPU Architecture: | Any |
[21 Apr 2006 14:36]
Surinder Singh
[22 Apr 2006 13:48]
Valeriy Kravchuk
Thank you for a problem report. Have you created that table in 5.0.18 or it was created in some older version (4.x.y) and then binaries upgrade was performed? Anyway, we need a set of steps to demonstrate the problem each and every time to be able to verify and fix it.
[24 Apr 2006 11:22]
Surinder Singh
Thanks for your reply. This error occurred again on the night of 21st April, the day this bug report was submitted. This was after I had upgraded to MySQL version 5.0.20. The tables were not binary copies from 4.x.y. They were created using an export/import facility, which uses CREATE and INSERT statements. I've now created a fresh "cm_payment" table and will see who it goes. I will try to create this problem on a different server, by running the batch process continuously.
[24 Apr 2006 14:02]
Valeriy Kravchuk
Thank you for the additional information. I hope, your tests will give some more ideas on how to repeat. Can it be a hardware issue? Please, send the SHOW TABLE STATUS results for the table.
[25 Apr 2006 9:51]
Surinder Singh
The problem occurred again last night. That makes it 3 days times in a row. The server has Symantec AntiVirus running with AutoProtect enabled. Could antivirus software cause this kind of problem? I will disable it and see how it goes. Here is SHOW TABLE STATUS for this table, after doing a repair: Name = cm_payment Engine = MyISAM Version = 10 Row_format = Dynamic Rows = 10822 Avg_row_length = 40 Data_length = 434476 Max_data_length = 281474976710655 Index_length = 221184 Data_free = 0 Auto_increment = [NULL] Create_time = 2006-04-24 11:26:55 Update_time = 2006-04-25 09:47:45 Check_time = 2006-04-25 09:47:45 Collation = latin1_swedish_ci Checksum = [NULL] Create_options = Comment =
[25 Apr 2006 14:20]
Valeriy Kravchuk
> The server has Symantec AntiVirus running with AutoProtect enabled. Please, try to disable it (or at least exclude all mysql directories and binaries from any checks) and run your server for some time. Inform about the results. > Could antivirus software cause this kind of problem? It is possible, I think.
[25 May 2006 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[2 Jun 2006 11:18]
Surinder Singh
Excluding MySQL database files from the anti-virus check didn't make any difference. But we solved it my rescheduling the backup. The backup process coincided with the batch process, and it might have locked some files used by MySQL. We changed the time the backup occurs to 15 minutes after the batch process finishes, and we haven't had a table crash for nearly a month. So this issue has been resolved. Thanks for your help.
[11 Jun 2006 8:35]
Valeriy Kravchuk
Closed as not a bug in MySQL code.