Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8049131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:42:03+00:00 2026-06-05T06:42:03+00:00

I am importing a large csv file into mysql(30 million rows) and I had

  • 0

I am importing a large csv file into mysql(30 million rows) and I had another terminal open to show the process list. I used to be able to see the row count on the process list but now, whenever I enter the command “show process list” it hangs. I had 20 million records imported. Do I have to start all over again?
iostat:
[user@gggggg ~]$ iostat
Linux 2.6.18-308.4.1.el5

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           5.02    0.00    0.16    0.87    0.00   93.95

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               2.15         5.31        55.58    8644514   90425752
sda1              0.00         0.00         0.00       2138       5592
sda2              2.15         5.31        55.57    8640178   90419984
sda3              0.00         0.00         0.00       1582        176


top - 14:18:55 up 18 days, 20:00,  2 users,  load average: 2.02, 2.09, 2.06
Tasks: 106 total,   3 running, 103 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.0%sy,  0.0%ni, 49.9%id, 49.8%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   8174532k total,  7656780k used,   517752k free,   105904k buffers
Swap:  4257216k total,       88k used,  4257128k free,  6958020k cached
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:42:04+00:00Added an answer on June 5, 2026 at 6:42 am

    First, check the filesize from the OS

    If the table is called mydb.mytable and it is MyISAM, do this:

    cd /var/lib/mysql/mydb
    watch ls -l mytable.*
    

    If the filesize keeps growing, you are fine

    Don’t forget to check for diskspace

    df -h
    

    If you ran out of diskspace while loading a MyISAM table, mysqld is just sitting there. Why? According to MySQL 5.0 Certification Study Guide Page 408,409 Section 29.2 bulletpoint 11 says:

    If you run out of disk space while adding rows to a MyISAM table, no
    error occurs. The server suspends the operation until space becomes
    available, and then completes the operation.

    Therefore, if the data partition is out of diskspace, you must free up some space so mysqld can conitnue the LOAD DATA INFILE.

    If everything seems frozen, you may have to kill mysqld as follows:

    IDTOKILL=`ps -ef | grep mysqld_safe | grep -v grep | awk '{print $2}'`
    kill -9 ${IDTOFKILL}
    IDTOKILL=`ps -ef | grep mysqld | grep -v grep | awk '{print $2}'`
    kill -9 ${IDTOFKILL}
    

    Then, check your diskspace

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having an issue with importing a large(60MB) CSV file in MYSQL DB.
I am trying to import a large csv file into MySQL. It's about 1.4
I am importing a very large file (2-3 GB of text) into a collection,
When importing a bunch of large MySQL tables into HDFS using Sqoop, I forgot
In a C# program I am importing a large text file (300mb) into a
I have a large file, with 1.8 million rows of data, that I need
Bulkloader raises the following error when importing a CSV file with large cells: [ERROR
I have a 1GB sql text file I'm importing into MySQL. I've used a
I'm importing some data from a CSV into Mathematica. The first few lines of
I have a large database dump.sql file I am importing from the command line

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.