Smartest way to import massive datasets into a Rails application?

Posted by williamjones on Stack Overflow See other posts from Stack Overflow or by williamjones
Published on 2010-03-12T17:23:58Z Indexed on 2010/03/12 18:17 UTC
Read the original article Hit count: 220

I've got multiple massive (multi gigabyte) datasets I need to import into a Rails app. The datasets are currently each in their own database on my development machine, and I need to read from them and create rows in tables in my Rails database based on the information they contain. The tables in my Rails database will not be exactly the same as the tables in the source databases.

What's the smartest way to go about this?

I was thinking migrations, but I'm not exactly sure how to connect the migration to the databases, and even if that is possible, is that going to be ridiculously slow?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about migration