PERFORMANCE


Using document body compression
Use the advanced database property "Compress document data" to reduce the total cost of ownership of maintaining any IBM® Lotus® 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.

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:


You can upgrade all the way to the current level of ODS (which provides more benefits than ODS 48) by entering:
This property affects only NSF files; it has no effect on DB2 enabled Notes databases. For more information on Domino on-disk structure (ODS), see the related topics.

To compress new documents in a selected database

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

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

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:


To compress new documents in a set of selected databases

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.

1. Open the Domino® Administrator Client.

2. Select one or more databases in the files pane.

3. In the tools pane on the right, 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

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:


To decompress documents in all existing databases on a server

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


Related topics