Running mysqlimport on a MyISAM table for hours, Data_length stays at 0

Posted by Yuriy on Server Fault See other posts from Server Fault or by Yuriy
Published on 2012-05-30T15:23:43Z Indexed on 2012/05/30 16:45 UTC
Read the original article Hit count: 420

Filed under:
|
|

I'm trying to import a fairly large file (5Gb, ~130M records) into a MyISAM table (mysql 5.1.61). It's been running for more than 5 hours now with no errors displayed, and I can see "LOAD DATA INFILE ..." in the process list.

However, when I run SHOW TABLE STATUS, "Data_length" for the table being updated is still 0. I wonder if that's normal - if not, I should probably abort the import to see what's wrong.

"Update_time" displayed by SHOW TABLE STATUS is up-to-date and changes quickly.

Is it normal for "Data_length" to remain zero while mysqlimport is successfully running?

© Server Fault or respective owner

Related posts about mysql

Related posts about import