Please note: The following is from the release notes of Notes 8.5.2 so I don’t take credit for writing this. Lotus Notes 8.5.2 is in beta and there are no guarantees that the features described here will be in the final product that IBM ships.
In the latest code drop of Notes 8.5.2, using either the Notes Client, Domino Administrator Client, or Domino Designer Client, a customer can force the client to perform ODS upgrades of all local databases. For most non-essential databases, the ODS upgrade will take place in a background process and while a database is upgraded, the end user will not be able to use the database. For essential databases that are in use at the point that an upgrade is attempted, the ODS upgrade will be done at the next first time open which will typically occur at client restart.
Configuration Options – Required
The following new NOTES.INI setting performs the upgrade:
With this set, the client will do a one time pass to upgrade local databases using the compact task.
Configuration Options – Optional
In addition, the specific ODS level that is desired should be set (if none set, ODS51 will be forced):
To create ODS 51 databases: Create_R85_Databases=1 To create ODS 48 databases: Create_R8_Databases=1
For databases compacted in the background, there will not be any user visible indication that the database compacts are in progress. If a user attempts to use a database while the compact is in progress, they will see the error:
"Database is being Compacted; Compact must finish before use"
For databases that are in use at the time the compact is attempted (names.nsf, cache.ndk, log.nsf, and possibly user mail files), the compact will occur at the next client restart. When the database is compacted at restart, progress will be shown in the splash screen or in the status bar, depending on when the database is opened.
For each database that is compacted, a “Compacting…” and “Compacted….” will appear in the log.
11/12/2009 03:01:49 PM Compacting dummy.nsf (dummy), -r -C 11/12/2009 03:01:52 PM Compacted dummy.nsf, 0K bytes recovered (0%)
For each database that is at the desired ODS (or later), only “Compacting…” will appear in the log
11/12/2009 03:01:49 PM Compacting dummy.nsf (dummy), -r -C
At the end of the upgrade, the following will appear in the log:
10 databases had an older NSF ODS version. 8 of those databases were successfully upgraded to a later NSF ODS.
Book keeping Options
After the upgrade is attempted for all local databases, this will be set to the ODS level that was requested. Deleting this setting will cause the code to attempt to perform upgrades. If upgrades are not necessary, the database will be skipped. If the client is shut down before all databases are completed and processed, then this is not set, and the next retry will attempt compacts on databases that are not at the desired ODS.
Clarifications/Not in scope
If there is an error during the compact, the database ODS will not be changed. There will not be any retry logic. If there is not enough space, which can be one of the errors, then the database ODS will not be changed. If a database takes a while to compact then the user does not have access to that Db during the compact. For always in use databases, their compact will be done on the next client restart, and will block user usage.
Only Windows and Linux are supported. Macintosh support will be available in a later code drop.