Synapse to fabric migration

BHVS 61 Reputation points
2024-07-21T05:02:56.7566667+00:00

Hi All,

We are using synapse dedicated pool database. We want to migrate synapse to fabric. is there any best approach to migration?

Thanks in Advance.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,973 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vinodh247 22,696 Reputation points
    2024-07-21T16:04:23.9633333+00:00

    Hi BHVS,

    Thanks for reaching out to Microsoft Q&A.

    The key is to start with a small pilot migration to prove viability, allow staff training, and create a repeatable migration process. Azure Synapse Pathway is recommended for migrating schemas and code, while tools like Hevo Data or PolyBase can be used for data migration. Careful planning upfront is critical to a successful migration.

    Migrating from Azure Synapse Analytics to Microsoft Fabric involves several steps and considerations. Here’s a structured approach to help you with the migration:

    1. Assess the Current Environment: Inventory and Dependencies:
    • List all databases, tables, stored procedures, and other database objects in your Synapse dedicated pool.
    • Identify dependencies, such as data sources, ETL processes, linked services, and pipelines.
    1. Plan the Migration by choosing the Right Tools:
    • Azure Data Factory (ADF) / Synapse Pipelines: For ETL and data movement.
    • Database Migration Service (DMS): To facilitate schema and data transfer.
    • Data Export/Import: Using tools like BCP, SQL Server Management Studio (SSMS), or Azure Data Studio.

    Define the Migration Strategy:

    • Schema Migration: Transfer the database schema to Fabric.
    • Data Migration: Move data from Synapse to Fabric.
    • ETL/ELT Pipelines: Migrate and/or rebuild ETL/ELT processes.
    • Testing: Validate data integrity and application functionality in the new environment.
    1. Schema Migration

    Export Schema:

    • Use SSMS or Azure Data Studio to generate scripts for database schema, including tables, indexes, views, and stored procedures.

    Modify Scripts for Fabric:

    • Adjust any platform-specific features or configurations to be compatible with Fabric.

    Deploy Schema to Fabric:

    • Execute the modified scripts in the Fabric environment.
    1. Data Migration

    Choose Data Transfer Method:

    • Bulk Copy (BCP): For large datasets.
    • ADF/Synapse Pipelines: For structured, controlled data migration.
    • PolyBase: If Fabric supports it, use for direct data transfer between Synapse and Fabric.

    Data Transfer:

    • Migrate data in batches to minimize downtime and handle large volumes efficiently.
    1. ETL/ELT Pipeline Migration

    Recreate Pipelines:

    • Rebuild ETL/ELT pipelines in Fabric using Fabric-native tools.
    • If using ADF, reconfigure existing pipelines to point to the new Fabric environment.

    Test Pipelines:

    • Run test jobs to ensure data is processed and loaded correctly.
    1. Validation and Testing

    Data Validation:

    • Verify data integrity by comparing data in Synapse and Fabric.
    • Use checksums or row counts to ensure completeness.

    Application Testing:

    • Test all applications and services that depend on the database.
    • Perform performance testing to ensure the new environment meets required SLAs.
    1. Cutover

    Final Data Sync:

    • Perform a final data sync to ensure the latest data is available in Fabric.
    • Minimize downtime by scheduling the final sync during a low-usage period.

    Switch Applications:

    • Update application connection strings to point to the Fabric database.
    • Monitor application performance and functionality closely after the switch.
    1. Post-Migration

    Monitoring and Optimization:

    • Continuously monitor the new environment for performance and stability.
    • Optimize database and query performance as needed.

    Documentation:

    • Document the migration process, configurations, and any changes made.
    • Update operational procedures and runbooks.

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.

    0 comments No comments

  2. Nandan Hegde 32,416 Reputation points MVP
    2024-07-22T03:28:20.7266667+00:00

    As of today, there is no direct equivalent of Synapse Dedicated pool in MSFT Fabric.

    The fabric warehouse is more of synapse serverless equivalent rather than Dedicated pool.

    And as of today, there are multiple limitations w.r.t SQL within fabric warehouse which are currently supported in Dedicated pool.

    So the migration scope would depend on identifying the current objects which are in your pool not supported within Fabric warehouse and work on proper plan to leverage either notebook or Dataflow Gen 2 for those transformations.

    https://www.linkedin.com/pulse/choosing-between-lakehouse-warehose-microsoft-fabric-jovan-popovic


Your answer

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