1

I'm planning to process >100K records in a DE table using automation studio. I can write the correct logic using SSJS. However, I found out the performance of SSJS is really poor and always get timeout error.

How about if I rewrite the SSJS with AMPScript? Will it improve the speed of the script? Is there any performance differences between them? If not, I'll think the solution besides Script activities.

2
  • Maybe you should reprogramm your logic or share it within this community, i believe we cannot help without more information Jul 16 '18 at 13:23
  • What do you mean by "process" >100k records? Delete them? Update them? Jul 16 '18 at 13:28
1

You can't use AMPscript in a Script Activity directly. A timeout on processing 100k DE rows doesn't surprise me. Script Activities aren't meant to replace Query Activities, nor do they work well for batch data operations.

Two ways I've approached this before:

  • Add a mechanism to your process that keeps track of the DE rows that have been processed and then duplicate your script activity multiple times in your Automation.
  • Build two unscheduled Automations and write a Script Activity that starts the other. This allows you to run Automations more frequently than once an hour.

Without more details of your process, it's hard to say which approach I'd take.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.