[Tile-serving] [osm2pgsql-dev/osm2pgsql] parallelize the COPY phase (Discussion #2426)

Jochen Topf notifications at github.com
Thu Oct 30 08:35:17 UTC 2025


@tvondra When COPYing into the same table from multiple threads, do you see a possible issue with data ordering? What I mean is that in one case (the middle tables in slim mode), those tables will be written in the order of their primary key id. I assume this to be a good thing, at least building the index will be faster I would assume. If we write from multile threads, the table will not be as ordered. Do you forsee any issues there? (I would expect this to be a large issue, with changes afterwards the table will get unsorted anyway, but I'd just though I check.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2426#discussioncomment-14823960
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2426/comments/14823960 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20251030/f7073503/attachment-0001.htm>


More information about the Tile-serving mailing list