<p></p>
<p>I think what <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/Legolash2o/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Legolash2o">@Legolash2o</a> is reporting here is copying of all tags from <code>current_{nodes,ways,relations}</code> tables to their respective history tables on the Rails port. Indeed that's quite time consuming as tags are copied one by one, rather than using bulk operations. This happens every time a new object version is uploaded.</p>
<p>It's a known issue with existing solutions - one outside of the Rails port (CGImap), and another one as stale pull request (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="360890266" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1995" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/1995/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/1995">#1995</a>) to address the issue on the Rails port.</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/openstreetmap-website/issues/2632#issuecomment-632301348">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIUCEYQOSQJHUILOJTRSV6XXANCNFSM4NG6ANSA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLO42IMF4YEMUDDY5RTRSV6XXA5CNFSM4NG6ANSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEWYCOJA.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/openstreetmap-website/issues/2632#issuecomment-632301348",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2632#issuecomment-632301348",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>