Dear All,
We have a horrible Names.nsf in our domino server. It’s not possible but I find that its file size is 219,965 MB. I believe this impacts the domino performance. I tried to copy a new one to replace it. but it doesnot work. How can I do? Does somebody have any solution or hints? Thanks in advance.
Edwin
Subject: Horrible names.nsf in Domino server
You say 219,965 mb. Do you mean 219mbs? Or do you truly mean 219gbs?
Assuming you mean 219mbs, you can check the log.nsf Database Sizes view and see how much of this space is view indexes and how much is data. For Names.nsf, it’s usually mostly views, with $Users being the biggest. Making a new copy/replica will eliminate those view indexes, but they’ll have to be rebuilt, so I’m not sure exactly where your savings would come from in the longer term.
regards,
raphael
Subject: Horrible names.nsf in Domino server
The problem with names.nsf is that the server always has the file open. To replace the file, you will need to stop your Domino server. Two suggestions are:
-
Create a new replica of your names.nsf outside your server’s data directory. If this is significantly smaller than your server replica then yes, you may have a problem with this file. Stop your server then use the OS to replace names.nsf in the data directory with the new replica.
-
For a Windows server, with the server down, you can open a DOS window on the server, navigate to the data directory and run ncompact.exe. See the admin help for flags you can use when compacting. I’m not sure what the equivelants are for other OS.
Remember - back up before making changes to critical files !
Subject: Horrible names.nsf in Domino server
Mmmmm, I realized I should be a bit more helpful 
If you have lots of groups which should not be used for mail (ACL only), then make sure that they’re marked this way. That’ll reduce some view index sizes.
Likewise, if you have groups which are not being used, then remove them. I’ve written code before which analyzes groups and determines those which have no members existing in the N&A Book. That is, their members have all been removed from the N&A Book. It’s a convenient way to find dead groups.
regards,
raphael