How to combine two Azure Synapse instances without migrating data?

Mark David 0 Reputation points
2023-09-22T07:27:35.8933333+00:00

I currently have two separate instances of Azure Synapse that contains databases with similar names and structures. I would like to access them combined without migrating the data of one to the other (using ADF). Is there are way to link those two separate instances together, and appear as one instance?

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,870 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 23,251 Reputation points
    2023-09-22T14:37:00.35+00:00

    You can use external tables which are a type of table that points to data that is stored outside of Azure Synapse Analytics. Suppose that ypu create this table :

    CREATE EXTERNAL TABLE Sales (
        CustomerID INT,
        ProductID INT,
        Quantity INT,
        Price DECIMAL(10,2)
    )
    LOCATION ('https://instancea.synapse.net/Sales/;
                     https://instanceb.synapse.net/Sales/')
    FILE_FORMAT = PARQUET
    

    You can query it as if it were a regular table in Azure Synapse Analytics. :

    SELECT * FROM Sales
    

    In this way, Azure Synapse Analytics will automatically merge the data from the two separate Azure Synapse instances into a single result set.


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.