Load data

Loading data is a common data management task used to incorporate data from different sources. This process takes place with existing datasets in your geodatabase.

There are two primary ways to load data.

  • Cut, Copy, Paste, or Paste Special
  • Append data

Both options produce similar results, but each has a distinct workflow depending on the sources and how the data is loaded.

Tool/workflowOutputConsiderations/use cases
Cut/Copy, Paste/Paste Special

Updated dataset

Use this workflow to copy features from one dataset and paste within the same dataset or another.

Append

Updated dataset

Use this tool to update existing datasets such as feature classes, tables, shapefiles, rasters, annotation, or dimension feature classes.

Cut, Copy, Paste, or Paste Special

Copy Copy, Cut Cut, and Paste Paste allow you to copy selected features and their attributes to the clipboard and paste them to the same feature layer with maps in the same project. These tools are available on the Edit ribbon tab, in the Clipboard group.

To learn more about the Copy Copy, Cut Cut, and Paste Paste functions, see Copy and paste using the clipboard.

Learn more about the steps to paste features to a different layer, with Paste Special Paste. This method provides an option to paste features with field mapping values.

Append data

You can access the Append geoprocessing tool to add new features or other data from multiple datasets to an existing dataset.

To append data to an existing dataset, complete the following steps:

  1. To append data to an existing dataset, open the Append geoprocessing tool from one of several locations, including a context menu under the Catalog pane, using the Analysis tab, or directly from the Geoprocessing pane.
    • Catalog pane—Right-click the feature class or table that you want to append data to and choose Load Data.

      Load Data on context menu

    • Ribbon—Select a layer in the Contents pane. Click the Analysis tab and click Append from the drop-down menu in the Tools group.

      Append tool under Analysis tab in the Tools group

    • Ribbon—Click the Analysis tab and click Tools in the Geoprocessing group. Search for or browse to the Append tool in the Data Management Tools toolset, in the General toolbox.

      Append tool under Analysis tab, Tools, and Geoprocessing

    The Append geoprocessing tool dialog box appears with default settings.

    Append geoprocessing tool

  2. For Input Datasets, use the browse button Browse to select one or more datasets containing the data to be appended to the target dataset.
    Note:

    • There must be at least one layer in the map for the Add Many button Add Many to appear.
    • Use Add Many Add Many next to Input Datasets to add multiple datasets at once.

  3. Optionally, load an expression file or manually create your own SQL query expression to select a subset of the dataset's records.

    If an input dataset was selected from the map and has selected records, the Append tool will process those selected records as a subset.

  4. For Target Dataset, use the browse button Browse to select the existing dataset where the data from the input dataset will be appended.
  5. Optionally, for Field Matching Type, from the drop-down menu, choose the option that specifies whether the fields of the input datasets must match the fields of the target dataset for data to be appended.
    • Input fields must match target fields—The schema of the input datasets must match that of the target dataset to append features.
    • Use the field map to reconcile field differences—The schema does not need to match. Fields from the input datasets that do not match the fields of the target dataset will not be mapped to the target dataset unless the mapping is set in the Field Map parameter. Fields in the target dataset that are not mapped to fields from the input datasets will contain null values.
    • Skip and warn if schema does not match—The schema of the input datasets must match that of the target dataset for features to be appended. If an input dataset contains fields that do not match fields in the target dataset, that input dataset will be omitted.
  6. Click Update Options to expand an additional option for matching fields for the update. If you do not need to match fields, skip to step 8.
  7. Optionally, under Update Options, for Matching Fields for Update, set the following:
    • Target Fields—From the drop-down menu, select one or more fields from the target dataset that will be used to match fields from Input Fields.
    • Input Fields—From the drop-down menu, select one or more fields from the input dataset that will be used to match fields from Target Fields.
  8. Click Run to append your data.

    Note:

    You can click the Run drop-down menu and select Schedule Run to run the tool at a later date and time and, optionally, with recurrence.

    Schedule Run

    Learn more about scheduling geoprocessing tools

Learn more about the Append tool

Spatial reference

All datasets, except tables, have a spatial reference with a coordinate system that defines how its locations are georeferenced. When appending data from another dataset or using Cut, Copy, and Paste Special on features from another dataset, the appended data will be projected to the target dataset coordinate system if they differ.

Learn more about spatial references

Spatial index

Spatial indexes are used to improve spatial query performance. When data is copied or appended to an existing spatial dataset, deleting the spatial index is not required prior to the data load operation. However, when loading a large number of features to an existing feature class, deleting the spatial index can improve the performance of the data–loading operation. The spatial index can then be recreated after the features have been added. Rebuilding, recalculating, or creating a spatial index for a feature class in an enterprise geodatabase is a server-intensive operation. It should not be done on large feature classes when many users are logged in to the server.

Learn more about managing spatial indexes

Enterprise geodatabases

The following areas must be considered when loading data in an enterprise geodatabase.

Privileges

When you load data in an enterprise geodatabase, privileges are required. The following table indicates which user privileges can load data in an enterprise geodatabase:

Data userCut/Copy, Paste/Paste SpecialAppend

Data Owner

YesYes

Editor

YesYes

Viewer

Learn more about enterprise geodatabase access and privileges

Nonversioned data

When loading data into a nonversioned dataset, the loaded data is committed to the database as a single transaction and is immediately available to other users with read access upon the next refresh.

Traditional or branch versioned data

When possible, it is recommended that you perform large data loads prior to registering the data as versioned. However, loading data into a specific version, such as a bulk import, may be needed for quality assurance workflows in which the data can be tested and approved before merging them to the published version for others to view, edit, or analyze.

When using the Append tool to load data with versioned datasets, pay close attention to what version the data source is pointing to for the input parameter, as this will determine which version the data will be loaded.

For example, the Input Datasets parameter on the Append tool has two options for choosing an input dataset.

  • The browse button Browse
  • The Add Many button Add Many, which appears when there are layers in the active map view
These two Input Datasets parameter options may be referencing different versions.

When loading data into a versioned feature class or table, the data load will not be seen in other versions until a reconcile and post operation has occurred.

Traditional versioned workflows may require an additional workflow step of compressing the geodatabase after reconcile and post operations.

The following examples describe how data loads may impact versioning workflows (traditional or branch).

  • Load data into default version. All users who have read access to the versioned feature class or table will see the new data in the default version.
  • Load data into default version, with a child version. If data is loaded into the default version, only users with read access to the feature class or table will see the new data in the default version. The data will only be seen in the child version after a reconcile with default.
  • Load data into child version. Only users with read access to the data see the new data in the child version if it is public or protected. The data will only be seen in the default version after a reconcile and post from the child version.
Note:

In some cases, a refresh may be needed to see the new data. To perform a version refresh, click the Versioning tab on the ribbon, and click Refresh in the Map View group.

Learn more about importing or converting data from other sources