Compresses an enterprise geodatabase by removing states not referenced by a version and redundant rows.
To improve geodatabase performance, the geodatabase should be compressed periodically. A compressed geodatabase is more efficient. A geodatabase that is never compressed is more likely to develop errors.
Once a geodatabase is compressed, deleted records cannot be recovered.
Compression of geodatabases not only reduces space requirements but can also reduce overall retrieval times.
While the Compress tool is running, you can still view data in the geodatabase.
Only the geodatabase administrator can perform compression.
This tool is not applicable for enterprise geodatabases that do not use versioning.
This tool is not applicable for enterprise geodatabases that use branch versioning.
The database connection file that connects to the enterprise geodatabase to be compressed. Connect as the geodatabase administrator.
The compressed input geodatabase.
This stand-alone Python script uses the Compress tool to compress the geodatabase.
import arcpy arcpy.Compress_management("c:/Connection to brockville.sde")
- Basic: No
- Standard: Yes
- Advanced: Yes