brianmario/mysql2 — Issue #234: Memory problem during insertion
Author: erdemgezer
Created: 2012-01-07 16:48:48+00:00
State: open

I'm trying insert 30million records to an empty mysql database by a ruby script using mysql2 gem on 64bit ubuntu server.

However after inserting 2million records, free memory of the server starts decreasing extremely fast and database stops responding.
Can it be a bug or can anyone suggests any mysql tuning tips about the problem?