<p></p>
<p dir="auto">I will try the logging option in osm2pgsql on a Liechtenstein extract.</p>
<p dir="auto">For what it is worth: deleting 87M records from a 462M record data set of OpenStreetMap buildings takes just 30 minutes in both PG13 and PG14 using some Python scripting I created and a:</p>
<p dir="auto"><code class="notranslate">DELETE FROM <TABLE_A> a USING <TABLE_B> b WHERE a.objectid = b.objectid</code></p>
<p dir="auto">type of SQL statement. The fact that the timings are the same, at least shows there is no wholesale regression issue in processing DELETE for PG14 versus 13.</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/issues/1674#issuecomment-1132076038">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353SP6ME6CCPI3EFM3FTVK2ENJANCNFSM5V6VPZVA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353X2Z37R6LFPIKWDTPDVK2ENJA5CNFSM5V6VPZVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIN5BYBQ.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/issues/1674/1132076038</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/issues/1674#issuecomment-1132076038",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1674#issuecomment-1132076038",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>