SalesFact contains ...
 
Notifications
Clear all

SalesFact contains sales data from the past 36 months and has the following characteristics:

1 Posts
1 Users
0 Likes
164 Views
 Tuan
(@shippertuan)
Noble Member
Joined: 2 years ago
Posts: 713
Topic starter  

DRAG DROP

You have a table named SalesFact in an enterprise data warehouse in Azure Synapse Analytics.

SalesFact contains sales data from the past 36 months and has the following characteristics:

✑ Is partitioned by month

✑ Contains one billion rows

✑ Has clustered columnstore indexes

At the beginning of each month, you need to remove data from SalesFact that is older than 36 months as quickly as possible.

Which three actions should you perform in sequence in a stored procedure? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Show Answer Hide Answer

Suggested Answer:

Explanation:

Step 1: Create an empty table named SalesFact_work that has the same schema as SalesFact.

Step 2: Switch the partition containing the stale data from SalesFact to SalesFact_Work. SQL Data Warehouse supports partition splitting, merging, and switching. To switch partitions between two tables, you must ensure that the partitions align on their respective boundaries and that the table definitions match.

Loading data into partitions with partition switching is a convenient way stage new data in a table that is not visible to users the switch in the new data.

Step 3: Drop the SalesFact_Work table.


   
Quote

Latest Microsoft DP-203 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: