Why is data not getting inserted in DB after the data flow task is successful in ADF

Quadri, Mumin Ahmed 5 Reputation points
2024-02-15T11:30:09.68+00:00

I have a dataflow task which is supposed to insert data in a DB. Im using SQL Server as DB and am trying to insert data in a table. When we execute the pipeline on ADF which has the required data flow task, we can see that the pipeline executes successfully. Also, we see all data to be inserted in Data Preview of sink in Data Flow task. However, when the pipeline completes successfully, we do not see any data inserted in DB. In the activity runs for this pipeline, we can see Rows Written is shown as 0. Also, when we check the 'Stages' link in the Activity runs, we see one of the steps in data flow is cached. Please find below the relevant screenshots User's image

User's image

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

2 answers

Sort by: Most helpful
  1. Quadri, Mumin Ahmed 5 Reputation points
    2024-07-09T15:53:38.5833333+00:00

    I was able to resolve this issue a month back. I had raised a ticket with MSFT on this but they couldn't find the root cause. For my case, the issue was with the Integration Runtime configuration. The AutoresolveIntegrationruntime used 4+4 cores by default. I created a new IR with custom compute size, compute type as 'Memory Optimized' and core count as 16+16 cores which resolved issue for me. In ADF, go to Manage-> Integration Runtime. Here, u can modify existing IR or create new IR.

    1 person found this answer helpful.

  2. Bhargava-MSFT 28,951 Reputation points Microsoft Employee
    2024-07-10T15:36:51.6366667+00:00

    Hello Quadri, Mumin Ahmed

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I am reposting your solution in case you'd like to "Accept " the answer.

    Issue:

    Data is not getting inserted in DB after the data flow task is successful in ADF

    Solution:

    the issue was with the Integration Runtime configuration. The AutoresolveIntegrationruntime used 4+4 cores by default. The issue was resolved after creating a new IR with custom compute size, compute type as 'Memory Optimized' and core count as 16+16 cores.

    How to modify existing IR or create new IR.

    In ADF, go to Manage-> Integration Runtime. from here we can modify or create new IR

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    I hope this helps!

    0 comments No comments