Compress (Data Management)

License Level:BasicStandardAdvanced

Summary

Compresses an enterprise geodatabase by removing states not referenced by a version and redundant rows.

Usage

Syntax

Compress_management (in_workspace)
ParameterExplanationData Type
in_workspace

The enterprise geodatabase to be compressed.

Workspace

Code Sample

This stand-alone Python script uses the Compress tool to compress the geodatabase.

import arcpy
 
arcpy.Compress_management("Database Connections\Connection to brockville.sde")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013