There are several ways to compress the various pieces within the NSF database files. To make full use of these features, you should always upgrade to the newest database file format after the server or client code was successfully updated. Up to 7.0, this was done automatically when the first copy-style compact command was issued (Load Compact -c). Starting with 8.0+ the database file format has to be specified in the notes.ini file (client and server):
- for 8.0: Create_R8_Databases=1
- for 8.5: Create_R85_Databases=1
After this notes.ini parameter is set, you can issue the following command to compress all database on the server or client:
Load Compact -c -ZU -n -v
- "-c" creates a new replica (copy stype compaction). This is necessary to upgrade the database to a new on-disk-structure (ODS) format.
- "-ZU" enables the LZ1 compression for attachments (available since 6.5, see note below)
- "-n" enables the compression of design elements (available since 8.0)
- "-v" enables the compression of the data part within the documents (available since 8.0.1)
Notes:
- These NSF compaction options are also fully available on Notes clients. To use the compact command, you need to navigate to the Notes code directory. The Compact command can then be issued on Windows with "NCompact -c -ZU -n -v".
- There is a problem with the LZ1 compression affecting compressed Java applet code. For further information see the blog entry from Daniel Nashed at
http://blog.nashcom.de/nashcomblog.nsf/dx/design-compression-issue.htm - The new DAOS (Domino Attachment Object Service) feature in the 8.5 code is available only on the Domino server and gives an additional space savings for duplicate attachments on a server.













