Synapse - Switch activity takes longer than its sub processes

Padmanabhan Thirugnanasambandam 5 Reputation points
2024-01-24T08:00:35.41+00:00

Hi team, I have a switch activity that contains few conditions and one of the flow contains two child activities as shown below.
As seen below, the individual child activity completes, put together in 1 minute while the overall switch activity is taking 4+m to finish. IR used by two child activities looks fine with the logs and handles back the successful message to switch in shown time. What could be the reason for this? This pattern is intermittent though, but leads to inconsistent run time.

User's image

Thanks, Padmanabhan

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,241 questions
{count} vote

2 answers

Sort by: Most helpful
  1. QuantumCache 20,346 Reputation points
    2024-01-24T23:04:40.3466667+00:00

    Hi Padmanabhan Thirugnanasambandam Thanks for more context! Could you please add screenshot of your pipeline Activities , so that i can try the repro? Let me quickly test some samples on my side! Keep us posted if you see further variations! Have done some testing and i see the Switch Activity is mostly consistent! May be we have to dig deeper into your scenario!!!
    User's image

    0 comments No comments

  2. Padmanabhan Thirugnanasambandam 5 Reputation points
    2024-01-29T03:27:45.54+00:00

    Hi SatishBoddu-MSFT, Thanks for the prompt response. I could still see the issue and below is another pattern of data load and the Switch take longer than the child processess. I am using data load activity under the switch statement.

    User's image

    User's image

    Two different patterns of data load and same issue with timings


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.