Hello Community,
I am facing a performance issue with an API‑triggered Process Model that writes data to a MySQL database using the Write to Data Store Entity smart service.
"Successful"
Discussion posts and replies are publicly visible
90s for 25 rows usually means the loop + repeated reads/updates are the problem, not the fact that it is one table.
Write to Data Store Entity does not bulk insert, so if you call it once per row Appian pays that cost each time. I would test 3 things first:
Write to Data Store Entity
a!startProcess()
isSynchronous: false
If one-array write is still slow after that, I would move the insert-heavy part to Execute Stored Procedure. That is usually the next step when network round trips or per-node transaction overhead are the bottleneck.
Execute Stored Procedure