Re: Replication, GUIDs and PKs
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Wed, 20 Sep 2006 13:08:31 -0400
If the data flow is in one direction you could use transactional
replication. This way you wouldn't be forced to use the GUID for pks. If it
is bi-directional you should use merge replication and the GUIDs would be
essential. Unfortunately unless you are careful merge replication will add
its own guid column to use as a pk.
The question is do you want to rip out what is in place and replace it with
replication. It sounds like a big undertaking.
--
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
"Michael MacGregor" <nospam@xxxxxxxxxx> wrote in message
news:%23J82i3M3GHA.1548@xxxxxxxxxxxxxxxxxxxxxxx
Here's an example table, which other than the name, I pulled directly from
the database:
CREATE TABLE [dbo].[MacExample](
[ID] [uniqueidentifier] NOT NULL,
[CreateDate] [datetime] NOT NULL,
[Status] [tinyint] NOT NULL,
CONSTRAINT [PK_Accounts] PRIMARY KEY CLUSTERED
([ID] ASC) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
I discovered on Monday that SQL Replication is not being used at all,
instead it is a home-made remedy using MSMQ. Not sure how many subscribers
there are but there are multiple databases, and for each database there
are multiple subscribers, but subscribers do not subscribe to multiple
databases so the subscribers for one database are at entirely different
locations thatn subscribers for another database. For one of the
databases, I believe there are approx. 30 subscribers.
Michael MacGregor
Database Architect
.
- Follow-Ups:
- Re: Replication, GUIDs and PKs
- From: Michael MacGregor
- Re: Replication, GUIDs and PKs
- References:
- Replication, GUIDs and PKs
- From: Michael MacGregor
- Re: Replication, GUIDs and PKs
- From: Hilary Cotter
- Re: Replication, GUIDs and PKs
- From: Michael MacGregor
- Re: Replication, GUIDs and PKs
- From: Michael MacGregor
- Re: Replication, GUIDs and PKs
- From: Hilary Cotter
- Re: Replication, GUIDs and PKs
- From: Michael MacGregor
- Re: Replication, GUIDs and PKs
- From: Hilary Cotter
- Re: Replication, GUIDs and PKs
- From: Michael MacGregor
- Replication, GUIDs and PKs
- Prev by Date: Re: Make Message failed
- Next by Date: Re: Lock:Timeout errors in Rep process
- Previous by thread: Re: Replication, GUIDs and PKs
- Next by thread: Re: Replication, GUIDs and PKs
- Index(es):
Relevant Pages
|