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


Replicate from Non-Partioned Table (Publisher) to a Partitioned Table (Subscriber)


Replicate from Non-Partioned Table (Publisher) to a Partitioned Table (Subscriber)

Author
Message
stanley_1982
stanley_1982
SSC Veteran
SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)

Group: General Forum Members
Points: 221 Visits: 482
Is it possible to Replicate from a Non-Partioned Table (Publisher- Standard edition) to a Partitioned Table (Subscriber- Enterprise edition) using Transactional Replication SQL SERVER 2005 (Pull Subscription) ? Will the Distribution agent detect the different schema on table level and does not allow the replication ?
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39636 Visits: 14412
You may need to initialize the Subscription without a Snapshot or with special Schema Options such that the DDL is not affected on the Subscriber when initialized but other than that consideration I cannot see why that would be a problem. Replication of the data itself occurs at the DML level so the Distributor is just sending the commands across and has no interest in the underlying physical implementation of the table.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Neeraj Dwivedi
Neeraj Dwivedi
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2029 Visits: 1341
The only way I know you can set up a replication by creating a snapshot or initialize with backup. In both cases you have to have the same schema in subscriber as in publisher.But once you have the replication set up, then partition the table in subscriber.

Haven't done that by myself so can not say for sure that it will work or not but worth trying.
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39636 Visits: 14412
Neeraj Dwivedi (5/7/2013)
The only way I know you can set up a replication by creating a snapshot or initialize with backup. In both cases you have to have the same schema in subscriber as in publisher.But once you have the replication set up, then partition the table in subscriber.

Haven't done that by myself so can not say for sure that it will work or not but worth trying.

That's not really true if you initialize without a snapshot.

Initializing a Transactional Subscription Without a Snapshot

Like I said. Replication should not care about physical schema features. If the Subscriber table has the same columns and data types but has multiple partitions where the Publisher only has a single partition replication will still be fine.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
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