Compress (Data Management)

Summary

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

Usage

Syntax

Compress_management (in_workspace)
ParameterExplanationData Type
in_workspace

The ArcSDE database 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

ArcView: No
ArcEditor: Yes
ArcInfo: Yes

10/27/2014