Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table keeps corrupting

Status
Not open for further replies.
Aug 18, 2003
111
GB
I have a MyISAM table that receives a stock update every hour from a text file. Every hour i delete the data from the table and load up the new text file. Every few days the table becomes corrupt with the following message:

warning Table is marked as crashed and last repair failed
warning Size of indexfile is: 716800 Should be: 479232
warning Size of datafile is: 910728 Should be: 910668
error Can't read indexpage from filepos: -1
error Corrupt

Does anyone know why this is happening?

Should i not load the data the way i have said?

Thank You for any replies.
 
I would suspect a hardware problem. Bad memory or bad disk sector, maybe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top