Replicate partitioned Tables and Indexes

Source: Internet
Author: User

When initializing the Subscriber, replication is able to copy the Partition function and Partition schema of the partitioned table and partition index into subscriber so that table and index are in phase The same partition schema created. However, replication does not synchronize updates to the Partition function and Partition schema to subscriber, that is, only when the initial subscriber is copied, Partition function and Partition schema.

Quote "Replicate partitioned Tables and Indexes":

Replication supports partitioning by providing a set of properties then specify how partitioned tables and indexes should Be treated.

The first set of properties related to partitioning is the article schema options that determine whether partitioning obj  ECTS should is copied to the Subscriber. In the Article Properties page of the New Publication Wizard or the Publication Properties dialog box. To copy the objects listed in the previous table, specify a value of true for the properties copy table Partit Ioning schemes and Copy index partitioning schemes.

Replication copies objects to the subscriber during the initial synchronization. If the partition scheme uses filegroups other than the PRIMARY filegroup, those filegroups must exist on the subscriber be Fore the initial synchronization.

After the subscriber is initialized, data changes was propagated to the subscriber and applied to the appropriate partitio Ns. However, changes to the partition scheme is not supported. Transactional and merge replication don't support the following commands:alter PARTITION FUNCTION, ALTER PARTITION Schem E, or the REBUILD with PARTITION statement of ALTER INDEX. Merge replication does not support the SWITCH PARTITION command of ALTER TABLE, but transactional replication does, as Des Cribed in the following section.

Replicate partitioned Tables and Indexes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.