Secrets of the Administration Guild #5: Easy Update for the Domino Directory Cache
Domino relies heavily on its directory for many of its services. The consequence of being directory-centric is that name changes, group changes, mail address changes, etc. can be held up until an internal cache is updated. This delay has left administrators to running "dbcache flush," "drop all," "load updall names.nsf –R" and such to attempt an update on the NameLookup cache. Sometime, a server restart is required to make things move quickly. Well, Daniel Nashed (http://www.nashcom.de/nshweb/pages/home.htm) has uncovered a command that I have never heard of: nlcache.
Typing in "show nlcache" will report the current state of the cache. Here’s an example of one of my servers:
NLCache version 2
CacheLookups: 57,700
CacheHits: 52,300
CacheMisses: 1,877
CacheNoHitHits: 3,523
CacheResets 0
Maximum Cache Size: 16,777,216
CacheSize: 109,448 299 entries in Data Hash Table
HashSize: 1,948,838 29 entries in View Hash Table
CacheHitRate: 96 %
Now, I can also enter "show nlcache reset" and the cache is cleared for updating.
This is a great trick, and probably means life-and-death for administrators who are using the new Primary/Configuration directory structure in ND6.
Thanks, Daniel.
- 

