Incremental Loading using sqlserver 2008

  • 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

  • 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

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply