<p><b>@Nakaner</b> requested changes on this pull request.</p>
<p>The size of the flatnodes file is wrong (likely a typo).</p><hr>
<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/974#discussion_r346724913">docs/osm2pgsql.1</a>:</p>
<pre style='color:#555'>> @@ -220,10 +221,10 @@ Instead of storing this information in the main PostgreSQL database, this mode c
its own separate custom database to store the information. As this custom database
has application level knowledge about the data to store and is not general purpose,
it can store the data much more efficiently. Storing the node information for the full
-planet requires about 100GB in PostgreSQL, the same data is stored in only ~16GB using
+planet requires about 300GB in PostgreSQL, the same data is stored in only ~43GB using
</pre>
<p>The flatnodes file is currently 53 GB (55836703944 bytes) large on a server using Osm2pgsql 0.96 (the data structure has not changed since then).</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/974#discussion_r346724953">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>see comment above</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/974#discussion_r346724991">docs/usage.md</a>:</p>
<pre style='color:#555'>> @@ -61,13 +61,13 @@ file is used as a database of node locations. This should only be used on full
planet imports or very large extracts (e.g. Europe) but in those situations
offers significant space savings and speed increases, particularly on
mechanical drives. The file takes approximately 8 bytes * maximum node ID, or
-about 23 GiB, regardless of the size of the extract.
+about 43 GiB, regardless of the size of the extract.
</pre>
<p>same issue with flatnodes file size</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=AA6353SPRMV7FTE3SBFDGJ3QTZSEFA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLWIEJQ#pullrequestreview-317489702">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353T2NMY7XS3RHAKMYC3QTZSEFANCNFSM4JNLKMKA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WQQVHRH7UHATI2SWTQTZSEFA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLWIEJQ.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=AA6353SPRMV7FTE3SBFDGJ3QTZSEFA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLWIEJQ#pullrequestreview-317489702",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/974?email_source=notifications\u0026email_token=AA6353SPRMV7FTE3SBFDGJ3QTZSEFA5CNFSM4JNLKMKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLWIEJQ#pullrequestreview-317489702",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>