SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Incremental Loading using sqlserver 2008


Incremental Loading using sqlserver 2008

Author
Message
rahulsahay123
rahulsahay123
SSC-Enthusiastic
SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)SSC-Enthusiastic (123 reputation)

Group: General Forum Members
Points: 123 Visits: 153
I have a scenario where I have to calculate the incremental data ( insert,update and delete). The architecture is as follow:

SSIS packages pull data from Server_A (oracle application) and dumps to Server_B(SQL SERVER also called staging server). then business logic is applied and data is transformed to the desired format using View in sqlserver 2008. Data is dumped to the target tables(Sqlserver) using ssis packages and then for each target tables CSV's are generated which is send to the 3rd party who uses it to build the dataware house.
there are around 100 tables which I pulls from Server_A to Server_B everytime I am refreshing the data. Now I need to pull only the delta and apply the business logic and generate the csv's only for the delta.

i reviewed the Server_A tables. i couldnot find any modified date column or flag which i can use to calculate the delta.

Then i used the checksum equivalent in oracle in server_A and calculated the delta. But then i am facing issue in building the history.

Another approach i tried is by dumping all the data to the staging server and then apply checksum to calculate the delta. so in this approach i need to first run the packages for full load and then for calculating delta. Now this approach is having performance issue and moreover the client is not approving this architecture.

Can you please help me building the logic for calculating the delta?

Thanks
Rahul Sahay
Email: rahulsahay123@gmail.com
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)SSC-Dedicated (38K reputation)

Group: General Forum Members
Points: 38954 Visits: 14411
This is more of an engineering problem related to Oracle, not SQL Server. Does Oracle have anything analogous to SQL Server Change Tracking or Change Data Capture?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search