Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Replicate from Non-Partioned Table (Publisher) to a Partitioned Table (Subscriber) Expand / Collapse
Author
Message
Posted Sunday, May 5, 2013 9:26 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, July 14, 2014 4:36 AM
Points: 33, Visits: 455
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 ?
Post #1449568
Posted Monday, May 6, 2013 11:40 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 6:48 AM
Points: 7,094, Visits: 12,581
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
Post #1449818
Posted Tuesday, May 7, 2013 3:30 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: 2 days ago @ 1:21 PM
Points: 809, Visits: 1,160
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.
Post #1450347
Posted Tuesday, May 7, 2013 8:31 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 6:48 AM
Points: 7,094, Visits: 12,581
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
Post #1450387
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse