
Explanation:
Partition switching is a metadata-only operation in Azure Synapse Analytics that allows you to quickly exchange data between tables with identical schemas and partition structures. This operation is extremely fast because it doesn't physically move data - it only updates metadata pointers.
Option C: Switch the first partition from stg.Sales to dbo.Sales ✅
Option A: Insert the data from stg.Sales into dbo.Sales ❌
Option B: Switch the first partition from dbo.Sales to stg.Sales ❌
Option D: Update dbo.Sales from stg.Sales ❌
This approach aligns with Azure Synapse Analytics best practices for high-performance data loading in partitioned tables.
Ultimate access to all questions.
You have an Azure Synapse Analytics dedicated SQL pool named Pool1 containing a partitioned fact table named dbo.Sales and a staging table named stg.Sales with identical table and partition schemas. You need to overwrite the content of the first partition in dbo.Sales with the content of the corresponding partition in stg.Sales while minimizing load times. What should you do?
A
Insert the data from stg.Sales into dbo.Sales.
B
Switch the first partition from dbo.Sales to stg.Sales.
C
Switch the first partition from stg.Sales to dbo.Sales.
D
Update dbo.Sales from stg.Sales.
No comments yet.