Applies to:
Brief description:
Replicating “Rebuild index” DDL operation (creating a redo script) with ApexSQL Log will:
Summary:
When ApexSQL Log is used for transactional replication of a SQL Server database to another “Subscriber” database, 1:1 Replication cannot be achieved and “phantom” insert statements are shown and replicated to a Subscriber database which can make imperfect replication of a transaction log database.
ApexSQL Log does not differentiate between these phantom insert operations and true inserts and it is not possible to exclude them from the replication job, not even in cases when replication is handled manually.
Furthermore, if database tables included in the transactional replication do not have set primary key on any columns, rebuild index operation will show as failed in the replication summary.
Resolution:
Due to the insufficient information in the transaction log files and ApexSQL Log limitations to identify phantom insert operations accompanying “Rebuild index” operations during the replication jobs, it is strongly suggested to exclude Rebuild index operations from any transactional replication jobs to avoid any potential de-sync issues.
Nevertheless, if “Rebuild index” operations are replicated in some cases, the following limitations/issues should be kept in mind:
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center