question

ChandanB-8905 avatar image
0 Votes"
ChandanB-8905 asked JayaC-MSFT answered

Improve Logic App Execution time

We have created a logic app which would read the data from a Staging table from Azure Data Explorer and would expand the data using the Azure Data Explorer. Once expanded it would then push the data back to Azure Data Explorer to another table. This entire process takes around 1.5 hrs since we are fetching around 6k records from Staging table and we are writing around 9k records into the Azure Data Explorer table.

Below are the detailed steps:
1. Extract Data from Staging Table

47539-image.png


  1. Iterate through the records obtained from step 1(Here we are iterating over 6.2k records)

47563-image.png


  1. Once done we would expand the data which generate records and added into the table in Azure Data Explorer:
    47439-image.png




Since the entire process is taking around 1.5 hs we would like to optimize this execution. How do we increase the compute capacity of logic apps so to speed up the execution and to perform the operations quickly.

Is there a way to increase the memory or the compute instance for logic apps. Kindly provide with the optimized approach for this.

azure-logic-appsazure-data-explorer
image.png (17.4 KiB)
image.png (18.8 KiB)
image.png (23.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered

@ChandanB-8905 Have you enabled the concurrency control and set any degree of parallelism?
https://www.serverlessnotes.com/docs/logic-apps-improve-performance-using-parallelism

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.