<?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 copydata - from on premises to azure SQL.  Dealing with fails in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/copydata-from-on-premises-to-azure-SQL-Dealing-with-fails/m-p/4684326#M7748</link>
    <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently trying to build a azure cloud sql database from various on prem sql databases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far what I have done is ive created upsert pipeline for the smaller tables.&amp;nbsp; these are generally fine.&lt;/P&gt;&lt;P&gt;Then split the larger table into static (data before the beginning of the year) and Live (the more recent data)&lt;/P&gt;&lt;P&gt;With the live - I'm using the same upsert data which is also generally working.&amp;nbsp; However with the static bulk pipelines I'm running into problems and these constantly fail.&amp;nbsp; usually timing out after 5-6 hours.&amp;nbsp; I've tried both the insert and the upsert methods to try and build this data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For large copydata transactions, am I using the correct method?&amp;nbsp; on reading other articles I wouldn't consider my data that big (4-5 million rows with upto 5 columns.&amp;nbsp; One index column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has some pointers how I can avoid these fails I would be most appreciative&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 09:11:13 GMT</pubDate>
    <dc:creator>Roo_The_Poo</dc:creator>
    <dc:date>2025-05-08T09:11:13Z</dc:date>
    <item>
      <title>copydata - from on premises to azure SQL.  Dealing with fails</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/copydata-from-on-premises-to-azure-SQL-Dealing-with-fails/m-p/4684326#M7748</link>
      <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently trying to build a azure cloud sql database from various on prem sql databases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far what I have done is ive created upsert pipeline for the smaller tables.&amp;nbsp; these are generally fine.&lt;/P&gt;&lt;P&gt;Then split the larger table into static (data before the beginning of the year) and Live (the more recent data)&lt;/P&gt;&lt;P&gt;With the live - I'm using the same upsert data which is also generally working.&amp;nbsp; However with the static bulk pipelines I'm running into problems and these constantly fail.&amp;nbsp; usually timing out after 5-6 hours.&amp;nbsp; I've tried both the insert and the upsert methods to try and build this data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For large copydata transactions, am I using the correct method?&amp;nbsp; on reading other articles I wouldn't consider my data that big (4-5 million rows with upto 5 columns.&amp;nbsp; One index column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has some pointers how I can avoid these fails I would be most appreciative&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 09:11:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/copydata-from-on-premises-to-azure-SQL-Dealing-with-fails/m-p/4684326#M7748</guid>
      <dc:creator>Roo_The_Poo</dc:creator>
      <dc:date>2025-05-08T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: copydata - from on premises to azure SQL.  Dealing with fails</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/copydata-from-on-premises-to-azure-SQL-Dealing-with-fails/m-p/4685028#M7753</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="396457" data-lia-user-login="Roo_The_Poo" class="lia-mention lia-mention-user"&gt;Roo_The_Poo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;you're on the right track with the split between static and live data. For the static part that's failing after long runs, here are a few things that might help:&lt;/P&gt;
&lt;P&gt;1.Try landing the data first into Azure Blob Storage or Azure Data Lake using a Copy Activity, then load it into Azure SQL from there. This reduces strain on the gateway and network during long transfers.&lt;/P&gt;
&lt;P&gt;2. Instead of one big load, break the static data into smaller chunks (e.g., by year, month, or even week depending on size). You can loop through partitions with a parameterized pipeline.&lt;/P&gt;
&lt;P&gt;3.Make sure your Azure SQL DB has enough DTUs/vCores for the load, and indexes are optimized. Disable constraints/indexes during bulk load if possible, then rebuild after.&lt;/P&gt;
&lt;P&gt;4.If you’re hitting timeouts, check integration runtime settings and increase timeout where possible, especially for copy activity.&lt;/P&gt;
&lt;P&gt;5. If you're hitting limits with Copy Data, try using Data Flows which can handle transformations and retries more gracefully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;"Kudos"&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 13:11:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/copydata-from-on-premises-to-azure-SQL-Dealing-with-fails/m-p/4685028#M7753</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-05-08T13:11:41Z</dc:date>
    </item>
  </channel>
</rss>

