<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Title: Oracle CDC pipeline (Lakeflow Connect) never terminates in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/title-oracle-cdc-pipeline-lakeflow-connect-never-terminates/m-p/166497#M55593</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Setup&lt;/STRONG&gt;:&amp;nbsp;Oracle 21c XE (CDB/PDB), Direct CDC Extraction, no gateway, triggered pipeline on hourly schedule, single &lt;STRONG&gt;table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&amp;nbsp;A triggered run has been active 95+ minutes with no work left. All flows report&amp;nbsp;IDLE, waiting for new data, the source is idle, and target data is already fully correct. But the run won't stop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Event log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Direct CDC Extraction is IN_PROGRESS, running for 92 minutes.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Zero snapshots are pending. Will stop once the lag converges.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Current CDC Ingestion Lag : 19949 seconds.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Lag is increasing, perfectly linearly:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Running (min) Lag (sec)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;40&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16829&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;63&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18149&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;75&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18869&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19949&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Exactly 360 sec of lag per 360 sec elapsed — 1:1 with wall clock. Reported lag (~5.5 h) also far exceeds the run duration (92 min), which suggests it's computed as&amp;nbsp;now() − timestamp of last processed change&amp;nbsp;rather than against the current redo position. If so, the exit condition can never be satisfied while the source is quiet.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run sequence (this part seems diagnostic):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run 1&lt;/STRONG&gt; — full refresh, 200K rows →&amp;nbsp;completed&lt;BR /&gt;&lt;STRONG&gt;Run 2&lt;/STRONG&gt; — incremental, zero source changes →&amp;nbsp;completed&lt;BR /&gt;&lt;STRONG&gt;Run 3&lt;/STRONG&gt; — incremental after 10K inserts + 100K deletes (batched, ~3.25 GB redo) →&amp;nbsp;hangs&lt;BR /&gt;So the idle run finished fine; the busy one didn't.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Source side is clean:&lt;/STRONG&gt;&amp;nbsp;ARCHIVELOG + PK supplemental logging on, 50 archived logs on disk (nothing purged), FRA at 33%, listener up. All 20 replication-user sessions&amp;nbsp;INACTIVE&amp;nbsp;on&amp;nbsp;SQL*Net message from client&amp;nbsp;— Oracle is waiting on the client, nothing executing. Those 20 sessions also never get released between runs.&lt;/P&gt;&lt;P&gt;Impact:&amp;nbsp;hourly schedule is dead — the next run skipped with&amp;nbsp;Max Concurrent Runs, and every subsequent one will too.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;How is&amp;nbsp;Cdc Ingestion Lag&amp;nbsp;calculated? Is it expected to grow while the source is idle?&lt;BR /&gt;What's the actual convergence threshold that ends a triggered run?&lt;BR /&gt;Any idle-detection or timeout for triggered runs with no pending changes?&lt;BR /&gt;Is a periodic heartbeat write a known workaround, or is there a setting?&lt;BR /&gt;Are replication-user sessions meant to be pooled/reused across runs?&lt;BR /&gt;Anyone seen this?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2026 04:59:20 GMT</pubDate>
    <dc:creator>Ashoka</dc:creator>
    <dc:date>2026-08-26T04:59:20Z</dc:date>
    <item>
      <title>Title: Oracle CDC pipeline (Lakeflow Connect) never terminates</title>
      <link>https://community.databricks.com/t5/data-engineering/title-oracle-cdc-pipeline-lakeflow-connect-never-terminates/m-p/166497#M55593</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Setup&lt;/STRONG&gt;:&amp;nbsp;Oracle 21c XE (CDB/PDB), Direct CDC Extraction, no gateway, triggered pipeline on hourly schedule, single &lt;STRONG&gt;table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&amp;nbsp;A triggered run has been active 95+ minutes with no work left. All flows report&amp;nbsp;IDLE, waiting for new data, the source is idle, and target data is already fully correct. But the run won't stop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Event log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Direct CDC Extraction is IN_PROGRESS, running for 92 minutes.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Zero snapshots are pending. Will stop once the lag converges.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Current CDC Ingestion Lag : 19949 seconds.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Lag is increasing, perfectly linearly:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Running (min) Lag (sec)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;40&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16829&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;63&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18149&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;75&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18869&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19949&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Exactly 360 sec of lag per 360 sec elapsed — 1:1 with wall clock. Reported lag (~5.5 h) also far exceeds the run duration (92 min), which suggests it's computed as&amp;nbsp;now() − timestamp of last processed change&amp;nbsp;rather than against the current redo position. If so, the exit condition can never be satisfied while the source is quiet.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run sequence (this part seems diagnostic):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run 1&lt;/STRONG&gt; — full refresh, 200K rows →&amp;nbsp;completed&lt;BR /&gt;&lt;STRONG&gt;Run 2&lt;/STRONG&gt; — incremental, zero source changes →&amp;nbsp;completed&lt;BR /&gt;&lt;STRONG&gt;Run 3&lt;/STRONG&gt; — incremental after 10K inserts + 100K deletes (batched, ~3.25 GB redo) →&amp;nbsp;hangs&lt;BR /&gt;So the idle run finished fine; the busy one didn't.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Source side is clean:&lt;/STRONG&gt;&amp;nbsp;ARCHIVELOG + PK supplemental logging on, 50 archived logs on disk (nothing purged), FRA at 33%, listener up. All 20 replication-user sessions&amp;nbsp;INACTIVE&amp;nbsp;on&amp;nbsp;SQL*Net message from client&amp;nbsp;— Oracle is waiting on the client, nothing executing. Those 20 sessions also never get released between runs.&lt;/P&gt;&lt;P&gt;Impact:&amp;nbsp;hourly schedule is dead — the next run skipped with&amp;nbsp;Max Concurrent Runs, and every subsequent one will too.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;How is&amp;nbsp;Cdc Ingestion Lag&amp;nbsp;calculated? Is it expected to grow while the source is idle?&lt;BR /&gt;What's the actual convergence threshold that ends a triggered run?&lt;BR /&gt;Any idle-detection or timeout for triggered runs with no pending changes?&lt;BR /&gt;Is a periodic heartbeat write a known workaround, or is there a setting?&lt;BR /&gt;Are replication-user sessions meant to be pooled/reused across runs?&lt;BR /&gt;Anyone seen this?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2026 04:59:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/title-oracle-cdc-pipeline-lakeflow-connect-never-terminates/m-p/166497#M55593</guid>
      <dc:creator>Ashoka</dc:creator>
      <dc:date>2026-08-26T04:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Title: Oracle CDC pipeline (Lakeflow Connect) never terminates</title>
      <link>https://community.databricks.com/t5/data-engineering/title-oracle-cdc-pipeline-lakeflow-connect-never-terminates/m-p/166547#M55599</link>
      <description>&lt;P&gt;Just a small question to understand more : are you using any community connector or specific method to connect ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 03:53:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/title-oracle-cdc-pipeline-lakeflow-connect-never-terminates/m-p/166547#M55599</guid>
      <dc:creator>saisaranv</dc:creator>
      <dc:date>2026-08-27T03:53:12Z</dc:date>
    </item>
  </channel>
</rss>

