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


Replicating/Update Remote Server


Replicating/Update Remote Server

Author
Message
Jako de Wet
Jako de Wet
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1683 Visits: 215
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.
Orlando Colamatteo
Orlando Colamatteo
SSC Guru
SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)SSC Guru (104K reputation)

Group: General Forum Members
Points: 104650 Visits: 14506
Have you explored Change Tracking?

Change Tracking Overview

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
ESAT ERKEC
ESAT ERKEC
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3267 Visits: 1088
Maybe SSIS execute sql task
MysteryJimbo
MysteryJimbo
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13319 Visits: 15346
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.
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