can scheduled job run in parallel or wait for complete of first job.

Girish13 1 Reputation point
2020-12-24T11:24:26.757+00:00

Hi ,

I have one scenario lets considered I have one jobs run which is run every 5 min and process the data and load into target table. sometime to load data in to target table it will take 10 min and sometime it will take 2 min.

so my question is when next job will start then it will wait for completion of previous job or it will execute as per scheduled.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,652 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nasreen Akter 10,811 Reputation points Volunteer Moderator
    2020-12-24T12:58:28.767+00:00

    Hi @Girish13 ,

    In this scenario schedule trigger will not work, you need tumbling window trigger. Schedule trigger will only execute per schedule and the pipelines associated with the trigger could run in parallel.

    Tumbling window trigger has a self-dependency property which means the trigger shouldn't proceed to the next window until the preceding window is successfully completed. Also tumbling window triggers can be configured to initiate past and future dated loads, whereas schedule trigger can only trigger future dated loads. For more details please see the links below.

    Hope this helps. If it does, please don't forget to "accept the answer" and "up-vote"! Thank you!

    Useful links:
    https://www.mssqltips.com/sqlservertip/6061/create-tumbling-window-trigger-in-azure-data-factory-adf/
    https://learn.microsoft.com/en-us/azure/data-factory/tumbling-window-trigger-dependency

    3 people found this answer helpful.
    0 comments No comments

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.