<p></p>
<p dir="auto">Ok, thanks for the explanation, especially regarding the compressed storage format of non-slim imported middle data.</p>
<p dir="auto">Funny thing is, and this is of course coincidence, but with my current hardware configuration, and after the commit <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1813828526" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/2007" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/osm2pgsql/pull/2007/hovercard" href="https://github.com/openstreetmap/osm2pgsql/pull/2007">#2007</a> that seems to have made the import of relations 25% faster in <strong>--slim</strong> mode, and with Planet's current ratio of ways:relations of approximately <strong>100:1</strong>, I now end up with nearly equivalent import times for slim + flat-nodes on the one hand, and non-slim on the other.</p>
<p dir="auto">Both are now approximately 8 hours for a full Planet import using a custom openstreetmap-carto derived style.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/discussions/2014#discussioncomment-6533404">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353SPQ6BOTXRXGYB3M43XR3KLBANCNFSM6AAAAAA2WCXMYM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353X2RGVR7X55OZEOSADXR3KLBA5CNFSM6AAAAAA2WCXMYOWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAMOYRY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/repo-discussions/2014/comments/6533404</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/discussions/2014#discussioncomment-6533404",
"url": "https://github.com/openstreetmap/osm2pgsql/discussions/2014#discussioncomment-6533404",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>