TUNING


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.

About this task

Note: To use this feature, the NSF must be ODS 48 or later. To upgrade a database to ODS 48, enter the following setting in your NOTES.INI file and use copy-style compacting on the database:

Create_R8_Databases=1

You can upgrade all the way to the current level of ODS (which provides more benefits than ODS 48) by entering:

Create_R85_Databases=1

For more information on Domino® on-disk structure (ODS), see the related topics.

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

Related tasks
Using database design compression
Domino On-Disk Structure