Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Database toolset > Tools

Compress (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

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


Usage tips

Command line syntax
An overview of the Command Line window
Compress_management <in_workspace>

Parameter Explanation Data Type
<in_workspace>

The ArcSDE database to be compressed.

Workspace
Data types for geoprocessing tool parameters


Command line example

compress_management 'Database Connections\Connection to deerfoot.sde'

Scripting syntax
About getting started with writing geoprocessing scripts
Compress_management (in_workspace)

Parameter Explanation Data Type
in_workspace (Required)

The ArcSDE database to be compressed.

Workspace

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.toolbox = "management"
gp.compress("Database Connections\Connection to deerfoot.sde")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.