<p>Thanks, but all indexing on the four resulting tables seem to finish in the first 10 hours. Why waste 24 hours more on an index on a "slim" table, after all the real work is done? And why does this one take that long? This is the corresponding output:</p>
<pre><code>Sorting data and creating indexes for osm_roads
Sorting data and creating indexes for osm_point
Sorting data and creating indexes for osm_line
Sorting data and creating indexes for osm_polygon
Copying osm_roads to cluster by geometry finished
Creating geometry index on osm_roads
Creating osm_id index on osm_roads
Creating hstore indexes on osm_roads
Creating indexes on osm_roads finished
All indexes on osm_roads created in 1045s
Completed osm_roads
Stopping table: osm_nodes
Stopped table: osm_nodes in 0s
Stopping table: osm_ways
Building index on table: osm_ways
Copying osm_point to cluster by geometry finished
Creating geometry index on osm_point
Creating osm_id index on osm_point
Creating hstore indexes on osm_point
Creating indexes on osm_point finished
All indexes on osm_point created in 3927s
Completed osm_point
Stopping table: osm_rels
Building index on table: osm_rels
Stopped table: osm_rels in 132s
Copying osm_line to cluster by geometry finished
Creating geometry index on osm_line
Creating osm_id index on osm_line
Creating hstore indexes on osm_line
Creating indexes on osm_line finished
All indexes on osm_line created in 8935s
Completed osm_line
Copying osm_polygon to cluster by geometry finished
Creating geometry index on osm_polygon
Creating osm_id index on osm_polygon
Creating hstore indexes on osm_polygon
Creating indexes on osm_polygon finished
All indexes on osm_polygon created in 13885s
Completed osm_polygon
</code></pre>
<p>... and 24 hours later</p>
<pre><code>Stopped table: osm_ways in 107130s
Osm2pgsql took 129500s overall
node cache: stored: 894447560(100.00%), storage efficiency: 50.00% (dense blocks: 0, sparse nodes: 894447560), hit rate: 100.00%
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/993?email_source=notifications&email_token=AA6353VVD2SQ2LZKGITSX2TQU2IENA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2KFIA#issuecomment-557097632">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353XQRYKXNNHBVSZNET3QU2IENANCNFSM4JP6WBJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353TNBBPDLFJOC5CYMZDQU2IENA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2KFIA.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/993?email_source=notifications\u0026email_token=AA6353VVD2SQ2LZKGITSX2TQU2IENA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2KFIA#issuecomment-557097632",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/993?email_source=notifications\u0026email_token=AA6353VVD2SQ2LZKGITSX2TQU2IENA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2KFIA#issuecomment-557097632",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>