Greg Donald wrote: > On Wed, Mar 4, 2009 at 10:56 AM, zdennis <[email protected]> wrote: >> If you know of a way to mold sqlite for efficient importing of data I >> am all ears. > > Wrap your inserts in a transaction. > > > -- > Greg Donald > http://destiney.com/
Reference for future readers -- a transaction does the trick. An order of magnitude faster. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

