ZODB.Packing and Garbage Collection
Documentation
If multiple object revisions are stored, then there must be a way to periodically pack the database to get rid of old object versions.
Even if multiple versions are not stored, objects may, overtime become garbage if they are no longer reachable from the system root object.
Databases provide a pack operation that removes old object versions, if any, and performs garbage collection.