ArcGIS Desktop

  • Documentation
  • Support

  • 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

Migrate Storage

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

This tool is designed to change the data types used to store rasters in an enterprise geodatabase in Oracle, PostgreSQL, and SQL Server; geometries in geodatabases in Oracle and SQL Server; and BLOB objects in attribute columns in geodatabases in Oracle. This is done through the migration of raster, spatial, or BLOB objects using configuration keywords specified in the DBTUNE table.

Caution:

After migrating the data type, you must disconnect from and reconnect to the geodatabase to reload the column names. If you do not, subsequent actions executed on the newly migrated datasets may fail.

Usage

  • Add datasets you want to migrate to the Input Datasets list and specify the Configuration Keyword that contains the migration parameters.

  • You can use this tool to migrate existing binary, spatial, or raster columns from one storage type to another. See more about data migration from one storage type to another.

Syntax

MigrateStorage_management (in_datasets, config_keyword)
ParameterExplanationData Type
in_datasets
[in_dataset,...]

Datasets to be migrated.

Table View; Raster Layer; Feature Dataset
config_keyword

DBTUNE configuration keyword containing the appropriate parameter values for the migration.

String

Code sample

MigrateStorage example (stand-alone script)

The following stand-alone script demonstrates how to use the MigrateStorage tool to migrate the input dataset to the ST_Geometry geometry storage type.

# Name: MigrateStorage_Example.py
# Description: Migrates the input dataset to the ST_Geometry geometry storage type. 

# Import arcpy module
import arcpy

# Local variables:
inputDataset = "f:\\Connections\\Oracle on khyber.sde\\MAP.SBMigrate"

# Process: Migrate Storage
arcpy.MigrateStorage_management(inputDataset, "ST_GEOMETRY")

Environments

  • Current Workspace
  • Output CONFIG Keyword

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics

  • Migrate raster columns to the ST_Raster type
  • Oracle data types supported in ArcGIS
  • SQL Server data types supported in ArcGIS
  • An overview of the Geodatabase Administration toolset

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
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2017 Esri. | Privacy | Legal