Quantcast
Viewing all articles
Browse latest Browse all 15889

Update strategy on Partitioned Table?

Hi All,

Working on Partitioning on SQL Server 2012. I would like to know the beast way to Implement update strategy on Partitioned Table.

Below are the Steps we have for that Table.

Source Table: Table_A

Staging Table: Table_B 

Target Table: Table_C (In My DWH this table is Master Table)

every day I am loading data from Source to Staging table based on Transaction Date And from stage to Target based on transaction Date but we have Target Lookup on column EMP_ID. So this will allow only new EMP_ID to insert in my Target Table.

Now I am doing bulk update of Target Table from Staging Table based on EMP_ID column.

This completed process taking more than 8 hours every day.

So though to implement daily Partition on Target Table on Transaction date Column & Load evryday data into Table_C_IN & after load Switch this data to main table. But Still Update will take hell of time.

So need to know there is any other way I can make this process easy by partitioning table & looking for bast Strategy for update.


Thanks Shiven:) If Answer is Helpful, Please Vote


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>