<p></p>
<p dir="auto">One other possible explanation for the difference in DELETE speed might be that PostgreSQL may be able to process the JOIN statement using multiple parallel workers. However, I would need to check that because I did not monitor that aspect.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1675#issuecomment-1137172980">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VKDMU4GW2FOZPS4DDVLYLRNANCNFSM5WTPPK3Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353UWOPAUGSUEG4V33XDVLYLRNA5CNFSM5WTPPK32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIPD6D5A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/pull/1675/c1137172980</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1675#issuecomment-1137172980",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1675#issuecomment-1137172980",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>