Row- and column-level filtering is not supported. Tables are either mirrored or not.
Destination schema (crm7 vs dbo)
The client preserves the source schema by default, typically crm7. Most replicated tables therefore end up as crm7.contact, crm7.person, crm7.sale, and so on.
If your downstream applications expect tables in dbo (or another schema), you can override the destination with the TablePrefix setting in appsettings.json:
[!IMPORTANT]For details on choosing the right schema during a migration, see Schema alignment.TablePrefixonly takes effect during the initial snapshot. It must be set before you runprovision. Changing it after provisioning does not move tables between schemas.
Session state: the _ReplicationState table
The client maintains one internal table in the replica database: _ReplicationState. It is created automatically during provision and stores:
- The session identifier and tenant context.
- The encrypted access and refresh tokens (encrypted with Windows DPAPI,
LocalMachinescope). - Replication progress offsets per Kafka topic and partition.
- The schema hash per replicated table.
Do not edit, truncate, or drop
_ReplicationState manually. If you need to start over, use resync-tables or, in extreme cases, re-provision against an empty database.Indexes and other auxiliary objects
The client creates and maintains only the replicated tables themselves. Any indexes, views, synonyms, or triggers you need on the replica must be created and maintained by you. Good places to do this in your own deployment:- As part of an initial post-
provisionsetup script. - After table changes detected through
update-schema.
Blocked tables
The replica contains a useful subset of the source database, not an exact copy. Tables that fall into one of the following categories are excluded:- Irrelevant - for example
travelgeneratedtransaction. - Not useful for analytics, for example
traveltransactionlog,countervalue. - Confidential - for example
credentials. - Binary blobs and dictionary cache - the
binaryobjecttable and dictionary information tables are excluded to keep the replica cleaner and faster.