Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Incremental Loading using sqlserver 2008 Expand / Collapse
Author
Message
Posted Monday, July 22, 2013 7:40 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 2:28 AM
Points: 16, Visits: 113
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
Post #1476016
Posted Wednesday, July 24, 2013 6:31 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:51 PM
Points: 7,140, Visits: 12,763
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
Post #1477034
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse