For each activity meant to run for 23 tables but finished only running for 6 tables

Pradyumn Joshi 40 Reputation points
2024-06-22T08:08:12.8133333+00:00

I am running a for-each activity, which runs sequentially and is meant to run for all the tables it fetched and post completion of this activity another pipeline activity is set to be triggered. But when the tables are few like 5 it works well but when it gets more than that, it does not run for all the tables and the for each shows succeeded, but the next activity is not triggered because the for-each is not completed for all the tables. How can resolve this?

How can I make it run for all the tables?

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amira Bedhiafi 20,176 Reputation points
    2024-06-23T08:26:32.9266667+00:00

    I am thinking about 3 major reasons : concurrency limits, timeout issues, or resource constraints.

    By default, the ForEach activity in Azure Data Factory runs with a concurrency of 20. If you are running more tables, the remaining ones might be waiting for their turn, leading to timeout or other issues.

    You can increase the concurrency in the ForEach activity settings. However, make sure your environment can handle the increased load.

    Use the Monitor tab to check the detailed logs of each activity. Look for any failures or timeouts that might be causing the issue.

    Also, check if your DF instance or the underlying data sources are facing resource constraints. Scaling the source database can help.

    0 comments No comments

0 additional answers

Sort by: Most helpful