<p></p>
<blockquote>
<p>The flex backend doesn't care about the slim tables.</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/joto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joto">@joto</a> . Could you also elaborate a bit what you mean with <em>"flex backend doesn't care about the slim tables?"</em></p>
<p>As I understand it, the SLIM option is what triggers the creation of the <strong>_nodes</strong>, <strong>_ways</strong> and <strong>_rels</strong> tables during import. On the one hand, the <a href="https://www.volkerschatz.com/net/osm/osm2pgsql-usage.html" rel="nofollow">https://www.volkerschatz.com/net/osm/osm2pgsql-usage.html</a> webpage metions it as being necessary for:</p>
<blockquote>
<p>Without this mode, all temporary data is stored in RAM and if you do not have enough the import will not work successfully. With slim mode, you should be able to import the data even on a system with limited RAM, although if you do not have enough RAM to cache at least all of the nodes...</p>
</blockquote>
<p>Suggesting not using SLIM tables could lead to failure to import on low RAM systems. On the other hand it is mentioned as needed for the minutely updates (which I have never used) and --append:</p>
<blockquote>
<p>This switch is also required for later updates with --append.</p>
</blockquote>
<p>Which is logical, as you need access to the nodes and ways for any updates.</p>
<p><strong>But about the first option regarding RAM:</strong><br>
If the <em>"flex backend doesn't care about the slim tables"</em>, what is the implication regarding RAM usage of osm2pgsql? Or do you simply mean that flex backend uses the existing infrastructure for this, and is not involved or touch any of this part of the code base of osm2pgsql, so <strong>--slim</strong> is still a valid option with flex backend (as it seems, as I see the tables still being generated with flex option), it is just that the changes for the flex backend have nothing to do with this part of osm2pgsql processing?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/1182#issuecomment-633017033">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353XZ2VPN5ZKEN275ZITRS6MDRANCNFSM4NG5PMHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353RZFIS3TY5LTCVU6MTRS6MDRA5CNFSM4NG5PMH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEW5RFSI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1182#issuecomment-633017033",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1182#issuecomment-633017033",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>