<p>The indexes are required for updating the database. If you don't need updates, import with <code>--drop</code> and those indexes won't be created in the first place.</p>
<p>This really is a discussion for the <a href="https://lists.openstreetmap.org/listinfo/dev" rel="nofollow">mailinglist</a>, not so much an issue for a bug tracker.</p>
<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=AA6353SOBEFKYXPLVOJNQDLQU35QPA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE3XOVA#issuecomment-557283156">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353QG4ZENEESS6IHC6ELQU35QPANCNFSM4JP6WBJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353V7DDW4BZKW3IPVWVTQU35QPA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE3XOVA.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=AA6353SOBEFKYXPLVOJNQDLQU35QPA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE3XOVA#issuecomment-557283156",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/993?email_source=notifications\u0026email_token=AA6353SOBEFKYXPLVOJNQDLQU35QPA5CNFSM4JP6WBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE3XOVA#issuecomment-557283156",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>