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 for 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

Schema changes

Available with Standard or Advanced license.

Applying schema changes in replicas involves several steps. For example, to find schema differences between a replica geodatabase and another relative replica geodatabase, you can run the compare replica schema command from the first replica geodatabase. The schema changes file generated from this describes what changes need to be applied to the replica geodatabase in order to match the relative replica geodatabase. To apply these changes, you can run the import schema changes command from the replica geodatabase and import the changes from the changes file.

In a connected environment, follow the steps in Comparing replica schemas to compare replicas and Importing a replica schema to import the changes.

In a disconnected environment, before you can compare replica schemas, you first need to export the schema to a file and send it to the relative replica for comparison and import. See Exporting a replica schema to learn how to do this.

Tip:
You can run the import wizard to see the differences and exit without applying changes. The wizard also allows you to choose to apply only some of the schema changes.
Note:

You can also update the schema of a parent geodatabase from a child geodatabase by switching the parent and child references in the steps below.

The following steps describe how to update the schema of a child geodatabase from a parent geodatabase using one-way or two-way replication:

  1. Open ArcCatalog.
  2. Right-click the child geodatabase and click Distributed Geodatabase > Compare Replica Schema.
  3. Check the Geodatabase bullet and browse to the parent geodatabase.
  4. Select the correct replica for Replica Name.
  5. Specify a name and location for Output replica schema changes XML file.
  6. Click Finish.

    This creates an XML file with the schema changes.

  7. Right-click the child geodatabase and click Distributed Geodatabase > Import Replica Schema.
  8. Browse to the location of the XML file designated in step 5.
  9. Click Next and click Finish.

Related topics

  • Working with schema changes
  • Exporting a replica schema
  • Comparing replica schema
  • Importing a replica schema

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

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