Share via

ADF-Dataflow Table sync records not processed after 12 hrs

Aaron Wong 40 Reputation points
2025-08-26T11:34:13.23+00:00

I have a pipeline which uses a dataflow with SQL CDC feature enabled. I am syncing tables between one Azure SQL to another Azure SQL DB. Since yesterday the pipeline is failing after running for 12 hrs. A particular table dataflow activity is getting timed out. I ran the following queries manually and I do get a response immediately. Not sure why there are no rows processed in the dataflow activity. There are other pipelines from the same source and destination databases that are running fine. Please let me know what could be the reason for this. I tried to run the pipeline again and even after 9 hrs there was no rows processed.

Pipeline Id: 5f6b7d00-339e-4469-93a9-6f63bad74061

Activity Id: 0c1ba17a-e44b-4514-8982-2db9eefc3efa

SELECT TOP 10 * FROM cdc.fn_cdc_get_net_changes_dbo_xxx

(

sys.fn_cdc_get_min_lsn('dbo_xxx'),

sys.fn_cdc_get_max_lsn(),

'all'

)

SELECT sys.fn_cdc_get_min_lsn('dbo_xxx') AS MinLSN,

   sys.fn_cdc_get_max_lsn()              AS MaxLSN;
Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


1 answer

Sort by: Most helpful
  1. Aaron Wong 40 Reputation points
    2025-08-26T19:04:38.2533333+00:00

    Venkat Reddy Navari, We see the following timestamps in the for the min and max lsn values in the _CT table. "SELECT MIN($start_lsn) AS MinStartLSN_InTable, MAX($start_lsn) AS MaxStartLSN_InTable FROM cdc.dbo_YourTableName_CT;"

    User's image

    When we run the following query , there are many rows changed.

    SELECT COUNT(*) AS ChangeCount FROM cdc.dbo_YourTableName_CT

    The count is 42204430. We increased the timeout period to 15 hrs from the default setting and also changed the compute size to 'medium' , after triggering the pipeline to process manually we are getting a new error as shown below- Please suggest to to fix this error.User's image

    . Thanks!

    Was this answer helpful?


Your answer

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