Defragmenting the internal database for improved performance
As IBM Traveler installations become larger and run for extended periods of time, the internal database will grow in size. This can affect system performance. You can defragment the database to compact and optimize its performance.
The defragmentation feature can only be run at startup using the steps outlined below. As of IBM
Traveler 8.5.2.2 and later releases, the defrag command will run automatically as
part of database migration resulting from a server upgrade. Run the defrag command
approximately once a month for optimal system health.
What is the IBM Traveler internal database?
data\traveler\ntsdb directory. You can check the size of the folder
and monitor changes as one way to determine how often to run the defrag command.
ntsdb folder on the system. Deleting the
state information forces all users to resync their data, and you will lose all security information
(such as devices that have been denied access or wiped and any documents that have been banned from
syncing). Performing defragmentation
- Shutdown the IBM Traveler and the Domino® HTTP tasks on
the server.
tell traveler quit tell http quit - Ensure both the HTTP and Traveler processes are completely stopped.
- Start IBM Traveler using the
defragparameterload traveler -defrag - The
defragcommand runs as the server starts. The server normally starts once thedefragoperation completes.Note: The defragmentation operation may take more than 30 minutes to complete depending on database size and system capabilities. - If the Domino® HTTP task is not started automatically by
IBM Traveler, then start it manually using the following command.
load http
Running defragmentation on a scheduled basis (9.0.1.8 and later)
- Use the tell command
DBMaint set intervalin order to set the interval to a number greater than 0. For example, to set an interval of 30 days, enter into the console:tell traveler dbmaint set interval 30 - Use the tell command
DBMaint set auto onto turn on automatic defragmentation. - To force a defragmentation, enter the command
tell traveler dbmaint run. This setsNTS_DEFRAG_ONCEto1and the Derby database will be defragmented the next time the IBM Traveler server restarts.
Running defragmentation on a scheduled basis (8.5.3.1 to 9.0.1.7)
- Add
NTS_DEFRAG_INTERVAL_DAYSto thenotes.inifile. For example, to set an interval of 30 days add:NTS_DEFRAG_INTERVAL_DAYS=30 - Restart the IBM Traveler server. From that point on, if the IBM Traveler server is restarted and
it has been 30 days since the last defragmentation, then the
defragoperation will run. - To force a defragmentation, simply delete the parameter
NTS_LAST_DEFRAGfrom thenotes.inifile and restart the server. IfNTS_DEFRAG_INTERVAL_DAYSis set and there is no last defragmentation timestamp, then the server will perform a defragmentation and reset theNTS_LAST_DEFRAGtimestamp. For details on how to schedule a defragmentation of the database on versions earlier than 8.5.3.1, see IBM® Traveler Database Defragmentation for Improved Performance .