Bulk update - can I speed this up?


I have a table with about 1700 records. I’m pulling a couple of records and doing some math on all the rows, then updating the result in a new record. The bulk update code I’m using is waaaay faster than a single row update, but it’s still taking about 45-60 seconds. That’s too slow for me to run an automation, which has a 30s timeout. Is the following code inefficient?

await table.updateRecordsAsync(updatedRecords.splice(0,50));


You code isn’t inefficient. It just isn’t as efficient as you need it to be.

This thread has suggestions for dealing with updating thousands of records in an automation.

1 Like

Thank you! I don’t have to update every record, so that’s a great suggestion.

Do you have any examples of a mega batch update? I would have approached it the way it was discussed in the thread, but I got the impression that did not work.

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.