ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

A quick tour of synchronizing disconnected replicas

Available with Standard or Advanced license.

  • Exporting data change messages
  • Exporting acknowledgment messages
  • Importing messages

For replicas in a disconnected environment, synchronization is achieved through a process of manually exchanging messages between replicas.

Two types of messages can be exchanged: data change messages and acknowledgment messages. Data change messages contain data changes, while acknowledgment messages acknowledge the receipt of data change messages. Replicas that are data senders send data change messages, while replicas that are data receivers send acknowledgment messages. See disconnected synchronization for more information.

Note:
The import phase of the synchronization process occurs within a transaction. The second phase of a synchronization includes a reconcile operation, which also occurs in a transaction. Resources needed, such as undo space or logical log files, vary with the number of changes to be synchronized. If the import phase completes but the reconcile phase results in an error, the replica will appear as if in conflict, and you can later go in and complete the reconcile operation manually.

Exporting data change messages

Data changes include new data changes and unacknowledged data changes. New changes are any inserts, updates, and deletes applied to the replica version since the last data change message was exported. Unacknowledged data changes include previously exported changes for which you have not received an acknowledgment. There are two commands available to export data change messages:

  • Export Data Changes Message—By default, this command exports all new data changes and all unacknowledged data changes. You can choose whether or not to include new data changes or whether or not to include unacknowledged data changes. You can also choose to switch the replica from sender to receiver on export. If you choose to switch, a flag is added to the delta file that causes the relative replica to switch from receiver to sender on import.
  • Re-export Unacknowledged messages—This command re-exports only unacknowledged data changes to a delta file. By default, all unacknowledged changes are included, but you can choose to only include the changes from the most recent export.

Exporting acknowledgment messages

An acknowledgment message acknowledges the receipt of data changes from the relative replica. Unless the relative replica receives an acknowledgment, it will resend the data changes. Adopting the practice of regularly sending and importing acknowledgment messages prevents you from having to resend changes. The export acknowledgment message command can be used to export acknowledgment messages.

Importing messages

The import message command can import either data change messages or acknowledgment messages. Importing an acknowledgment message updates a replica's metadata such that it knows what changes to include in the next export. Importing a data change message applies data changes from the relative replica and also updates the replica's metadata.

Reconcile options

When importing a data change message, the synchronization version and the replica version are reconciled. During this reconcile operation, conflicts may occur. Before importing the message, you can choose a reconcile policy to define how to handle conflicts.

Learn more about Reviewing conflicts

Reconcile policies include the following:

  • Manual—With this policy, if a conflict occurs, the reconcile operation is aborted, and the replica is marked as in conflict. This gives you an opportunity to perform the reconcile operation afterwards either manually or by running some custom reconcile code. Once the data is reconciled and the changes are posted to the replica version, the replica is no longer in conflict. While the replica is in conflict, it can continue to receive changes but cannot send changes.
  • In favor of the database—In this case, the representation of the database importing the changes is used over the changes in the delta file if there is a conflict. Since the conflicts are resolved automatically, the replica is never in a conflict state after synchronizing with this policy.
  • In favor of the imported changes—Here, the representation defined by the imported changes are used over the replica's representation automatically if there is a conflict. Since the conflicts are resolved automatically, the replica is never in a conflict state after synchronizing with this policy.

The default is the option that favors the parent replica. Therefore, if importing changes on the child replica, the default is in favor of the imported changes. If importing changes on the parent replica, the default is in favor of the database.

Note that the reconcile options are similar to those offered for synchronizing connected replicas.

Defining Conflicts

You can also choose between column level and row level conflict detection for this reconcile operation.

Learn more about Reconciling a version.

Related topics

  • What is synchronization?
  • A quick tour of synchronizing connected replicas
  • Connected and disconnected replication

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal