Using document body compression

Use the advanced database property Compress document data to reduce the total cost of ownership of maintaining any Notes® database by compressing non-summary item data in all documents in a selected database. Document compression can provide up to a sixty percent size saving.

To compress new documents in a selected database

About this task

You can enable compression for all new documents yet to be created in an existing database.

Procedure

  1. Open the database and select File > Application > Properties.
  2. Click the Advanced tab. (The icon on this tab is a beanie.)
  3. Click Compress document data.

To compress existing documents in a selected database

About this task

After enabling compression for new documents, you can also enable compression for existing documents in a specified database by running a copy-style compact on the database. Enter this command:

load compact -c filename.nsf

To compress new documents in a set of selected databases

About this task

You can enable compression for all new documents yet to be created in a set of existing databases.

Note: The Advanced Database Properties are available only to those administrators listed in the Administrators field on the Security tab of the Server document.

Procedure

  1. Open the Domino® Administrator Client.
  2. Select one or more databases in the files pane.
  3. In the tools pane, select Database > Advanced Properties. Or drag selected databases to the Advanced Properties tool.
  4. Click Compress document data.
  5. Close the Advanced Properties tool.

To compress documents in all existing databases on a server

About this task

Enabling compression at the server level ensures that new document data compresses in all databases. You can add the copy-style compact command to compress existing document data

At the server console, run the following command:

load compact -v -c

To decompress documents in all existing databases on a server

About this task

At the server console, run the following command to decompress new and existing document data:

load compact -V -c