ArcGIS Pro 3.0.1: What is the benefit of compressing a FILE geodatabase?

457
2
09-25-2022 10:49 PM
JamalNUMAN
Legendary Contributor

ArcGIS Pro 3.0.1: What is the benefit of compressing a FILE geodatabase?

 

For example, it’s clearly said the benefit of compacting but there is no clue when it comes to compressing

 

Clip_239.jpgClip_240.jpg

 

 

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
2 Replies
JohannesLindner
MVP Frequent Contributor

Both tools reduce the file size of the gdb.

Compress reduces the space that the gdb (or single feature classes) needs on the hard drive. This is done by saving the table/gdb in a different (smaller), read-only format.

Compact defragmentizes the gdb. While that can change the size of the gdb, this change is due to the gdb using the space on the hard drive more efficiently, not any actual reduction of size. 

 

Equivalents in your operating systems (in purpose, not in implementation) would be:

  • Compress: generating a zip file
  • Compact: defragmenting your hard drive

 

You should use Compact from time to time, especially if you do lots of work in the gdb. Not only does it reduce file size, but it should also make reading and writing somewhat faster. EDIT: This is only useful for HDDs. SSDs don't get faster when you defragment them.

Compress seems like a relic from a time when file size mattered much more. It's a way to archive a gdb when you don't need to write to it anymore. It can reduce the size of the gdb by huge amounts, but disc space is cheap now, so you don't neccessarily need this tool.


Have a great day!
Johannes
BarryNorthey
Occasional Contributor III

The ability to make all or certain parts of an FGDB read-only can be useful in the case of simultaneous multi-user access to the same FGDB.