|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Thursday, April 11, 2013 2:25 AM
Points: 85,
Visits: 137
|
|
Hi everyone
I was wondering what the best solution/practice would be for the following scenario:
We have a complex data structure with many tables creating one product, there are +- 20 million records. These products get updated on a daily basis and anywhere from 100K - 1 million records are affected each day.
We have a online read only database as well that holds a watered down version of the product record, a basic flat structure of the most crucial fields.
What would be the best way to keep the online version up to date, but have it updated outside of working hours?
I have 2 ideas, but not sure if either are the best or even plausible.
1. Create the update/insert queries that will populate the online version and that will connect form our internal system to the online version and run it as a job each night at a certain time.
2. Setup some sort of replication, Log shipping? I realize that in this option, I will need to create a local version of the online table(s) and populate it with the same queries used in step 1, but then the replication will handle the actual data transfer etc.
Or is there another way of simplifying this task?
Thank you.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 1:07 PM
Points: 6,826,
Visits: 11,951
|
|
Have you explored Change Tracking?
Change Tracking Overview
__________________________________________________________________________________________________ There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 7:09 AM
Points: 222,
Visits: 715
|
|
| Maybe SSIS execute sql task
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 2:25 AM
Points: 1,125,
Visits: 14,518
|
|
ESAT ERKEC (9/25/2012) Maybe SSIS execute sql task
This gets my vote as what you after is a denormalised version of the data which logshipping and replication is not going to give you (without a lot of development anyway).
With some sort of change tracking, timestamp etc you can update only what has changed as well.
|
|
|
|