On Apr 5, 2013 9:18 PM, "haxuan lac" <li...@ruby-forum.com> wrote:
>
> I tried create 10000 pseudo by Faker but it's very slow.
> I fake 1000 record about 20 minutes.
> And 10000 record take me 2-3 hours.
> please give me some advice about this time I had done with fake pseudo
> data(1000 and 10000 pseudo).
> Thanks..............

anytime you use the ORM to insert 10_000 records it's going to be slow as
it does them one at a time. i suggest gong the direct sql route in this
case.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to