<?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 Re: Disabling Change Tracking and enabling Change Data Capture in SQL Server Lakeflow in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165384#M55429</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;You can trigger a full refresh on this table to establish a clean CDC baseline.&amp;nbsp;Pause the ingestion pipeline (and the gateway if running continuous Standard CDC) to prevent state conflicts while updating the source. Next, on the SQL Server instance, ensure CDC is enabled at the database level, then enable CDC on the target table. Because the table has no primary key, make sure the table CDC setup has net change support disabled, as supporting net changes requires a primary key or unique index. Once CDC is active on the table, explicitly disable Change Tracking on that table so Lake flow stops attempting to use it.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV class=""&gt;Before restarting the pipeline, verify through SQL Server system tables that the table reflects CDC as active and Change Tracking as disabled. Finally, re/start the gateway and pipeline, navigate to the table details within the Lake flow UI, and trigger a Full Refresh for the affected table so it can snapshot the current baseline and begin processing continuous CDC transactions seamlessly. Validate the changes in &lt;STRONG&gt;dev &lt;/STRONG&gt;first. More details &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-utility#step-3-enable-change-data-capture-for-tables-without-primary-keys" target="_self"&gt;here&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 11 Aug 2026 14:25:24 GMT</pubDate>
    <dc:creator>balajij8</dc:creator>
    <dc:date>2026-08-11T14:25:24Z</dc:date>
    <item>
      <title>Disabling Change Tracking and enabling Change Data Capture in SQL Server Lakeflow</title>
      <link>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165331#M55422</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I want to know my lakeflow connect pipeline has stopped running because Change Tracking is enabled and table doesn't have a primary key and i want to switch to CDC now. Will it impact my pipeline. What are the steps i need to follow to on ingestion gateway and pipeline side.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2026 09:58:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165331#M55422</guid>
      <dc:creator>Upendra_Dwivedi</dc:creator>
      <dc:date>2026-08-11T09:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Change Tracking and enabling Change Data Capture in SQL Server Lakeflow</title>
      <link>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165384#M55429</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;You can trigger a full refresh on this table to establish a clean CDC baseline.&amp;nbsp;Pause the ingestion pipeline (and the gateway if running continuous Standard CDC) to prevent state conflicts while updating the source. Next, on the SQL Server instance, ensure CDC is enabled at the database level, then enable CDC on the target table. Because the table has no primary key, make sure the table CDC setup has net change support disabled, as supporting net changes requires a primary key or unique index. Once CDC is active on the table, explicitly disable Change Tracking on that table so Lake flow stops attempting to use it.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV class=""&gt;Before restarting the pipeline, verify through SQL Server system tables that the table reflects CDC as active and Change Tracking as disabled. Finally, re/start the gateway and pipeline, navigate to the table details within the Lake flow UI, and trigger a Full Refresh for the affected table so it can snapshot the current baseline and begin processing continuous CDC transactions seamlessly. Validate the changes in &lt;STRONG&gt;dev &lt;/STRONG&gt;first. More details &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-utility#step-3-enable-change-data-capture-for-tables-without-primary-keys" target="_self"&gt;here&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Aug 2026 14:25:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165384#M55429</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-08-11T14:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Change Tracking and enabling Change Data Capture in SQL Server Lakeflow</title>
      <link>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165444#M55439</link>
      <description>&lt;P&gt;Hi Balaji,&lt;BR /&gt;Thankyou for responding to my question.&lt;BR /&gt;&lt;BR /&gt;I tried implementing your solution and disabled CT only as CDC and CT both were enabled at database level and table level. Then i restarted gateway and expected it to not throw the same error i was getting previously which is:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upendra_Dwivedi_0-1786520316025.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29928iC3493012E266D717/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Upendra_Dwivedi_0-1786520316025.png" alt="Upendra_Dwivedi_0-1786520316025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you please tell why this is happening it should now pick CDC but still it is considering CT even if it is disabled. Please let me know if i misunderstood the error.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 07:41:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165444#M55439</guid>
      <dc:creator>Upendra_Dwivedi</dc:creator>
      <dc:date>2026-08-12T07:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Change Tracking and enabling Change Data Capture in SQL Server Lakeflow</title>
      <link>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165446#M55441</link>
      <description>&lt;P&gt;Hi Upendra,&lt;/P&gt;&lt;P&gt;When both Change Tracking and Change Data Capture are enabled the connector generally prioritizes Change Tracking. Since CT requires the source table to have a primary key and table did not have one, it causes the pipeline to fail. Even after disabling CT, the same error may continue because the ingestion gateway caches the source database configuration and may take some time to detect changes. The gateway can take up to approximately &lt;STRONG&gt;6 hours&lt;/STRONG&gt; to refresh this information automatically. In addition, the pipeline may have existing streaming state or checkpoints that were established when CT was active.&lt;/P&gt;&lt;P&gt;On the SQL Server side, you can verify that CT has been disabled at both the database and table levels. You can also confirm that CDC is enabled at both the database and table levels. Once this is confirmed, restart the ingestion gateway. However, as the gateway may take time to pick up the updated configuration, the restart alone may not be sufficient to reinitialize the pipeline with CDC.&lt;/P&gt;&lt;P&gt;You need to perform a &lt;STRONG&gt;full refresh&lt;/STRONG&gt; on the affected table. It forces the pipeline to re-snapshot the table and re-establish the change-tracking mechanism using the updated source configuration. You can trigger the full refresh from the pipeline UI by selecting &lt;STRONG&gt;Full Refresh&lt;/STRONG&gt; for the specific table or use the Pipelines API with the parameters. This full refresh will take longer because the table needs to be re-snapshotted, but once it completes, incremental processing should resume using CDC.&lt;/P&gt;&lt;P&gt;You can try&amp;nbsp;&lt;STRONG&gt;full refresh after switching from CT to CDC in dev&lt;/STRONG&gt;. Confirm CT is disabled and CDC is enabled on SQL Server, restart the ingestion gateway, perform a full refresh for the affected table, monitor the pipeline update until it completes and then verify that incremental ingestion resumes using CDC. Switching to CDC can have a higher performance impact on the source database than CT, but it is necessary for a table without a primary key.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 08:10:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/disabling-change-tracking-and-enabling-change-data-capture-in/m-p/165446#M55441</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-08-12T08:10:22Z</dc:date>
    </item>
  </channel>
</rss>

