User bio
404 bio not found
Member since Jun 3, 2016

Please check your Caché version before you use ^DATABASE to compact a database or defragment globals in a database as in older versions (pre-2014.1) database compaction and database defragmentation may cause corruption:


May 11, 2012 – Alert: Database Compaction and Database Defragmentation May Cause Corruption

InterSystems has identified a defect in the Database Compaction and Database Defragmentation feature that can cause the target database to become corrupt.

The Database Compaction and Database Defragmentation features were introduced in Caché and Ensemble versions 2010.2, and all releases 2010.2.0 and later are at risk.  This impacts all Operating Systems, except VMS where these features aren’t currently enabled.

The older global compaction utility, ^GCOMPACT, is not affected.

InterSystems recommends discontinuing the use of Database Defragmentation and Database Compaction.  An additional alert will be posted when a correction is available.

If either of these features, which appear in the ^DATABASE utility as options 13 (“Compact freespace in a database”) and 14 (“Defragment globals in a database”), have been used, an integrity check should be run against the database(s) in question to detect if any problems were introduced.

In addition, InterSystems is removing these options from the ^DATABASE menu for 2012.2, and for any future maintenance release beyond 2012.1.2.

If you have any questions regarding this, please contact InterSystems Worldwide Response Center (WRC).

This utility was re-introduced into Caché in version 2014.1 (

Certifications & Credly badges:
Can (Jon) has no Certifications & Credly badges yet.
Global Masters badges:
Can (Jon) has no Global Masters badges yet.
Can (Jon) has no followers yet.
Can (Jon) has not followed anybody yet.