<p><b>@mmd-osm</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/974#discussion_r346859189">docs/osm2pgsql.1</a>:</p>
<pre style='color:#555'>> the flat\-nodes mode. This can also increase the speed of applying diff files. This option
activates the flat\-nodes mode and specifies the location of the database file. It is a
-single large > 16GB file. This mode is only recommended for full planet imports
+single large > 43GB file. This mode is only recommended for full planet imports
</pre>
<p>Can we add some description how this is calculated to avoid updating the docs every few months? Maybe "largest node id * 8 bytes". People adding their own fake node ids with higher offsets to their database also need to be aware of flat file space requirements here.</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/pull/974?email_source=notifications&email_token=AA6353XDJEOP63QKVWXVWM3QT2ZPDA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLXTE5A#discussion_r346859189">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WRMZGJHOGCFFDMGPLQT2ZPDANCNFSM4JNLKMKA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353UDPZM2JVTHO4EV7DLQT2ZPDA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLXTE5A.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/pull/974?email_source=notifications\u0026email_token=AA6353XDJEOP63QKVWXVWM3QT2ZPDA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLXTE5A#discussion_r346859189",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/974?email_source=notifications\u0026email_token=AA6353XDJEOP63QKVWXVWM3QT2ZPDA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLXTE5A#discussion_r346859189",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>