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 05, 2013 9:26 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, August 06, 2013 10:34 PM
Points: 33, Visits: 450
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 06, 2013 11:40 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:25 AM
Points: 7,070, Visits: 12,523
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

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1449818
Posted Tuesday, May 07, 2013 3:30 PM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Today @ 5:33 PM
Points: 743, Visits: 1,067
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 07, 2013 8:31 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:25 AM
Points: 7,070, Visits: 12,523
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

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1450387
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse