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

Specify the database connection file that connects to the enterprise geodatabase to be compressed. Connect as the geodatabase administrator.

Workspace

Code Sample

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

import arcpy
 
arcpy.Compress_management("c:/Connection to brockville.sde")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015