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 the “Journaling” chapter in Data Integrity Guide.

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.Journal 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 the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).

Feedback