Overview

DominoDefrag is an open-source solution comprising of a R14.5 C API HCL Domino 64bit server task (DominoDefrag.exe) and an HCL Domino server XPages mail-in database called the DominoDefrag Administrator (DominoDefragAdmin.nsf). The task uses "contig64.exe" (latest 1.83 at time of writing) to defrag Domino databases on all 64bit Windows server versions (tested Windows 2016 thru to Windows 2025 on both hard disk and solid-state drives) on any Domino 64bit server. It will also defrag view and full-text indexes associated with a Notes database and the Domino server’s transaction log and DAOS files. The output is recorded to CSV files and sent to the DominoDefrag Administrator for processing attached to a summary email.

DominoDefrag has the added functionality of being able to compact a database prior to defragging (e.g. -REPLICA) and supports multi-processing (can load multiple times to run concurrently) and use of an indirect file (.ind) to have the same compact batch functionality. Also, within a Domino cluster it can create replica stubs on other cluster mate servers.

Performance checks can also be tested using generated document collections to determine the before and after defrag millisecond read performance of databases and their associated full-text indexes.

DominoDefrag has changed to use the in-built Windows “defrag.exe” for Domino volume(s) free space consolidation and file placement optimization (from using “jkdefragcmd.exe”).

Usage and Copyright Disclaimer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please read more about the details of the GNU Affero General Public License @ https://www.gnu.org/licenses/ .

Copyright © 24 February 2026

Andrew Luder (andrewluder@gmail.com/ https://www.linkedin.com/in/andrewluder )