all groups > sql server replication > september 2006 >
You're in the

sql server replication

group:

Sql db sync


Sql db sync mecn
9/14/2006 3:35:20 PM
sql server replication: Hi, all

We have prod. database and test db(new version of prod, table fields
changed).
Production db has users connected and updating records and I need to have
user transactions in production db updated in test db as well.
I can't use log shipping to sync them because of the table structures a
little diff or some datatype changed in new version(test db).

I can't do the DTS neither. It may have too many tables effected.

What is the best way to do the sync.

thanks in advance

Re: Sql db sync Hilary Cotter
9/14/2006 3:46:36 PM
I think transactional replication will work best for you.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: Sql db sync mecn
9/14/2006 3:49:15 PM
Thanks,
You are saying transactional rep. sync the tables with diff structure?



[quoted text, click to view]

Re: Sql db sync Hilary Cotter
9/14/2006 3:58:03 PM
Yes, have a look at this article for more info.

http://www.dbazine.com/sql/sql-articles/cotter1

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: Sql db sync mecn
9/14/2006 4:38:53 PM
very helpfull
Thanks a lot.


[quoted text, click to view]

Re: Sql db sync mecn
9/14/2006 4:45:38 PM
thanks,
How do I use log shipping?
Any detail info that I could read?

Thanks

[quoted text, click to view]

Re: Sql db sync Paul Ibison
9/14/2006 8:52:17 PM
You could still use log-shipping, and have views alter the schema where
necessary. Alternatively you could use transactional replication with schema
changes presented by using indexed views.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Re: Sql db sync mecn
9/15/2006 12:00:00 AM
Thanks all for your help!!!


[quoted text, click to view]

Re: Sql db sync Hilary Cotter
9/15/2006 7:16:05 AM
Here is an article which details how to do it without using the SQL Server
Enterprise Edition Wizards. Note you don't need Enterprise Edition for log
shipping, although Paul's article is specifically for Enterprise Edition.

http://www.sql-server-performance.com/sql_server_log_shipping.asp

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: Sql db sync Paul Ibison
9/15/2006 9:29:34 AM
For setting it up:
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/logship1.mspx
As for the views part, you'd have to have another database which contained
any necessary views on the subscriber.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com




AddThis Social Bookmark Button