Groups | Blog | Home
all groups > sql server replication > june 2006 >

sql server replication : Central subscriber question


Kevin3NF
6/19/2006 9:59:15 PM
This could be for 2000 or 2005...all my experience is with 2000...

Transactional replication.

I need to set up a Central Subscriber to be a reporting server, subscribing
to 80 different database that are identical in schema (each db is a
different facility). I cannot alter the schema of the publishers...3rd
party application.

The part I need opinions on is how to differentiate which database the data
came from as it goes into the subscription db.

I have tested pulling the HOSTNAME from sysprocesses in the Update and
Insert stored procs, and that works just fine, but these 80 databases will
all be on the same host.

Any suggestions?

--
Kevin Hill
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.expertsrt.com - not your average tech Q&A site



Paul Ibison
6/20/2006 12:00:00 AM
Kevin,
could you add indexed views to the publisher? I know you can't change the
schema, but this might not be regarded as a change. It could become a pain
if there are a lot of tables but if we are talking about only a handful it
should be possible, using a hardcoded hostname on each publisher's indexed
views.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Hilary Cotter
6/20/2006 12:00:00 AM
performance with transformable subscriptions is not good. Its not really
scalable. It was intended for replicating to heterogeneous subscribers where
you could not modify the data in flight in your stored procedure.

--
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]

Hilary Cotter
6/20/2006 5:35:19 AM
Its not clear to me whether the data in these subscriber databases will be
identical or different. If they are to be different you could use a custom
sync object for each one.

--
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]

Kevin3NF
6/20/2006 6:31:26 AM
Sorry...that would be regarded as a change. And while I have not sen the
schema yet (bidding the project), the nature of the application implies a
large number of tables...

--
Kevin Hill
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.expertsrt.com - not your average tech Q&A site



[quoted text, click to view]

Kevin3NF
6/20/2006 6:33:27 AM
The data in the publishers is different (except possibly for the keys. I
am assuming INTs here). All of the data will be in one subscriber for
reporting purposes.

I have to look up "custom sync object." I may know it by a different name.

Might transformable subscriptions be relevant? Have not tested or used them
in the past

--
Kevin Hill
3NF Consulting
www.3nf-inc.com/NewsGroups.htm




[quoted text, click to view]

AddThis Social Bookmark Button