[openstreetmap/openstreetmap-website] Use activerecord-import for bulk importing tracepoint records (#2131)

Tom Hughes notifications at github.com
Wed Feb 6 18:49:26 UTC 2019

As far as memory goes, the largest trace we have seems to have about fifteen million points, which raises a few issues - both memory as you say but also the size of the SQL if they are all inserted in one go!

Maybe we should do them in batches of a thousand or something?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190206/a377a139/attachment.html>

More information about the rails-dev mailing list