<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dhanraj Pervaram on Medium]]></title>
        <description><![CDATA[Stories by Dhanraj Pervaram on Medium]]></description>
        <link>https://medium.com/@dhanrajsql?source=rss-7e7600172c58------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*T4sYIxS6MZJZQfXv</url>
            <title>Stories by Dhanraj Pervaram on Medium</title>
            <link>https://medium.com/@dhanrajsql?source=rss-7e7600172c58------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:29:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dhanrajsql/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From SSIS to Microsoft Fabric: Start With the Plan, Not the Rewrite]]></title>
            <link>https://medium.com/@dhanrajsql/from-ssis-to-microsoft-fabric-start-with-the-plan-not-the-rewrite-51461b8900f7?source=rss-7e7600172c58------2</link>
            <guid isPermaLink="false">https://medium.com/p/51461b8900f7</guid>
            <category><![CDATA[data-migration]]></category>
            <category><![CDATA[ssi]]></category>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[microsoft-fabr]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Dhanraj Pervaram]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 17:06:44 GMT</pubDate>
            <atom:updated>2026-11-23T17:06:44.594Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How I built ssis2fabric, an accelerator that sizes an SSIS estate and works out the order to migrate it</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-UVNj33iRzfmtV4GyCd_Q.jpeg" /></figure><p>Nov 23, 2026 · <a href="https://medium.com/u/7e7600172c58">Dhanraj Pervaram</a></p><h3>Two questions before any code moves</h3><p>Every SSIS-to-Fabric migration I have seen gets stuck on the same two questions before a single pipeline is rebuilt:</p><ol><li><strong>How big is this, really?</strong> How many packages, how complex, and how many hours of work?</li><li><strong>What do we migrate first?</strong> Which packages depend on which, and what can run in parallel?</li></ol><p>Teams usually answer both with spreadsheets, package-by-package reviews and a lot of tribal knowledge. That takes weeks, and the estimate is out of date the day it is finished.</p><p>So I built <strong>ssis2fabric</strong>: an accelerator that answers both questions straight from the SSIS packages themselves.</p><h3>Why sizing and ordering an SSIS estate is hard</h3><p>SSIS packages hide most of what matters for a migration:</p><ul><li><strong>Complexity is buried in the XML.</strong> A .dtsx file holds tasks, containers, data flows, expressions, script tasks and event handlers. Opening each package in Visual Studio to judge it does not scale past a handful.</li><li><strong>Dependencies are implicit.</strong> Package B depends on package A only because A writes a table that B reads. Nothing in either package says so.</li><li><strong>The order on disk is meaningless.</strong> SSDT saves tasks and components alphabetically, not in the order they run.</li><li><strong>Some logic lives outside SSIS.</strong> Stored procedures, views, triggers and SQL Agent job schedules create dependencies the packages never show.</li></ul><p>Get the order wrong and a migrated package reads a table that nothing in Fabric fills yet. Get the size wrong and the plan slips in the first sprint.</p><h3>Meet ssis2fabric</h3><p>ssis2fabric is a Python command-line tool. You drop SSIS packages, project folders (.dtproj, Project.params, .conmgr), .ispac files or zip archives into an Input folder and run one command:</p><pre>python -m ssis2fabric analyze migrationplan</pre><p>It produces two reports, each as an interactive HTML page and an Excel workbook:</p><ul><li><strong>Analysis</strong>: what is in every package, how hard it is to migrate and how many hours it will take.</li><li><strong>Migration plan</strong>: the order to migrate the packages, grouped into waves.</li></ul><p>Everything is driven by two configuration files: one for folders and planning rules, one for the scoring weights. Calibrating the estimate never means editing code.</p><p><em>1-Minute Walkthrough Video can be found here — </em><a href="https://lnkd.in/p/dADrdxEn">https://lnkd.in/p/dADrdxEn</a></p><h3>Part 1: The analysis</h3><p>The analysis turns every package into a score, a tier and an estimate in hours.</p><p><strong>Scoring.</strong> Every item in a package gets a weight: connections, expression variables, tasks, containers, data-flow components, precedence constraints with expressions, event handlers. Adjustments add weight for what makes migration harder: property expressions, nested loops, large Script Tasks, SQL that needs rewriting, expressions the translator cannot convert. Each item also gets a support level: <strong>full</strong> (converts automatically), <strong>partial</strong> (generated, needs review) or <strong>manual</strong> (needs a rewrite).</p><p><strong>Tiers and hours.</strong> The score places a package in a tier, and hours rise smoothly inside each tier, so a higher score never gets fewer hours:.</p><p><strong>Package order, not file order.</strong> The report lists every package the way it runs: parameters, connections and variables first, then the control flow in execution order (precedence constraints first, then the position in the SSIS designer), then event handlers. Containers and data flows open and close with + / −, and data-flow components follow the data-flow paths from source to destination.</p><p><strong>Filter on any column.</strong> Every table has a filter box under each header. Type complex under Tier and &gt;50 under hours, and you have the packages to staff first.</p><p><strong>Lineage.</strong> The analysis also records every table and file each package reads and writes, with three-part names, temp tables and global temp tables. That lineage is what drives the migration plan.</p><h3>Part 2: The migration plan</h3><p>The plan answers the second question: in what order to migrate, and what can run in parallel.</p><p><strong>Dependencies from the data.</strong> A package moves after the packages that write the tables and files it reads. A parent package moves after the child packages it runs through Execute Package Task. SQL Agent job step order and any manual dependencies you declare are respected too.</p><p><strong>Noise filtered out.</strong> A log or last-run table written by almost every package would chain everything together, so tables written by four or more packages are treated as control tables and create no dependency. Packages that write the same target table move together as one group, and circular dependencies are grouped and flagged as a risk.</p><p><strong>Waves.</strong> Packages in one wave do not depend on each other, so a team can migrate them in parallel. Optional limits on hours or packages per wave keep waves sized for real sprints. In a sample estate of 22 packages, the plan produced 3 waves and 1,144 hours of estimated work.</p><p><strong>Critical path.</strong> The critical path is the chain of dependent packages with the largest total of hours, the shortest possible duration even with unlimited people. A big package is not automatically on it. In the sample, DimLocation (92.8 h) feeds FactOrderLines directly, a 153.6-hour chain. But DimDivision (76.8 h) → FactOrders (92 h) → FactOrderLines (60.8 h) adds up to 229.6 hours, so that chain sets the timeline.</p><p><strong>Interactive graph.</strong> Click any package in the dependency graph to highlight everything it depends on and everything that depends on it; double-click to jump to its details. The report also suggests a <strong>pilot</strong>: a small package with no manual items and nothing upstream, good for proving the approach end to end.</p><p><strong>Database-aware, read-only.</strong> Dependencies hidden in stored procedures, views, triggers and SQL Agent jobs never show up in the packages. When the login can reach the SQL Servers, the plan reads those definitions read-only. When it cannot, the report says so up front in a short caution and lists exactly which servers and permissions were missing. A plan that admits what it could not see is more useful than one that looks complete.</p><h3>Lessons learned while building it</h3><ol><li><strong>Control tables lie about dependencies.</strong> On real packages, one shared “last run” table created a false circular dependency across a whole project. Treating heavily shared tables as control tables fixed the plan instantly.</li><li><strong>File order is not flow order.</strong> Because SSDT saves objects alphabetically, the first version of the report listed tasks in a random-looking order. Reading the precedence constraints and the designer layout made the report match what developers see in Visual Studio.</li><li><strong>Be honest about blind spots.</strong> A local Windows account cannot authenticate to domain SQL Servers, so database look-ups often fail on a laptop. Instead of hiding that, the report shows a short caution and a per-server access summary with the exact permissions needed.</li><li><strong>Configuration over code.</strong> Weights, tiers, hours and planning rules all live in YAML. After the first real wave you recalibrate the file, not the tool.</li><li><strong>Explain every number.</strong> Each report ends with the exact rules, weights and assumptions behind its estimates, and the critical path shows its arithmetic step by step. People trust numbers they can check.</li></ol><h3>What’s next</h3><p>Analyse and Plan are live. Next comes <strong>Migrate</strong>: generating Fabric Data Factory pipelines and Spark notebooks from the analysed packages, deploying them to a Fabric workspace, and validating the results with row-count and checksum reconciliation.</p><p>If you are planning an SSIS-to-Fabric migration, or have lessons from one, I would love to hear from you. Leave a comment here.</p><p><em>The demo video uses anonymised sample data, and its narration is AI-generated.</em></p><p><strong>Tags:</strong> Microsoft Fabric · SSIS · Data Engineering · Data Migration · SQL Server</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51461b8900f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>