Skip to main content

CompressFiles

Specify whether to compress completed journal files.

Synopsis

[Journal]    CompressFiles=n

n is either 1 or 0. The default is 1.

Description

When CompressFiles is enabled (n=1), InterSystems IRIS® data platform automatically compresses finished journal files. The system periodically scans for completed journal files and compresses them using Zstd compression. The active journal file is not compressed until it is completed.

Compressed journal files retain the same name, but with a z added to the end. For example, the journal file 20210818.001, when compressed, becomes 20210818.001z. Most InterSystems IRIS functions and utilities are able to access a compressed journal file by its original name, ignoring the z.

For details about journal files, see Overview of Journaling.

Changing This Parameter

On the Journal Settings page of the Management Portal (System Administration > Configuration > System Configuration > Journal Settings), select Compress journal files to enable this setting.

Instead of using the Management Portal, you can change CompressFiles in the Config.JournalOpens in a new tab class (as described in the class reference), from the ^JOURNAL utility (as described in Update Journal Settings Using ^JRNOPTS), or by editing the CPF in a text editor (as described in Editing the Active CPF).

FeedbackOpens in a new tab