Thank you Christian and Graydon! I've got a solution working by calling the script multiple times to do only a subset of the updates each time. On a different (though related) note, do I understand correctly that I should run a "db:optimize($db)" after each time I perform a significant amount of updates?

Matt

On Mon, Jul 26, 2021 at 1:32 PM Graydon <graydonish@gmail.com> wrote:
On Mon, Jul 26, 2021 at 01:08:19PM -0400, Matthew Dziuban scripsit:
> Is there any way to accomplish this? Thanks in advance!

It might be easier to generate the merged content, create a db from
that, then replace the old target DB with that whole.

-- Graydon


--
Matthew R. Dziuban
mattdziuban.com
703-973-6717
mrdziuban@gmail.com