4

I know you can use polybase using external table to load large volume of data from Blob Storage to Azure SQL DW. But is there any possibility that we can import the data from SQL DW to another SQL DW using polybase directly? Or is there some other way? There must be some way to avoid control node in both SQL DW.

3 Answers 3

8

You might be better off using Azure Data Factory to move data between two Azure SQL Data Warehouses. It would make light work of moving the data, but beware any data movement costs, particularly moving across region. Start here. Check the 'Use Polybase' checkbox.

If you do just want to use Polybase and Blob Storage, then you would have to:

  1. first export the data from the source system internal tables to blob store using CETAS.
  2. in the target system create external tables over the files in blob store
  3. n the target system import the data from the external tables into the database using CTAS.
Sign up to request clarification or add additional context in comments.

2 Comments

Thank you. I think CETAS->Blob->CTAS is way to go. I couldn't find any better solution
Consider marking that as an answer if you have found it helpful.
2

As far as I know, you have to use PolyBase and either Blob Storage or Data Lake Store to get the maximum throughput (bypass the control node)

Comments

2

You can create a new SQL DW from a geo-backup which should be a complete copy of the SQL DW with a 24 hour SLA. First click on create new SQL DW and select backup as an option as opposed to blank or sample.

2 Comments

This is potentially a good option @hirokibutterfield if you want to duplicate an entire warehouse. I think there are some constraints around where you can restore from, for example can you only restore from between paired data centers?
You can restore into any data center but the costs and time to restore vary. The paired region is the fastest and cheapest, followed by the original region, and slowest and most expensive is any other data center as you incur egress charges.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.