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

  • 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 ?

  • 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

  • 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.

  • 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

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply