Moving view indexes out of databases
You can move view indexes out of Notes databases on a server into separate view index files (.NDX files).
Before you begin
To use this feature, databases must be at ODS version 51 or higher. For information about ODS and controlling ODS version, see Domino on-disk structure (ODS).
The configuration fields in the Server document described here were introduced in Domino 12.0.2. To use these fields, the Domino server being configured must be Domino 12.0.2 or higher and use a V12.0.2 or higher pubnames.ntf design.
About this task
- A smaller database file size, to avoid reaching the database size limit.
- Faster database backup and restore.
Procedure
- Enable transactional logging in the Server document in the Domino directory.
-
In the Server document, click the NIFNSF tab and complete the following
fields:
Note: Prior to Domino 12.0.2, you used notes.ini settings to configure this feature, as noted in the following table. A Domino 12.0.2 or later server honors these settings. If you switch to using the Server document fields to configure the feature, those fields take precedence going forward.
Field Description Store view indexes in NIFNSF Select Enabled to enable separate view indexes. The corresponding notes.ini setting used prior to V12.0.2 was NIFNSFEnable=1.
NIFNSF base path (Optional) Specify where to store the .NDX files. If not specified, the files are stored in the Domino data directory. Specify an explicit path or path relative to the data directory. If you specify a location on a different computer, map the location to the local computer. The corresponding notes.ini setting used prior to V12.0.2 was NIFBasePath=<path>.
Enable NIFNSF when creating new databases (Optional) To enable separate view indexes for all databases created on the server in the future, select Yes. The default is No. The corresponding notes.ini setting used prior to V12.0.2 was CREATE_NIFNSF_DATABASES=1.
- Restart the server.
What to do next
show dir -nifnsf
show dir -nifnsfonly
load compact -c -nifnsf on <database>.nsf
To disable separate view indexes on an database that currently uses them, run the following compact command on the server:
load compact -c -nifnsf off <database>.nsf