Sync Now Assist AI Assets scheduled job causing high CPU and SQL load

JulioQ
Tera Contributor

Hi everyone,

In our instance, the out-of-box Sync Now Assist AI Assets Scheduled Script Execution was running hourly, with each execution taking approximately 18–25 minutes and consuming significant CPU and SQL time.

To reduce the impact on interactive users, we changed the frequency from hourly to every 6 hours, starting at 02:00. This reduces the number of executions from 24 to 4 per day while keeping the AI Control Tower inventory regularly synchronized.

Has anyone observed similar execution times for this job?

We would particularly like to understand:

Is an 18–25-minute runtime expected?
Does the job perform a full or incremental synchronization?
Does reducing the frequency affect only AI Control Tower inventory freshness, or can it affect AI agent execution?
Is every 6 hours a supported frequency?
Are there known defects, patches, or Store application updates that improve its performance?

 

Thank you

1 REPLY 1

Mathew Hillyard
Tera Sage

Hi @JulioQ 

Is this still an issue? What else is running in the instance, and how much Now Assist functionality do you have turned on? Or probably more easy for you to answer, how many assets, models, datasets and prompts are you turning on? I can see around 3,000 objects being created and updated with what I'm working on and the job is completed in < 5 minutes.

 

The Script Include called by that scheduled script executions contains all the detail you need to check what might be slowing things down as it collects each object separately (asset, model, dataset, prompt). It's worth testing taking the relevant functions out one at a time to find the root cause.

 

I hope this helps!
Mat